[PATCH] D130812: [BOLT][DWARF] Fix handling of multiple DW_OP_addrx in an expression

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 18:15:32 PDT 2022


ayermolo created this revision.
Herald added subscribers: hoy, modimo, wenlei.
Herald added a reviewer: rafauler.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a project: All.
ayermolo requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, yota9, sstefan1.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130812

Files:
  bolt/lib/Rewrite/DWARFRewriter.cpp
  bolt/test/X86/dwarf5-multiple-dw-op-addrx-locexpr.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130812.448754.patch
Type: text/x-patch
Size: 25027 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220730/42322859/attachment.bin>


More information about the llvm-commits mailing list