Reapply 222538 and update tests to explicitly request small code model
[oota-llvm.git] / test / MC / ELF / cfi-offset.s
index a65b4fc783c7166a6832907fe28e0bf2f2d80c31..02f31ba3ca1481aa40603dfd4f4c4b0d1928816a 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
 
 f:
        .cfi_startproc