brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1015 B · 3e300da Raw
24 lines · c
1// REQUIRES: x86-registered-target2 3// RUN: %clang_cc1 -triple x86_64-elf -S %s -o - | FileCheck %s -check-prefix CHECK-ELF-DATA-SECTION4 5typedef struct __CFString *CFStringRef;6const CFStringRef one = (CFStringRef)__builtin___CFStringMakeConstantString("one");7const CFStringRef two = (CFStringRef)__builtin___CFStringMakeConstantString("\xef\xbf\xbd\x74\xef\xbf\xbd\x77\xef\xbf\xbd\x6f");8 9// CHECK-ELF-DATA-SECTION: .type .L.str,@object10// CHECK-ELF-DATA-SECTION: .section .rodata,"aMS",@progbits,1,unique,111// CHECK-ELF-DATA-SECTION: .L.str:12// CHECK-ELF-DATA-SECTION: .asciz "one"13 14// CHECK-ELF-DATA-SECTION: .type .L.str.1,@object15// CHECK-ELF-DATA-SECTION: .section .rodata,"aMS",@progbits,2,unique,216// CHECK-ELF-DATA-SECTION: .L.str.1:17// CHECK-ELF-DATA-SECTION: .short 6553318// CHECK-ELF-DATA-SECTION: .short 11619// CHECK-ELF-DATA-SECTION: .short 6553320// CHECK-ELF-DATA-SECTION: .short 11921// CHECK-ELF-DATA-SECTION: .short 6553322// CHECK-ELF-DATA-SECTION: .short 11123// CHECK-ELF-DATA-SECTION: .short 024