[llvm] a9b21ec - [gn build] tweak how symbol_exports map files look on linux, for 94c00c10e
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 22:52:06 PDT 2022
Author: Nico Weber
Date: 2022-07-26T01:52:00-04:00
New Revision: a9b21ec484678ee4d3945f68dcd7812037adc926
URL: https://github.com/llvm/llvm-project/commit/a9b21ec484678ee4d3945f68dcd7812037adc926
DIFF: https://github.com/llvm/llvm-project/commit/a9b21ec484678ee4d3945f68dcd7812037adc926.diff
LOG: [gn build] tweak how symbol_exports map files look on linux, for 94c00c10e
After bc39d7bdd497 (ported to GN in 94c00c10e), libclang uses symbol_exports,
and clang/test/LibClang/symbols.test wants the versioned name to be `LLVM_[0-9]$`
instead of `FOO`.
Added:
Modified:
llvm/utils/gn/build/symbol_exports.py
Removed:
################################################################################
diff --git a/llvm/utils/gn/build/symbol_exports.py b/llvm/utils/gn/build/symbol_exports.py
index a76eed8b4202a..5126e7071e70d 100755
--- a/llvm/utils/gn/build/symbol_exports.py
+++ b/llvm/utils/gn/build/symbol_exports.py
@@ -25,7 +25,7 @@ def main():
symbols = open(args.source).readlines()
if args.format == 'linux':
- output_lines = (['FOO {\n',
+ output_lines = (['LLVM_0 {\n',
' global:\n',] +
[' %s;\n' % s.rstrip() for s in symbols] +
[' local:\n',
More information about the llvm-commits
mailing list