[libc-commits] [libc] 70f44ec - [libc][NFC] Accept doc fix (#143996)

via libc-commits libc-commits at lists.llvm.org
Thu Jun 12 16:49:28 PDT 2025


Author: Michael Jones
Date: 2025-06-12T16:49:25-07:00
New Revision: 70f44ec6feba56b076cf65e02b8876f185efdab9

URL: https://github.com/llvm/llvm-project/commit/70f44ec6feba56b076cf65e02b8876f185efdab9
DIFF: https://github.com/llvm/llvm-project/commit/70f44ec6feba56b076cf65e02b8876f185efdab9.diff

LOG: [libc][NFC] Accept doc fix (#143996)

Docgen updates the docs when the config options are changed. This update
has been waiting since https://github.com/llvm/llvm-project/pull/143187.

Added: 
    

Modified: 
    libc/docs/configure.rst

Removed: 
    


################################################################################
diff  --git a/libc/docs/configure.rst b/libc/docs/configure.rst
index 8d53390ae19bf..109412225634f 100644
--- a/libc/docs/configure.rst
+++ b/libc/docs/configure.rst
@@ -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_DEFAULT, 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, LIBC_ERRNO_MODE_SYSTEM, and LIBC_ERRNO_MODE_SYSTEM_INLINE.
 * **"general" options**
     - ``LIBC_ADD_NULL_CHECKS``: Add nullptr checks in the library's implementations to some functions for which passing nullptr is undefined behavior.
 * **"math" options**


        


More information about the libc-commits mailing list