[libc-commits] [libc] [libc] Allow hermetic tests to use external startup objects (PR #212557)

Simi Pallipurath via libc-commits libc-commits at lists.llvm.org
Thu Sep 24 02:38:42 PDT 2026


simpal01 wrote:

>>I’m not sure what form an upstream LLVM test for this should take or where it should be added. Upstream LLVM does not currently provide an external startup object configuration, so there is no natural upstream test environment for this case.

One of the team members suggested building the library with the startup code excluded, then adding a conditional lit test that uses>llvm-nm to verify that startup-code symbols are absent from the resulting library. The test would run only when startup code is  excluded. Let me try it


https://github.com/llvm/llvm-project/pull/212557


More information about the libc-commits mailing list