summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/ELF/cfi-restore.s
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/MC/ELF/cfi-restore.s')
-rw-r--r--llvm/test/MC/ELF/cfi-restore.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/MC/ELF/cfi-restore.s b/llvm/test/MC/ELF/cfi-restore.s
index e225797f54d..99a74e73e43 100644
--- a/llvm/test/MC/ELF/cfi-restore.s
+++ b/llvm/test/MC/ELF/cfi-restore.s
@@ -1,4 +1,6 @@
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -sr -sd | FileCheck %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - \
+// RUN: -relocation-model=pic -code-model=small \
+// RUN: | llvm-readobj -s -sr -sd | FileCheck %s
f:
.cfi_startproc
OpenPOWER on IntegriCloud