Don't treat .symver as a regular alias definition.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 9 Mar 2018 03:13:37 +0000 (03:13 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 9 Mar 2018 03:13:37 +0000 (03:13 +0000)
commit81e911cd868252e2e788ae1b82fb1ac5b56fd1f6
treef471360406e00741228d00692ec79f5e32777525
parent5a91fc6f743659ad30f8f5c42aef8d1056e5e3d5
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
llvm/include/llvm/MC/MCELFStreamer.h
llvm/lib/MC/MCAsmStreamer.cpp
llvm/lib/MC/MCELFStreamer.cpp
llvm/lib/MC/MCParser/ELFAsmParser.cpp
llvm/lib/Object/RecordStreamer.cpp
llvm/test/MC/ARM/comment.s