Commit 51a3bc1
authored
[ThinLTO]Clean up 'import-assume-unique-local' flag. (llvm#102424)
While manual compiles can specify full file paths and build automation
tools use full, unique paths in practice, it's not clear whether it's a
general good practice to enforce full paths (fail a build if relative
paths are used).
`NumDefs == 1` condition [1] should hold true for many internal-linkage
vtables as long as full paths are indeed used to salvage the marginal
performance when local-linkage vtables are imported due to indirect
reference.
llvm#100448 (comment)
has more details.
[1]
https://github.com/llvm/llvm-project/pull/100448/files#diff-e7cb370fee46f0f773f2b5429dfab36b75126d3909ae98ee87ff3d0e3f75c6e9R2151 parent 93a31cd commit 51a3bc1
File tree
2 files changed
+2
-15
lines changed- compiler-rt/test/profile/Linux
- llvm/lib/Transforms/IPO
2 files changed
+2
-15
lines changedLines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 177 | | |
189 | 178 | | |
190 | 179 | | |
| |||
214 | 203 | | |
215 | 204 | | |
216 | 205 | | |
217 | | - | |
218 | | - | |
219 | | - | |
| 206 | + | |
| 207 | + | |
220 | 208 | | |
221 | 209 | | |
222 | 210 | | |
| |||
0 commit comments