[compiler-rt] r285478 - build: give aliases the same visibility
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 28 16:37:51 PDT 2016
Author: compnerd
Date: Fri Oct 28 18:37:50 2016
New Revision: 285478
URL: http://llvm.org/viewvc/llvm-project?rev=285478&view=rev
Log:
build: give aliases the same visibility
ARM EABI also uses function aliases. Ensure that those aliased functions are
given proper visibility annotations.
Modified:
compiler-rt/trunk/lib/builtins/assembly.h
Modified: compiler-rt/trunk/lib/builtins/assembly.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/assembly.h?rev=285478&r1=285477&r2=285478&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/assembly.h (original)
+++ compiler-rt/trunk/lib/builtins/assembly.h Fri Oct 28 18:37:50 2016
@@ -149,6 +149,7 @@
#define DEFINE_COMPILERRT_FUNCTION_ALIAS(name, target) \
.globl SYMBOL_NAME(name) SEPARATOR \
SYMBOL_IS_FUNC(SYMBOL_NAME(name)) SEPARATOR \
+ DECLARE_SYMBOL_VISIBILITY(SYMBOL_NAME(name)) SEPARATOR \
.set SYMBOL_NAME(name), SYMBOL_NAME(target) SEPARATOR
#if defined(__ARM_EABI__)
More information about the llvm-commits
mailing list