mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 17:46:41 +00:00
[libc] Fix leftover debug commandline argument
Summary: Fixes https://github.com/llvm/llvm-project/issues/100289 (cherry picked from commit 0420d2f97eac49af5e816b0e3f2a9135d1673168)
This commit is contained in:
parent
002fcbd82c
commit
55b063f3f5
@ -651,7 +651,6 @@ function(add_libc_hermetic test_name)
|
||||
target_link_options(${fq_build_target_name} PRIVATE
|
||||
${LIBC_COMPILE_OPTIONS_DEFAULT} -Wno-multi-gpu
|
||||
-mcpu=${LIBC_GPU_TARGET_ARCHITECTURE} -flto
|
||||
"-Wl,-asdfasdfasdf"
|
||||
"-Wl,-mllvm,-amdgpu-lower-global-ctor-dtor=0" -nostdlib -static
|
||||
"-Wl,-mllvm,-amdhsa-code-object-version=${LIBC_GPU_CODE_OBJECT_VERSION}")
|
||||
elseif(LIBC_TARGET_ARCHITECTURE_IS_NVPTX)
|
||||
|
@ -29,7 +29,7 @@ to learn about the defaults for your platform and target.
|
||||
- ``LIBC_CONF_ENABLE_STRONG_STACK_PROTECTOR``: Enable -fstack-protector-strong to defend against stack smashing attack.
|
||||
- ``LIBC_CONF_KEEP_FRAME_POINTER``: Keep frame pointer in functions for better debugging experience.
|
||||
* **"errno" options**
|
||||
- ``LIBC_CONF_ERRNO_MODE``: The implementation used for errno, acceptable values are LIBC_ERRNO_MODE_UNDEFINED, LIBC_ERRNO_MODE_THREAD_LOCAL, LIBC_ERRNO_MODE_SHARED, LIBC_ERRNO_MODE_EXTERNAL, and LIBC_ERRNO_MODE_SYSTEM.
|
||||
- ``LIBC_CONF_ERRNO_MODE``: The implementation used for errno, acceptable values are LIBC_ERRNO_MODE_DEFAULT, LIBC_ERRNO_MODE_UNDEFINED, LIBC_ERRNO_MODE_THREAD_LOCAL, LIBC_ERRNO_MODE_SHARED, LIBC_ERRNO_MODE_EXTERNAL, and LIBC_ERRNO_MODE_SYSTEM.
|
||||
* **"malloc" options**
|
||||
- ``LIBC_CONF_FREELIST_MALLOC_BUFFER_SIZE``: Default size for the constinit freelist buffer used for the freelist malloc implementation (default 1o 1GB).
|
||||
* **"math" options**
|
||||
|
Loading…
x
Reference in New Issue
Block a user