[llvm] r375299 - gn build: Build compiler-rt code with -fvisibility=hidden.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 15:52:17 PDT 2019


Author: pcc
Date: Fri Oct 18 15:52:17 2019
New Revision: 375299

URL: http://llvm.org/viewvc/llvm-project?rev=375299&view=rev
Log:
gn build: Build compiler-rt code with -fvisibility=hidden.

This matches the CMake build.

Differential Revision: https://reviews.llvm.org/D69202

Modified:
    llvm/trunk/utils/gn/build/BUILD.gn

Modified: llvm/trunk/utils/gn/build/BUILD.gn
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/build/BUILD.gn?rev=375299&r1=375298&r2=375299&view=diff
==============================================================================
--- llvm/trunk/utils/gn/build/BUILD.gn (original)
+++ llvm/trunk/utils/gn/build/BUILD.gn Fri Oct 18 15:52:17 2019
@@ -221,6 +221,7 @@ config("crt_code") {
     "-fPIC",
     "-funwind-tables",
     "-gline-tables-only",
+    "-fvisibility=hidden",
   ]
 }
 




More information about the llvm-commits mailing list