mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
Use the existing N_STAB from the MachO namespace.
llvm-svn: 203152
This commit is contained in:
parent
3211c6f4d3
commit
e038798d55
@ -134,10 +134,6 @@ static const EnumEntry<unsigned> MachOSymbolTypes[] = {
|
||||
};
|
||||
|
||||
namespace {
|
||||
enum {
|
||||
N_STAB = 0xE0
|
||||
};
|
||||
|
||||
struct MachOSection {
|
||||
ArrayRef<char> Name;
|
||||
ArrayRef<char> SegmentName;
|
||||
@ -396,7 +392,7 @@ void MachODumper::printSymbol(symbol_iterator SymI) {
|
||||
|
||||
DictScope D(W, "Symbol");
|
||||
W.printNumber("Name", SymbolName, Symbol.StringIndex);
|
||||
if (Symbol.Type & N_STAB) {
|
||||
if (Symbol.Type & MachO::N_STAB) {
|
||||
W.printHex ("Type", "SymDebugTable", Symbol.Type);
|
||||
} else {
|
||||
W.printEnum("Type", Symbol.Type, makeArrayRef(MachOSymbolTypes));
|
||||
|
Loading…
Reference in New Issue
Block a user