File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
llvm/utils/gn/secondary/llvm/tools/llvm-objcopy Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ import("//llvm/tools/binutils_symlinks.gni")
2
2
import (" //llvm/utils/TableGen/tablegen.gni" )
3
3
import (" //llvm/utils/gn/build/symlink_or_copy.gni" )
4
4
5
+ tablegen (" InstallNameToolOpts" ) {
6
+ visibility = [ " :llvm-objcopy" ]
7
+ args = [ " -gen-opt-parser-defs" ]
8
+ }
9
+
5
10
tablegen (" ObjcopyOpts" ) {
6
11
visibility = [ " :llvm-objcopy" ]
7
12
args = [ " -gen-opt-parser-defs" ]
@@ -12,7 +17,10 @@ tablegen("StripOpts") {
12
17
args = [ " -gen-opt-parser-defs" ]
13
18
}
14
19
15
- symlinks = [ " llvm-strip" ]
20
+ symlinks = [
21
+ " llvm-install-name-tool" ,
22
+ " llvm-strip" ,
23
+ ]
16
24
if (llvm_install_binutils_symlinks ) {
17
25
symlinks += [
18
26
" objcopy" ,
@@ -39,6 +47,7 @@ group("symlinks") {
39
47
40
48
executable (" llvm-objcopy" ) {
41
49
deps = [
50
+ " :InstallNameToolOpts" ,
42
51
" :ObjcopyOpts" ,
43
52
" :StripOpts" ,
44
53
" //llvm/lib/MC" ,
You can’t perform that action at this time.
0 commit comments