diff options
author | Pete Cooper <peter_cooper@apple.com> | 2015-06-08 17:17:09 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2015-06-08 17:17:09 +0000 |
commit | a3ab3841c0cce9c4747fae96ef25e5695fc1f856 (patch) | |
tree | 9d43f92785e894089e3e896e08db1279a9c4a92a /llvm/lib/MC/MCContext.cpp | |
parent | 37ff6c4207494dcc0475750d16b3fbd7b890403f (diff) | |
download | bcm5719-llvm-a3ab3841c0cce9c4747fae96ef25e5695fc1f856.tar.gz bcm5719-llvm-a3ab3841c0cce9c4747fae96ef25e5695fc1f856.zip |
Change MCSymbol IsELF to an enum to support future MCSymbolCOFF and MCSymbolMachO.
Reviewed by Rafael EspĂndola.
llvm-svn: 239311
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r-- | llvm/lib/MC/MCContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp index 79f9bdae463..b44cbc0f85b 100644 --- a/llvm/lib/MC/MCContext.cpp +++ b/llvm/lib/MC/MCContext.cpp @@ -162,7 +162,7 @@ MCSymbol *MCContext::createSymbolImpl(const StringMapEntry<bool> *Name, bool IsELF = MOFI && MOFI->getObjectFileType() == MCObjectFileInfo::IsELF; if (IsELF) return new (*this) MCSymbolELF(Name, IsTemporary); - return new (*this) MCSymbol(false, Name, IsTemporary); + return new (*this) MCSymbol(MCSymbol::SymbolKindUnset, Name, IsTemporary); } MCSymbol *MCContext::createSymbol(StringRef Name, bool AlwaysAddSuffix, |