This matches the behavior of GNU assembler which supports symbolic
expressions in absolute expressions used in assembly directives.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
This should test failure I introduced in D8072, if someone can review the change, I'd be happy to land this to unbreak the tree.
The original change was reverted because of the test failure, so I've updated this revision to include both the original change and the updated test which is now passing.
This is strange, I did run all the test several times on my machine (Ubuntu x86-64) and all tests passed, but after landing the change, I got several failures on different platforms such as OS X . The source of the failure is unclear to me as the expression emitted for .fill 1, 1, 10 is .fill 1, 1, 0x0 instead of .fill 1, 1, 0xa. I'm not sure if it's related to the platform, but I'll get an OS X machine and try to replicate the failure.
I should have also mentioned that I've reverted the change myself to avoid further build breakages, sorry about all the issues related to this change.