[libc] Use real objects and archives in integration tests.
authorSiva Chandra Reddy <sivachandra@google.com>
Thu, 24 Mar 2022 06:58:46 +0000 (06:58 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Thu, 24 Mar 2022 07:02:33 +0000 (07:02 +0000)
commit107ce71849bccb8749a9ff369f22641f092be432
treee6f49cc930862350afe547e4bf35bf3df65af506
parentb257dba58e1ff20611421a777c11c58bc8b8b008
[libc] Use real objects and archives in integration tests.

Previously, we used empty, non-ELF crti.o, crtn.o, libm.a and libc++.a
files. Instead, we now still use dummies but they are real ELF object
files and archives.
libc/cmake/modules/LLVMLibCTestRules.cmake
libc/loader/linux/CMakeLists.txt
libc/loader/linux/crti.cpp [new file with mode: 0644]
libc/loader/linux/crtn.cpp [new file with mode: 0644]
libc/test/CMakeLists.txt
libc/test/integration/CMakeLists.txt
libc/test/integration/dummy.cpp [new file with mode: 0644]