mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Remove the MCSymbolData typedef.
The getData member function is next. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238611 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -214,7 +214,7 @@ bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *Symbol,
|
||||
// important side effect of calling registerSymbol here is to register
|
||||
// the symbol with the assembler.
|
||||
getAssembler().registerSymbol(*Symbol);
|
||||
MCSymbolData &SD = Symbol->getData();
|
||||
MCSymbol &SD = Symbol->getData();
|
||||
|
||||
// The implementation of symbol attributes is designed to match 'as', but it
|
||||
// leaves much to desired. It doesn't really make sense to arbitrarily add and
|
||||
@@ -314,7 +314,7 @@ bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *Symbol,
|
||||
void MCELFStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
|
||||
unsigned ByteAlignment) {
|
||||
getAssembler().registerSymbol(*Symbol);
|
||||
MCSymbolData &SD = Symbol->getData();
|
||||
MCSymbol &SD = Symbol->getData();
|
||||
|
||||
if (!BindingExplicitlySet.count(Symbol)) {
|
||||
MCELF::SetBinding(*Symbol, ELF::STB_GLOBAL);
|
||||
@@ -346,7 +346,7 @@ void MCELFStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size,
|
||||
unsigned ByteAlignment) {
|
||||
// FIXME: Should this be caught and done earlier?
|
||||
getAssembler().registerSymbol(*Symbol);
|
||||
MCSymbolData &SD = Symbol->getData();
|
||||
MCSymbol &SD = Symbol->getData();
|
||||
MCELF::SetBinding(*Symbol, ELF::STB_LOCAL);
|
||||
SD.setExternal(false);
|
||||
BindingExplicitlySet.insert(Symbol);
|
||||
|
||||
Reference in New Issue
Block a user