When input is DWP with DWARF5 bolt wasn't handling correctly CUs that didn't
have TU references. Which resulted in a crash.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D148589  
[BOLT][DWARF] Fix handling of CUs without TU reference ClosedPublic Authored by ayermolo on Apr 17 2023, 5:21 PM. 
Details Summary When input is DWP with DWARF5 bolt wasn't handling correctly CUs that didn't 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Apr 17 2023, 5:43 PM ayermolo retitled this revision from [BOLT][DWARF] Fix handling of CUs without TU reference Summary: to [BOLT][DWARF] Fix handling of CUs without TU reference.Apr 17 2023, 5:47 PM Closed by commit rG125df67421cf: [BOLT][DWARF] Fix handling of CUs without TU reference (authored by ayermolo).  ·  Explain WhyApr 17 2023, 5:56 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 514485 bolt/lib/Rewrite/DWARFRewriter.cpp
 bolt/test/X86/Inputs/dwarf5-ftypes-split-dwarf-helper.s
 
 bolt/test/X86/dwarf5-ftypes-dwp-input-dwo-output.test
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||