Reapply 222538 and update tests to explicitly request small code model
[oota-llvm.git] / test / MC / ELF / cfi-zero-addr-delta.s
index 8662839b5274a48567793a83154302eed1a395a7..61118ecec36785c1399a79b9836989b66bd28c6b 100644 (file)
@@ -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
 
 // Test that we don't produce a DW_CFA_advance_loc 0