diff options
| author | Joerg Sonnenberger <joerg@bec.de> | 2014-11-25 13:37:55 +0000 |
|---|---|---|
| committer | Joerg Sonnenberger <joerg@bec.de> | 2014-11-25 13:37:55 +0000 |
| commit | cf0ea262b1aa1b01088f1f1cbb85b74d61322ff0 (patch) | |
| tree | a9909eb50c7f2699408b56e17e968c5483bb3daa /llvm/test/MC/ELF/cfi-undefined.s | |
| parent | b6e36e14212a50c03c0af11f9596031ced48308e (diff) | |
| download | bcm5719-llvm-cf0ea262b1aa1b01088f1f1cbb85b74d61322ff0.tar.gz bcm5719-llvm-cf0ea262b1aa1b01088f1f1cbb85b74d61322ff0.zip | |
Reapply 222538 and update tests to explicitly request small code model
and PIC:
Allow FDE references outside the +/-2GB range supported by PC relative
offsets for code models other than small/medium. For JIT application,
memory layout is less controlled and can result in truncations
otherwise.
Patch from Akos Kiss.
Differential Revision: http://reviews.llvm.org/D6079
llvm-svn: 222760
Diffstat (limited to 'llvm/test/MC/ELF/cfi-undefined.s')
| -rw-r--r-- | llvm/test/MC/ELF/cfi-undefined.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/MC/ELF/cfi-undefined.s b/llvm/test/MC/ELF/cfi-undefined.s index 568b3159cc4..09000c9627c 100644 --- a/llvm/test/MC/ELF/cfi-undefined.s +++ b/llvm/test/MC/ELF/cfi-undefined.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 |

