Commit d98753c
committed
[dsymutil] Remove paper trail warnings
Remove the paper trail warning from dsymutil and the DWARF linker. The
original purpose of this functionality was to leave a paper trail in the
output artifact about missing object files. The current implementation
however has diverged and is the source of a pretty serious bug:
- In the debug map parser, missing object files are not the only
warnings we emit. When paper trail warnings are enabled, all of them
end up in the dSYM which wasn't the goal.
- When warnings are associated with a object file in the debug map, it
is skipped by the DWARF linker. This only makes sense if the object
file is missing and is obviously incorrect for any other type of
warning (such as a missing symbol).
The combination of the two means that we can generate broken DWARF when
the feature is enabled. AFAIK it was only used by Apple and nobody I
spoke to has relied on it, so rather than fixing the broken behavior I
propose we remove it.1 parent 8f355fd commit d98753c
File tree
4 files changed
+7
-60
lines changed- llvm
- test/tools/dsymutil/X86
- tools/dsymutil
4 files changed
+7
-60
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | | - | |
34 | | - | |
| 32 | + | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | | - | |
53 | 50 | | |
54 | 51 | | |
55 | 52 | | |
| |||
136 | 133 | | |
137 | 134 | | |
138 | 135 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 136 | | |
147 | 137 | | |
148 | 138 | | |
| |||
702 | 692 | | |
703 | 693 | | |
704 | 694 | | |
705 | | - | |
706 | | - | |
| 695 | + | |
707 | 696 | | |
708 | 697 | | |
709 | 698 | | |
710 | | - | |
711 | | - | |
| 699 | + | |
712 | 700 | | |
713 | 701 | | |
714 | 702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
| |||
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | 195 | | |
202 | 196 | | |
203 | 197 | | |
| |||
281 | 275 | | |
282 | 276 | | |
283 | 277 | | |
284 | | - | |
285 | 278 | | |
286 | 279 | | |
287 | 280 | | |
| |||
360 | 353 | | |
361 | 354 | | |
362 | 355 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | 356 | | |
367 | 357 | | |
368 | 358 | | |
| |||
625 | 615 | | |
626 | 616 | | |
627 | 617 | | |
628 | | - | |
629 | | - | |
| 618 | + | |
| 619 | + | |
630 | 620 | | |
631 | 621 | | |
632 | 622 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
0 commit comments