diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 12:49:39 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 12:49:39 +0000 |
commit | 84fe440ded1bfc237d720c49408b36798d67ceff (patch) | |
tree | a278cc819b2eb04662ab4aece30821cc6c89764c /test | |
parent | dd58ef019b700900793a1eb48b52123db01b654e (diff) |
Diffstat (limited to 'test')
-rw-r--r-- | test/DebugInfo/Inputs/dwarfdump-macro-cmd.h | 2 | ||||
-rw-r--r-- | test/DebugInfo/Inputs/dwarfdump-macro.cc | 22 | ||||
-rw-r--r-- | test/DebugInfo/Inputs/dwarfdump-macro.h | 10 | ||||
-rw-r--r-- | test/MC/Hexagon/test.s | 6 | ||||
-rw-r--r-- | test/MC/X86/X86_64-pku.s | 14 |
5 files changed, 27 insertions, 27 deletions
diff --git a/test/DebugInfo/Inputs/dwarfdump-macro-cmd.h b/test/DebugInfo/Inputs/dwarfdump-macro-cmd.h index 66e6b00a2bbf8..1209f66d5fe1b 100644 --- a/test/DebugInfo/Inputs/dwarfdump-macro-cmd.h +++ b/test/DebugInfo/Inputs/dwarfdump-macro-cmd.h @@ -1 +1 @@ -#define M4 Value4 +#define M4 Value4
diff --git a/test/DebugInfo/Inputs/dwarfdump-macro.cc b/test/DebugInfo/Inputs/dwarfdump-macro.cc index 5abcb255c6c73..42b2c6ab54ac9 100644 --- a/test/DebugInfo/Inputs/dwarfdump-macro.cc +++ b/test/DebugInfo/Inputs/dwarfdump-macro.cc @@ -1,11 +1,11 @@ -#define M1 Value1 -#include "dwarfdump-macro.h" -#define M2(x, y) ((x)+(y)* Value2) - -// Built with GCC -// $ mkdir -p /tmp/dbginfo -// $ cp dwarfdump-macro.cc /tmp/dbginfo -// $ cp dwarfdump-macro.h /tmp/dbginfo -// $ cp dwarfdump-macro-cmd.h /tmp/dbginfo -// $ cd /tmp/dbginfo -// $ g++ -c -g3 -O0 -DM3=Value3 -include dwarfdump-macro-cmd.h dwarfdump-macro.cc -o <output> +#define M1 Value1
+#include "dwarfdump-macro.h"
+#define M2(x, y) ((x)+(y)* Value2)
+
+// Built with GCC
+// $ mkdir -p /tmp/dbginfo
+// $ cp dwarfdump-macro.cc /tmp/dbginfo
+// $ cp dwarfdump-macro.h /tmp/dbginfo
+// $ cp dwarfdump-macro-cmd.h /tmp/dbginfo
+// $ cd /tmp/dbginfo
+// $ g++ -c -g3 -O0 -DM3=Value3 -include dwarfdump-macro-cmd.h dwarfdump-macro.cc -o <output>
diff --git a/test/DebugInfo/Inputs/dwarfdump-macro.h b/test/DebugInfo/Inputs/dwarfdump-macro.h index 98f0206cb43f1..75b35f0e4c22c 100644 --- a/test/DebugInfo/Inputs/dwarfdump-macro.h +++ b/test/DebugInfo/Inputs/dwarfdump-macro.h @@ -1,5 +1,5 @@ - - - -#undef M1 -#define M1 NewValue1 +
+
+
+#undef M1
+#define M1 NewValue1
diff --git a/test/MC/Hexagon/test.s b/test/MC/Hexagon/test.s index 73b6d0a96c71a..e60578e65930b 100644 --- a/test/MC/Hexagon/test.s +++ b/test/MC/Hexagon/test.s @@ -1,4 +1,4 @@ -#RUN: llvm-mc -filetype=obj -triple=hexagon -mcpu=hexagonv60 %s - -{ vmem (r0 + #0) = v0 +#RUN: llvm-mc -filetype=obj -triple=hexagon -mcpu=hexagonv60 %s
+
+{ vmem (r0 + #0) = v0
r0 = memw(r0) }
\ No newline at end of file diff --git a/test/MC/X86/X86_64-pku.s b/test/MC/X86/X86_64-pku.s index 8f8b227fa0c27..5cb669d5d8fca 100644 --- a/test/MC/X86/X86_64-pku.s +++ b/test/MC/X86/X86_64-pku.s @@ -1,8 +1,8 @@ -// RUN: llvm-mc -triple x86_64-unknown-unknown -mattr=+pku --show-encoding < %s | FileCheck %s -// CHECK: rdpkru -// CHECK: encoding: [0x0f,0x01,0xee] - rdpkru - -// CHECK: wrpkru -// CHECK: encoding: [0x0f,0x01,0xef] +// RUN: llvm-mc -triple x86_64-unknown-unknown -mattr=+pku --show-encoding < %s | FileCheck %s
+// CHECK: rdpkru
+// CHECK: encoding: [0x0f,0x01,0xee]
+ rdpkru
+
+// CHECK: wrpkru
+// CHECK: encoding: [0x0f,0x01,0xef]
wrpkru
\ No newline at end of file |