diff options
author | Tim Northover <t.p.northover@gmail.com> | 2024-08-15 19:19:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 11:19:30 -0700 |
commit | 52337d5f9d108f04b2ed06069b21a255c232dc1f (patch) | |
tree | a09f78a9cb8c698b963b2155abb3cf443daee93d /lldb/source/Breakpoint/BreakpointResolverFileLine.cpp | |
parent | 7493ea22f8027dc163ca521a71150d264891853c (diff) | |
download | llvm-52337d5f9d108f04b2ed06069b21a255c232dc1f.zip llvm-52337d5f9d108f04b2ed06069b21a255c232dc1f.tar.gz llvm-52337d5f9d108f04b2ed06069b21a255c232dc1f.tar.bz2 |
llvm-objdump: ensure a MachO symbol isn't STAB before looking up secion (#86667)
The section field has been repurposed for some STAB symbol types, and if
we blindly look it up we'll produce an error and terminate. Logic
already existed
Existing stabs test had a section that was in range. Unfortunately I
don't know of an easy way to produce stabs entries in LLVM (I thought
they died in the 90s until this came up) so I just binary-edited it to
cause a failure on existing llvm-objdump.
Diffstat (limited to 'lldb/source/Breakpoint/BreakpointResolverFileLine.cpp')
0 files changed, 0 insertions, 0 deletions