[BOLT][DWARF] Fix writing out dwo with DWP as input
Summary: The code for writing out dwo files wasn't handling case where DWP is an input. Because all the sections are part of the same binary. One note with current implementation. .debug-str.dwo will have strings for all the dwo objects. This is because llvm-dwp de-duplicates strings and combines them in to one section. It then re-writes .debug-str-offsets.dwo to point to new .debug-str.dwo section. (cherry picked from FBD29244835)
parent
3e5ce1f2
Please register or sign in to comment