summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/assembly.h
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-10-28 23:37:50 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-10-28 23:37:50 +0000
commit2678d023ca5b02dbecd65a88520366523e1ae6de (patch)
treebdc367d572756a1de10e526eede00f423f42d187 /compiler-rt/lib/builtins/assembly.h
parent2594717436fc36954a94602791fe4b309cd98dc7 (diff)
downloadbcm5719-llvm-2678d023ca5b02dbecd65a88520366523e1ae6de.tar.gz
bcm5719-llvm-2678d023ca5b02dbecd65a88520366523e1ae6de.zip
build: give aliases the same visibility
ARM EABI also uses function aliases. Ensure that those aliased functions are given proper visibility annotations. llvm-svn: 285478
Diffstat (limited to 'compiler-rt/lib/builtins/assembly.h')
-rw-r--r--compiler-rt/lib/builtins/assembly.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/assembly.h b/compiler-rt/lib/builtins/assembly.h
index 5fc74f68f60..5e36b5a5edf 100644
--- a/compiler-rt/lib/builtins/assembly.h
+++ b/compiler-rt/lib/builtins/assembly.h
@@ -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__)
OpenPOWER on IntegriCloud