repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[GenericDomTree][NFC] Remove unnecessary `const_cast`s (#97638)
[llvm-project.git]
/
clang
/
tools
/
libclang
/
linker-script-to-export-list.py
blob
9c7b6a98a34b5568f18d015b3dfb429b9a03c870
1
import
re
2
import
os
3
import
sys
4
5
input_file
=
open
(
sys
.
argv
[
1
])
6
output_file
=
open
(
sys
.
argv
[
2
],
"w"
)
7
8
for
line
in
input_file
:
9
m
=
re
.
search
(
r
"^\s+(clang_[^;]+)"
,
line
)
10
if
m
:
11
output_file
.
write
(
m
.
group
(
1
) +
"
\n
"
)