1 ; RUN: llc < %s -relocation-model=pic -filetype=obj -code-model=medium -large-data-threshold=0 -o %t
2 ; RUN: llvm-readelf -S %t | FileCheck %s --check-prefix=LARGE
3 ; RUN: llc < %s -relocation-model=pic -filetype=obj -code-model=medium -large-data-threshold=99 -o %t
4 ; RUN: llvm-readelf -S %t | FileCheck %s --check-prefix=SMALL
6 ; LARGE: .lrodata.str4.4 {{.*}} AMSl
7 ; LARGE: .lrodata.cst8 {{.*}} AMl
9 ; SMALL: .rodata.str4.4 {{.*}} AMS
10 ; SMALL: .rodata.cst8 {{.*}} AM
12 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
13 target triple = "x86_64--linux"
15 @str = internal unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 0]
16 @merge = internal unnamed_addr constant i64 2