llvm.org GIT mirror llvm / 7ed86b0
Use the existing N_STAB from the MachO namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203152 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 5 years ago
1 changed file(s) with 1 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
133133 };
134134
135135 namespace {
136 enum {
137 N_STAB = 0xE0
138 };
139
140136 struct MachOSection {
141137 ArrayRef Name;
142138 ArrayRef SegmentName;
395391
396392 DictScope D(W, "Symbol");
397393 W.printNumber("Name", SymbolName, Symbol.StringIndex);
398 if (Symbol.Type & N_STAB) {
394 if (Symbol.Type & MachO::N_STAB) {
399395 W.printHex ("Type", "SymDebugTable", Symbol.Type);
400396 } else {
401397 W.printEnum("Type", Symbol.Type, makeArrayRef(MachOSymbolTypes));