Progress: Monday Tuesday at Euro LLVM, trip report at https://collaborate.linaro.org/display/CR/20180416+EuroLLVM+2018
Found an example that shows that both gold and ld attempt to fix up illegal "by strict interpretation of ELF" local debug references to discarded local symbols from rejected comdat groups.
[TCWG-1375] LLVM should do relaxation per function. - Worked out what instruction bundling is (From NaCl) and how it relates to MCFragments. - Posted revised patch upstream to handle relaxation and fixups, now diagnoses attempt to change MCSubtargetInfo mid bundle. - I have a finished a large series of patches to pass the MCSubtargetInfo through to all the places it needs to be including writeNops. Will post upstream review next week.
Next week: - Post revised patches to TCWG-1375 and ping reviews. - Work through a laundry list of small things to do in LLD. - Get back to trying to link Android AOSP with LLD.