Commit 955dd5a
committed
[Linux] Add build-id support.
Add a `-build-id` option to the driver to let users control the build
ID setting used by the linker. Pass `--build-id` to the linker by default,
so that build IDs are enabled by default but using the linker's default
type; if someone wishes to specify a particular option, they can do so
using the new driver option.
Also turn on build IDs when *building* the driver.
rdar://1167983091 parent b0300a8 commit 955dd5a
File tree
3 files changed
+23
-0
lines changed- Sources
- SwiftDriver/Jobs
- SwiftOptions
3 files changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
109 | 122 | | |
110 | 123 | | |
111 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
921 | 923 | | |
922 | 924 | | |
923 | 925 | | |
| 926 | + | |
| 927 | + | |
924 | 928 | | |
925 | 929 | | |
926 | 930 | | |
| |||
0 commit comments