mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-29 06:30:30 +00:00
STABS symbols are debug symbols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142673 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d992f5c2c
commit
a48aab924d
@ -294,8 +294,10 @@ error_code MachOObjectFile::getSymbolType(DataRefImpl Symb,
|
||||
Res = SymbolRef::ST_Other;
|
||||
|
||||
// If this is a STAB debugging symbol, we can do nothing more.
|
||||
if (n_type & MachO::NlistMaskStab)
|
||||
if (n_type & MachO::NlistMaskStab) {
|
||||
Res = SymbolRef::ST_Debug;
|
||||
return object_error::success;
|
||||
}
|
||||
|
||||
switch (n_type & MachO::NlistMaskType) {
|
||||
case MachO::NListTypeUndefined :
|
||||
|
Loading…
Reference in New Issue
Block a user