diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-09 03:13:37 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-09 03:13:37 +0000 |
| commit | 81e911cd868252e2e788ae1b82fb1ac5b56fd1f6 (patch) | |
| tree | f471360406e00741228d00692ec79f5e32777525 /llvm/test | |
| parent | 5a91fc6f743659ad30f8f5c42aef8d1056e5e3d5 (diff) | |
| download | bcm5719-llvm-81e911cd868252e2e788ae1b82fb1ac5b56fd1f6.tar.gz bcm5719-llvm-81e911cd868252e2e788ae1b82fb1ac5b56fd1f6.zip | |
Don't treat .symver as a regular alias definition.
This patch starts simplifying the handling of .symver.
For now it just moves the responsibility for creating an alias down to
the streamer. With that the asm streamer can pass a .symver unchanged,
which is nice since gas cannot parse "foo@bar = zed".
In a followup I hope to move the handling down to the writer so that
we don't need special hacks for avoiding breaking names with @@@ on
windows.
llvm-svn: 327101
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/ARM/comment.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/MC/ARM/comment.s b/llvm/test/MC/ARM/comment.s index c24bc1aaa40..7187683a85b 100644 --- a/llvm/test/MC/ARM/comment.s +++ b/llvm/test/MC/ARM/comment.s @@ -34,9 +34,9 @@ far: @CHECK-NOT: @ @CHECK-LABEL: bar: -@CHECK: bar1@zed = defined1 -@CHECK: bar3@@zed = defined2 -@CHECK: bar5@@@zed = defined3 +@CHECK: .symver defined1, bar1@zed +@CHECK: .symver defined2, bar3@@zed +@CHECK: .symver defined3, bar5@@@zed @ Make sure we did not mess up the parser state and it still lexes @ comments correctly by excluding the @ in normal symbols |

