Don't export assembly functions when function visibility annotations are disabled
Patch by Peiyuan Song! Differential Revision: https://reviews.llvm.org/D55537 llvm-svn: 348832
This commit is contained in:
parent
4ba13bd394
commit
a64aa485e1
|
@ -76,7 +76,11 @@
|
|||
.section .drectve,"yn" SEPARATOR \
|
||||
.ascii "-export:", #name, "\0" SEPARATOR \
|
||||
.text
|
||||
#if defined(_LIBUNWIND_DISABLE_VISIBILITY_ANNOTATIONS)
|
||||
#define EXPORT_SYMBOL(name)
|
||||
#else
|
||||
#define EXPORT_SYMBOL(name) EXPORT_SYMBOL2(name)
|
||||
#endif
|
||||
#define HIDDEN_SYMBOL(name)
|
||||
|
||||
#define NO_EXEC_STACK_DIRECTIVE
|
||||
|
|
Loading…
Reference in New Issue