[PATCH] D31524: Add a linker script to version LLVM symbols
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 11:58:53 PDT 2017
rnk added inline comments.
================
Comment at: cmake/modules/AddLLVM.cmake:85
add_custom_command(OUTPUT ${native_export_file}
- COMMAND echo "{" > ${native_export_file}
+ COMMAND echo "LLVM_${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR} {" > ${native_export_file}
COMMAND grep -q "[[:alnum:]]" ${export_file} && echo " global:" >> ${native_export_file} || :
----------------
Is this correct for DSOs that aren't libLLVM.so.N.M? This function is called from LLDB and elsewhere.
Repository:
rL LLVM
https://reviews.llvm.org/D31524
More information about the llvm-commits
mailing list