summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC')
-rw-r--r--llvm/test/MC/AArch64/ldr-pseudo-obj-errors.s2
-rw-r--r--llvm/test/MC/ELF/dwo-restrict-relocs.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/AArch64/ldr-pseudo-obj-errors.s b/llvm/test/MC/AArch64/ldr-pseudo-obj-errors.s
index d851917b714..b486abe27e3 100644
--- a/llvm/test/MC/AArch64/ldr-pseudo-obj-errors.s
+++ b/llvm/test/MC/AArch64/ldr-pseudo-obj-errors.s
@@ -1,4 +1,4 @@
-//RUN: not llvm-mc -triple=aarch64-linux -filetype=obj %s -o %t1 2> %t2
+//RUN: not llvm-mc -triple=aarch64-linux -filetype=obj %s -o /dev/null 2> %t2
//RUN: cat %t2 | FileCheck %s
//These tests look for errors that should be reported for invalid object layout
diff --git a/llvm/test/MC/ELF/dwo-restrict-relocs.s b/llvm/test/MC/ELF/dwo-restrict-relocs.s
index b624d40aad7..1bc15101b23 100644
--- a/llvm/test/MC/ELF/dwo-restrict-relocs.s
+++ b/llvm/test/MC/ELF/dwo-restrict-relocs.s
@@ -1,4 +1,4 @@
-// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t1 -split-dwarf-file %t2 2>&1 | FileCheck %s
+// RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o /dev/null -split-dwarf-file %t2 2>&1 | FileCheck %s
// CHECK: error: A relocation may not refer to a dwo section
.quad .foo.dwo
OpenPOWER on IntegriCloud