builtins: ensure that VISIBILITY_HIDDEN is defined properly
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 28 Oct 2016 23:19:03 +0000 (23:19 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 28 Oct 2016 23:19:03 +0000 (23:19 +0000)
commit2594717436fc36954a94602791fe4b309cd98dc7
tree48ceb53926fbccce3995aa44492dbae8313d5460
parent4e9c1e3a793b6120ac6a0f8075ea26d0762c5888
builtins: ensure that VISIBILITY_HIDDEN is defined properly

The CMake build system had missed this macro as part of the build of the
builtins.  This would result in the builtins exporting symbols which are
implemented in assembly with global visibility.  Ensure that the assembly
optimized routines are given the same visibility as the C routines.

llvm-svn: 285477
compiler-rt/lib/builtins/CMakeLists.txt