mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-31 07:23:06 +08:00
When --split codegen keeps the module whole, the extra outputs are new empty modules, and their source file name defaulted to the module identifier: the path of the private copy of the LLVM input, which has a random name. That name reached each part's STT_FILE symbol, so two release builds of one program differed in .strtab. The empty parts now take the module's source file name, as the first part has it.