forked from OSchip/llvm-project
parent
2d4cdacd26
commit
5170b54013
|
@ -81,9 +81,9 @@ bool MCWasmStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
|
||||||
|
|
||||||
auto *Symbol = cast<MCSymbolWasm>(S);
|
auto *Symbol = cast<MCSymbolWasm>(S);
|
||||||
|
|
||||||
// Adding a symbol attribute always introduces the symbol, note that an
|
// Adding a symbol attribute always introduces the symbol; note that an
|
||||||
// important side effect of calling registerSymbol here is to register
|
// important side effect of calling registerSymbol here is to register the
|
||||||
// the symbol with the assembler.
|
// symbol with the assembler.
|
||||||
getAssembler().registerSymbol(*Symbol);
|
getAssembler().registerSymbol(*Symbol);
|
||||||
|
|
||||||
switch (Attribute) {
|
switch (Attribute) {
|
||||||
|
|
Loading…
Reference in New Issue