☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
tools
/
libclang
/
linker-script-to-export-list.py
☽
☼
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(r"^\s+(clang_[^;]+)", line)
10
if m:
11
output_file.write(m.group(1) + "\n")