Skip to content

Commit 55b063f

Browse files
jhuber6tru
authored andcommitted
[libc] Fix leftover debug commandline argument
Summary: Fixes #100289 (cherry picked from commit 0420d2f)
1 parent 002fcbd commit 55b063f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

libc/cmake/modules/LLVMLibCTestRules.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,6 @@ function(add_libc_hermetic test_name)
651651
target_link_options(${fq_build_target_name} PRIVATE
652652
${LIBC_COMPILE_OPTIONS_DEFAULT} -Wno-multi-gpu
653653
-mcpu=${LIBC_GPU_TARGET_ARCHITECTURE} -flto
654-
"-Wl,-asdfasdfasdf"
655654
"-Wl,-mllvm,-amdgpu-lower-global-ctor-dtor=0" -nostdlib -static
656655
"-Wl,-mllvm,-amdhsa-code-object-version=${LIBC_GPU_CODE_OBJECT_VERSION}")
657656
elseif(LIBC_TARGET_ARCHITECTURE_IS_NVPTX)

libc/docs/configure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ to learn about the defaults for your platform and target.
2929
- ``LIBC_CONF_ENABLE_STRONG_STACK_PROTECTOR``: Enable -fstack-protector-strong to defend against stack smashing attack.
3030
- ``LIBC_CONF_KEEP_FRAME_POINTER``: Keep frame pointer in functions for better debugging experience.
3131
* **"errno" options**
32-
- ``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.
32+
- ``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.
3333
* **"malloc" options**
3434
- ``LIBC_CONF_FREELIST_MALLOC_BUFFER_SIZE``: Default size for the constinit freelist buffer used for the freelist malloc implementation (default 1o 1GB).
3535
* **"math" options**

0 commit comments

Comments
 (0)