[libc-commits] [libc] [libc] DRAFT: Add Generic and NVPTX Sin Benchmark (PR #99795)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Jul 27 19:18:28 PDT 2024


================
@@ -230,7 +230,7 @@ endfunction()
 function(_get_hermetic_test_compile_options output_var flags)
   _get_compile_options_from_flags(compile_flags ${flags})
   list(APPEND compile_options ${LIBC_COMPILE_OPTIONS_DEFAULT} ${compile_flags}
-       ${flags} -fpie -ffreestanding -fno-exceptions -fno-rtti)
+       ${flags} -fpie -ffreestanding -fno-exceptions -fno-rtti -save-temps)
----------------
jhuber6 wrote:

Leftover debug (Also you might need to do `-Wl,--save-temps` if you're doing LTO since the backend is run inside the linker in that case and `-Wl` passes args to the linker).

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


More information about the libc-commits mailing list