[CMake] Add Python script to generate version script symbol exports
authorAndrew Ng <andrew.ng@sony.com>
Mon, 26 Sep 2022 14:10:13 +0000 (15:10 +0100)
committerAndrew Ng <andrew.ng@sony.com>
Tue, 18 Oct 2022 12:47:43 +0000 (13:47 +0100)
commit1e297663142028db81de6f8941185cd934f8507b
tree4ec03df5132d75f7a13d7c5e03f46ffcab20ca2f
parent9572406bbcb497f8c23c28daa762b55ee3219f41
[CMake] Add Python script to generate version script symbol exports

Using a Python script instead of the various shell commands means that
it is now possible to cross compile LLVM for Linux on Windows.

Differential Revision: https://reviews.llvm.org/D136092
llvm/cmake/modules/AddLLVM.cmake
llvm/utils/add_llvm_symbol_exports.py [new file with mode: 0644]