projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a2f5dc
)
[gn build] tweak how symbol_exports map files look on linux, for 94c00c10e
author
Nico Weber
<thakis@chromium.org>
Tue, 26 Jul 2022 05:50:48 +0000
(
01:50
-0400)
committer
Nico Weber
<thakis@chromium.org>
Tue, 26 Jul 2022 05:52:00 +0000
(
01:52
-0400)
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`.
llvm/utils/gn/build/symbol_exports.py
patch
|
blob
|
history
diff --git
a/llvm/utils/gn/build/symbol_exports.py
b/llvm/utils/gn/build/symbol_exports.py
index
a76eed8
..
5126e70
100755
(executable)
--- 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',