forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for the ARM_THREAD_STATE64 and
in llvm-objdump for Mach-O files add the printing of the ARM_THREAD_STATE64 in the same format as otool-classic(1) on darwin. To do this the 64-bit ARM general tread state needed to be defined in include/llvm/Support/MachO.h . rdar://28985800 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285967 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
Showing
5 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
RUN: llvm-objdump -macho -private-headers %p/Inputs/thread.macho-aarch64 | FileCheck %s | ||
|
||
CHECK: Load command 0 | ||
CHECK: cmd LC_THREAD | ||
CHECK: cmdsize 288 | ||
CHECK: flavor ARM_THREAD_STATE64 | ||
CHECK: count ARM_THREAD_STATE64_COUNT | ||
CHECK: x0 0x0000000000000000 x1 0x0000000000000000 x2 0x0000000000000000 | ||
CHECK: x3 0x0000000000000000 x4 0x0000000000000000 x5 0x0000000000000000 | ||
CHECK: x6 0x0000000000000000 x7 0x0000000000000000 x8 0x0000000000000000 | ||
CHECK: x9 0x0000000000000000 x10 0x0000000000000000 x11 0x0000000000000000 | ||
CHECK: x12 0x0000000000000000 x13 0x0000000000000000 x14 0x0000000000000000 | ||
CHECK: x15 0x0000000000000000 x16 0x0000000000000000 x17 0x0000000000000000 | ||
CHECK: x18 0x0000000000000000 x19 0x0000000000000000 x20 0x0000000000000000 | ||
CHECK: x21 0x0000000000000000 x22 0x0000000000000000 x23 0x0000000000000000 | ||
CHECK: x24 0x0000000000000000 x25 0x0000000000000000 x26 0x0000000000000000 | ||
CHECK: x27 0x0000000000000000 x28 0x0000000000000000 fp 0x0000000000000000 | ||
CHECK: lr 0x0000000000000000 sp 0x0000000000000000 pc 0x0000000000000000 | ||
CHECK: cpsr 0x00000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters