aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorFelipe de Azevedo Piovezan <fpiovezan@apple.com>2023-07-06 11:12:27 -0400
committerFelipe de Azevedo Piovezan <fpiovezan@apple.com>2023-07-06 17:15:06 -0400
commit032de3ee0d3575557f999925fb2d78b9423f3f50 (patch)
tree24af94f61340bd0288ee953022f717adde68a4ef /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent2c3bb6a5902791dd7a32bf1639255ea0c0366d43 (diff)
downloadllvm-032de3ee0d3575557f999925fb2d78b9423f3f50.zip
llvm-032de3ee0d3575557f999925fb2d78b9423f3f50.tar.gz
llvm-032de3ee0d3575557f999925fb2d78b9423f3f50.tar.bz2
[lldb][DebugNamesDWARF] Also use mangled name when matching regex
When LLDB queries the debug names index with a regex, we should use the `Mangled` class wrapper, which attempts to match regex first against the mangled name and then against the demangled name. It is important to do so, otherwise queries like `frame var --regex A::` would never work. This is what is done for the Apple index as well. This fixes test/API/lang/cpp/class_static/main.cpp when compiled with DWARF 5. Differential Revision: https://reviews.llvm.org/D154617
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions