aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorShubham Sandeep Rastogi <srastogi22@apple.com>2023-06-21 16:47:28 -0700
committerShubham Sandeep Rastogi <srastogi22@apple.com>2023-06-26 13:30:48 -0700
commit17202379ca594111602296d2308587009c5b83c8 (patch)
tree498628455678d7cd0041cc52de4036d6d26da22b /lldb/packages/Python/lldbsuite/test
parent3500d3ba1cd97df58776a79ed61e0d1946a085c2 (diff)
downloadllvm-17202379ca594111602296d2308587009c5b83c8.zip
llvm-17202379ca594111602296d2308587009c5b83c8.tar.gz
llvm-17202379ca594111602296d2308587009c5b83c8.tar.bz2
Do not emit a named symbol to denote the start of the debug_frame section
When emitting a debug_frame section, it contains a named symbol. > echo "void foo(void) {}" | clang -arch arm64 -ffreestanding -g -c -o \ /tmp/test.o -x c - > nm /tmp/test.o -s __DWARF __debug_frame 0000000000000200 s ltmp1 There are no such symbols emitted in any of the other DWARF sections, this is because when the __debug_frame section is created, it doesn't get a `BeginSymName` and so it creates a named symbol, such as `ltmp1` and emits it when we switch to the section in MCDwarf.cpp. This patch fixes the above issue. Differential Revision: https://reviews.llvm.org/D153484
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions