summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Register/Inputs/x86-gp-read.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-10-09 17:35:43 +0000
committerAdrian Prantl <aprantl@apple.com>2019-10-09 17:35:43 +0000
commit0115c10328281567391855766fef8fbe57a1d4cc (patch)
treef5c3232c37e50caaf5a2043e22fcebccee668bdd /lldb/test/Shell/Register/Inputs/x86-gp-read.cpp
parent44e988ab14cb387eddfeacd1493792a6aa6aee81 (diff)
downloadbcm5719-llvm-0115c10328281567391855766fef8fbe57a1d4cc.tar.gz
bcm5719-llvm-0115c10328281567391855766fef8fbe57a1d4cc.zip
Revert [test] Split LLDB tests into API, Shell & Unit
as it appears to have broken check-lldb. This reverts r374184 (git commit 22314179f0660c172514b397060fd8f34b586e82) llvm-svn: 374187
Diffstat (limited to 'lldb/test/Shell/Register/Inputs/x86-gp-read.cpp')
-rw-r--r--lldb/test/Shell/Register/Inputs/x86-gp-read.cpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/lldb/test/Shell/Register/Inputs/x86-gp-read.cpp b/lldb/test/Shell/Register/Inputs/x86-gp-read.cpp
deleted file mode 100644
index 4fb725d3906..00000000000
--- a/lldb/test/Shell/Register/Inputs/x86-gp-read.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-#include <cstdint>
-
-int main() {
- constexpr uint32_t eax = 0x05060708;
- constexpr uint32_t ebx = 0x15161718;
- constexpr uint32_t ecx = 0x25262728;
- constexpr uint32_t edx = 0x35363738;
- constexpr uint32_t esp = 0x45464748;
- constexpr uint32_t ebp = 0x55565758;
- constexpr uint32_t esi = 0x65666768;
- constexpr uint32_t edi = 0x75767778;
-
- asm volatile(
- // save esp & ebp
- "movd %%esp, %%mm0\n\t"
- "movd %%ebp, %%mm1\n\t"
- "\n\t"
- "movl %4, %%esp\n\t"
- "movl %5, %%ebp\n\t"
- "\n\t"
- "int3\n\t"
- "\n\t"
- // restore esp & ebp
- "movd %%mm0, %%esp\n\t"
- "movd %%mm1, %%ebp\n\t"
- :
- : "a"(eax), "b"(ebx), "c"(ecx), "d"(edx), "i"(esp), "i"(ebp), "S"(esi),
- "D"(edi)
- : "%mm0", "%mm1"
- );
-
- return 0;
-}
OpenPOWER on IntegriCloud