[PATCH] D69202: gn build: Build compiler-rt code with -fvisibility=hidden.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 18 15:18:40 PDT 2019
pcc created this revision.
pcc added reviewers: thakis, eugenis.
Herald added a subscriber: dberris.
Herald added a project: LLVM.
This matches the CMake build.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D69202
Files:
llvm/utils/gn/build/BUILD.gn
Index: llvm/utils/gn/build/BUILD.gn
===================================================================
--- llvm/utils/gn/build/BUILD.gn
+++ llvm/utils/gn/build/BUILD.gn
@@ -221,6 +221,7 @@
"-fPIC",
"-funwind-tables",
"-gline-tables-only",
+ "-fvisibility=hidden",
]
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69202.225703.patch
Type: text/x-patch
Size: 293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191018/4babc5b3/attachment.bin>
More information about the llvm-commits
mailing list