llvm.org GIT mirror llvm / release_90 test / tools / llvm-readobj / Inputs / dynamic-table.c
release_90

Tree @release_90 (Download .tar.gz)

dynamic-table.c @release_90raw · history · blame

// clang -target x86_64-linux-gnu -shared -fPIC -lc dynamic-table.c \
//       -o dynamic-table-so.x86 -Wl,-f,aux.so -Wl,-F,filter.so
// clang -target mipsel-linux-gnu -shared -fPIC -lc dynamic-table.c \
//       -o dynamic-table-so.mips
// clang -target mipsel-linux-gnu -lc dynamic-table.c \
//       -o dynamic-table-exe.mips
int puts(const char *);

__thread int foo;

int main(void) {
  puts("Hello, World");
  foo = 0;
}