1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

STABS symbols are debug symbols.

llvm-svn: 142673
This commit is contained in:
Owen Anderson 2011-10-21 19:26:54 +00:00
parent 28f3ff0d3d
commit 806a1e5c78

View File

@ -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 :