================ @@ -0,0 +1,49 @@ +/// Simple test that DTLTO works with a single input file and generates the +/// expected set of files with --save-temps applied to the linker. +/// +/// Note that we also supply --save-temps to the compiler for predictable +/// bitcode file names. + +// RUN: rm -rf %t && mkdir %t && cd %t + +// RUN: %clang -target x86_64-linux-gnu %s -shared -flto=thin \ +// RUN: -fthinlto-distributor=%python \ +// RUN: -Xdist %llvm_src_root/utils/dtlto/local.py \ +// RUN: --save-temps \ +// RUN: -fuse-ld=lld \ +// RUN: -nostdlib \ ---------------- bd1976bris wrote:
Removed `-nostartfiles`. Thanks - I have been making this mistake for years :) https://github.com/llvm/llvm-project/pull/126654 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits