☰
Debian Codegraph
@
2.40.14-1
2.38.5-1
2.28.4-4
/
/
llvm-project
/
clang
/
tools
/
libclang
/
linker-script-to-export-list.py
☽
☼
llvm-project/clang/tools/libclang/linker-script-to-export-list.py
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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('^\s+(clang_[^;]+)', line)
10
if m:
11
output_file.write(m.group(1) + "\n")