Commit d02ad93
committed
[llvm-objdump] Fix --source with --macho flag
The --source option was broken when using the --macho flag because
DisassembleMachO() only initialized debug info when UseDbg was true,
and would return early if no dSYM was found.1 parent 893b1d4 commit d02ad93
File tree
2 files changed
+37
-7
lines changed- llvm
- test/tools/llvm-objdump/MachO
- tools/llvm-objdump
2 files changed
+37
-7
lines changedLines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
16 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
7415 | 7416 | | |
7416 | 7417 | | |
7417 | 7418 | | |
7418 | | - | |
7419 | | - | |
7420 | | - | |
7421 | | - | |
7422 | | - | |
| 7419 | + | |
| 7420 | + | |
| 7421 | + | |
| 7422 | + | |
| 7423 | + | |
| 7424 | + | |
| 7425 | + | |
| 7426 | + | |
| 7427 | + | |
| 7428 | + | |
7423 | 7429 | | |
7424 | 7430 | | |
7425 | | - | |
7426 | | - | |
7427 | 7431 | | |
7428 | 7432 | | |
7429 | 7433 | | |
| 7434 | + | |
| 7435 | + | |
| 7436 | + | |
7430 | 7437 | | |
7431 | 7438 | | |
7432 | 7439 | | |
| |||
7605 | 7612 | | |
7606 | 7613 | | |
7607 | 7614 | | |
| 7615 | + | |
| 7616 | + | |
| 7617 | + | |
| 7618 | + | |
| 7619 | + | |
| 7620 | + | |
7608 | 7621 | | |
7609 | 7622 | | |
7610 | 7623 | | |
| |||
7696 | 7709 | | |
7697 | 7710 | | |
7698 | 7711 | | |
| 7712 | + | |
| 7713 | + | |
| 7714 | + | |
| 7715 | + | |
| 7716 | + | |
7699 | 7717 | | |
7700 | 7718 | | |
7701 | 7719 | | |
| |||
0 commit comments