[libc-commits] [libc] [libc] Support configurable errno modes (PR #98287)
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Thu Jul 11 10:59:56 PDT 2024
================
@@ -28,6 +28,13 @@ to learn about the defaults for your platform and target.
* **"codegen" options**
- ``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:
----------------
michaelrj-google wrote:
this file gets auto-generated, so the docs here need to be also in the json file
https://github.com/llvm/llvm-project/pull/98287
More information about the libc-commits
mailing list