Rafael Espindola
28b186f3cc
Improve the --expand-relocs handling of MachO.
...
In a relocation target can take 3 basic forms
* A r_value in scattered relocations.
* A symbol in external relocations.
* A section is non-external relocations.
Have the dump reflect that. With this change we go from
CHECK-NEXT: Extern: 0
CHECK-NEXT: Type: X86_64_RELOC_SUBTRACTOR (5)
CHECK-NEXT: Symbol: 0x2
CHECK-NEXT: Scattered: 0
To just
// CHECK-NEXT: Type: X86_64_RELOC_SUBTRACTOR (5)
// CHECK-NEXT: Section: __data (2)
Since the relocation is with a section, we print the seciton name and don't
need to say that it is not scattered or external.
Someone motivated can add further special cases for things like
ARM64_RELOC_ADDEND and ARM_RELOC_PAIR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240073 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-18 22:38:20 +00:00
..
2014-11-26 10:49:18 +00:00
2014-07-10 15:12:26 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-07-23 12:58:11 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-07-15 16:33:24 +00:00
2014-05-24 12:50:23 +00:00
2015-04-15 15:59:37 +00:00
2014-11-26 10:49:18 +00:00
2015-04-07 22:49:47 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2015-06-18 22:38:20 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-10-01 10:13:59 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-11-26 10:49:18 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2015-06-02 18:37:20 +00:00
2015-04-20 16:54:37 +00:00
2015-04-16 15:20:51 +00:00
2015-03-31 13:15:48 +00:00
2015-04-16 15:38:58 +00:00
2015-06-08 15:01:11 +00:00
2015-06-08 15:01:11 +00:00
2014-05-24 12:50:23 +00:00
2015-06-08 21:32:16 +00:00
2014-07-02 04:50:23 +00:00
2014-07-02 04:50:23 +00:00
2015-02-04 03:10:03 +00:00
2014-08-06 16:06:41 +00:00
2015-04-15 15:59:37 +00:00
2015-04-15 15:59:37 +00:00
2014-05-24 12:50:23 +00:00
2015-04-15 15:59:37 +00:00
2015-04-15 15:59:37 +00:00
2015-04-15 15:59:37 +00:00
2015-04-15 15:59:37 +00:00
2015-04-15 15:59:37 +00:00
2015-04-15 15:59:37 +00:00
2015-04-15 15:59:37 +00:00
2015-04-28 01:37:11 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-11-26 10:49:18 +00:00
2014-10-22 20:35:57 +00:00
2015-05-23 16:39:10 +00:00
2014-05-24 12:50:23 +00:00
2014-07-18 16:05:14 +00:00
2014-06-24 23:18:07 +00:00
2014-07-18 16:05:14 +00:00
2014-06-09 22:42:55 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:42:26 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00
2014-08-14 02:51:43 +00:00
2015-04-15 15:59:37 +00:00
2014-05-24 12:50:23 +00:00
2014-05-24 12:50:23 +00:00