From 47b4d6ba196d09900284caff7ed372b3878f28ef Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 9 Mar 2018 18:42:25 +0000 Subject: Delay creating an alias for @@@. With this we only create an alias for @@@ once we know if it should use @ or @@. This avoids last minutes renames and hacks to handle MS names. This only handles the ELF writer. LTO still has issues with @@@ aliases. llvm-svn: 327160 --- llvm/lib/Object/RecordStreamer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Object/RecordStreamer.h') diff --git a/llvm/lib/Object/RecordStreamer.h b/llvm/lib/Object/RecordStreamer.h index 4d119091a3d..e1e23f260ac 100644 --- a/llvm/lib/Object/RecordStreamer.h +++ b/llvm/lib/Object/RecordStreamer.h @@ -54,7 +54,7 @@ public: void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment) override; /// Record .symver aliases for later processing. - void emitELFSymverDirective(MCSymbol *Alias, + void emitELFSymverDirective(StringRef AliasName, const MCSymbol *Aliasee) override; /// Return the map of .symver aliasee to associated aliases. DenseMap> &symverAliases() { -- cgit v1.2.3