This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Fixed missing "global" symbol type in AsmParser.
ClosedPublic

Authored by aardappel on Oct 4 2018, 3:31 PM.

Details

Summary

These are emitted by the wasm backend for e.g.
__stack_pointer@GLOBAL which previously wasn't accepted by the
assembler.

Diff Detail

Repository
rL LLVM

Event Timeline

aardappel created this revision.Oct 4 2018, 3:31 PM

Thank you! Can we have a llvm-mc test case that shows this works?

aardappel updated this revision to Diff 168410.Oct 4 2018, 4:46 PM

Added simple test.

aardappel updated this revision to Diff 168412.Oct 4 2018, 4:47 PM

tab -> spaces

aheejin added inline comments.Oct 4 2018, 4:47 PM
test/MC/WebAssembly/basic-assembly.s
50 ↗(On Diff #168410)

Indentation looks weird here..?

50 ↗(On Diff #168410)

Oh you fixed it already

aardappel marked an inline comment as done.Oct 4 2018, 4:48 PM
aardappel added inline comments.
test/MC/WebAssembly/basic-assembly.s
50 ↗(On Diff #168410)

just fixed :)

aheejin accepted this revision.Oct 4 2018, 4:48 PM
This revision is now accepted and ready to land.Oct 4 2018, 4:48 PM
This revision was automatically updated to reflect the committed changes.