mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
4c8d94c3db
dynamic.test is a test that checks dumping of dynamic tags. It uses precompiled objects as inputs and it is completely excessive nowadays: Now we have elf-dynamic-tags-machine-specific.test and elf-dynamic-tags.test. (https://github.com/llvm-mirror/llvm/blob/master/test/tools/llvm-readobj/elf-dynamic-tags-machine-specific.test) (https://github.com/llvm-mirror/llvm/blob/master/test/tools/llvm-readobj/elf-dynamic-tags.test) First is used to check target specific tags and second tests the common flags. These tests use YAML, which is much better than using precompiled binaries. Note that new reviews tend to update the YAML based tests to add new tags, e.g. see D62596. With this patch it became possible to remove dynamic-table-so.aarch64 binary from the inputs folder. (other binaries are still used in other tests). Differential revision: https://reviews.llvm.org/D62728 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362224 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
427 B
C
15 lines
427 B
C
// 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;
|
|
}
|