projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d992f5
)
STABS symbols are debug symbols.
author
Owen Anderson
<resistor@mac.com>
Fri, 21 Oct 2011 19:26:54 +0000
(19:26 +0000)
committer
Owen Anderson
<resistor@mac.com>
Fri, 21 Oct 2011 19:26:54 +0000
(19:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142673
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Object/MachOObjectFile.cpp
patch
|
blob
|
history
diff --git
a/lib/Object/MachOObjectFile.cpp
b/lib/Object/MachOObjectFile.cpp
index 472e0727c33bfc6044952ee0ca429e5ea3a58938..7c6c232e63d800d7cdd5294f1c3d040094b3b288 100644
(file)
--- a/
lib/Object/MachOObjectFile.cpp
+++ b/
lib/Object/MachOObjectFile.cpp
@@
-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 :