diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2025-10-01 16:47:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 16:47:15 +0100 |
commit | 9f7e7f7d9c9f46cfe83481b1e79d7c8a3e11580e (patch) | |
tree | 732011eb221fb9ca8a521b716ee85ec9bea6107a /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 825d82d0515d7d40c280547f6dcbf0aba9255289 (diff) | |
download | llvm-9f7e7f7d9c9f46cfe83481b1e79d7c8a3e11580e.zip llvm-9f7e7f7d9c9f46cfe83481b1e79d7c8a3e11580e.tar.gz llvm-9f7e7f7d9c9f46cfe83481b1e79d7c8a3e11580e.tar.bz2 |
[lldb][MachO] Fix inspection of global variables that start with 'O' (#161521)
On Darwin C-symbols are prefixed with a '_'. The LLDB Macho-O parses
handles Objective-C metadata symbols starting with '_OBJC' specially.
Previously global symbols starting with a '_O' prefix were lost because
of incorrectly scoped if-guards. This patch removes those checks.
There is more cleanup that can be done in this file because there's a
bunch of duplicated checks for these ObjC symbols. I decided to leave
that for an NFC follow-up.
Depends on https://github.com/llvm/llvm-project/pull/161520
rdar://158159242
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions