[PATCH] D44283: Don't treat .symver as a regular alias definition
Rafael Avila de Espindola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 8 17:31:20 PST 2018
espindola created this revision.
espindola added reviewers: pcc, vitalybuka.
Herald added a subscriber: javed.absar.
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 at 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.
https://reviews.llvm.org/D44283
Files:
include/llvm/MC/MCELFStreamer.h
lib/MC/MCAsmStreamer.cpp
lib/MC/MCELFStreamer.cpp
lib/MC/MCParser/ELFAsmParser.cpp
lib/Object/RecordStreamer.cpp
test/MC/ARM/comment.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44283.137681.patch
Type: text/x-patch
Size: 3650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180309/ebe23395/attachment.bin>
More information about the llvm-commits
mailing list