We were not handling correclty multiple DW_OP_addrx in the location expression.
This was exposed by clang-15 build in release mode with debug information.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D130812  
[BOLT][DWARF] Fix handling of multiple DW_OP_addrx in an expression ClosedPublic Authored by ayermolo on Jul 29 2022, 6:15 PM. 
Details Summary We were not handling correclty multiple DW_OP_addrx in the location expression. 
Diff Detail 
 Event Timeline
 This revision is now accepted and ready to land.Jul 29 2022, 8:30 PM Closed by commit rGdd29b3c54201: [BOLT][DWARF] Fix handling of multiple DW_OP_addrx in an expression (authored by ayermolo).  ·  Explain WhyAug 1 2022, 2:42 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 449132 bolt/lib/Rewrite/DWARFRewriter.cpp
 bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||