Files
clang-p2996/lld/test/elf/Inputs/rodata.c
Shankar Easwaran 595e056dce [ELF] Implement --rosegment
By default linker would not create a separate segment to hold read only data.

This option overrides that behavior by creating the a separate read only segment
for read only data.

llvm-svn: 217358
2014-09-08 04:05:52 +00:00

5 lines
66 B
C

const unsigned char *str = "llvm";
int foo() {
return str[0];
}