diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2026-01-29 14:39:34 -0800 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2026-01-29 14:39:34 -0800 |
| commit | 7b3f189a1369f9348c007730ddea953b1e68acb1 (patch) | |
| tree | 7db8969ee8a34a10b6c8ae033c939c9d653376f6 /libc/config | |
| parent | f3d6dae13ae710323a2ddbaf87af71b1abcbfada (diff) | |
| parent | 0893b70ecfc4f4aca0a20a078476d191edc1e623 (diff) | |
| download | llvm-users/pcc/spr/codegen-introduce-machinefunctiongetpreferredalignment.zip llvm-users/pcc/spr/codegen-introduce-machinefunctiongetpreferredalignment.tar.gz llvm-users/pcc/spr/codegen-introduce-machinefunctiongetpreferredalignment.tar.bz2 | |
Created using spr 1.3.6-beta.1
Diffstat (limited to 'libc/config')
| -rw-r--r-- | libc/config/config.json | 4 | ||||
| -rw-r--r-- | libc/config/gpu/config.json | 8 | ||||
| -rw-r--r-- | libc/config/linux/app.h | 2 | ||||
| -rw-r--r-- | libc/config/windows/config.json | 8 |
4 files changed, 20 insertions, 2 deletions
diff --git a/libc/config/config.json b/libc/config/config.json index f981c43..296d2e5 100644 --- a/libc/config/config.json +++ b/libc/config/config.json @@ -52,6 +52,10 @@ "LIBC_CONF_PRINTF_RUNTIME_DISPATCH": { "value": true, "doc": "Use dynamic dispatch for the output mechanism to reduce code size." + }, + "LIBC_CONF_PRINTF_DISABLE_WIDE": { + "value": false, + "doc": "Disable handling wide characters for printf and friends." } }, "scanf": { diff --git a/libc/config/gpu/config.json b/libc/config/gpu/config.json index 434ee042..ef13f6a 100644 --- a/libc/config/gpu/config.json +++ b/libc/config/gpu/config.json @@ -41,5 +41,13 @@ "LIBC_CONF_MATH_OPTIMIZATIONS": { "value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_INTERMEDIATE_COMP_IN_FLOAT | LIBC_MATH_SMALL_TABLES | LIBC_MATH_NO_ERRNO | LIBC_MATH_NO_EXCEPT)" } + }, + "codegen": { + "LIBC_CONF_KEEP_FRAME_POINTER": { + "value": false + }, + "LIBC_CONF_ENABLE_STRONG_STACK_PROTECTOR": { + "value": false + } } } diff --git a/libc/config/linux/app.h b/libc/config/linux/app.h index 11ac6ee..ff4070e 100644 --- a/libc/config/linux/app.h +++ b/libc/config/linux/app.h @@ -76,8 +76,6 @@ struct TLSDescriptor { // Note that, dependending the target architecture ABI, it can be the // same as |addr| or something else. uintptr_t tp = 0; - - constexpr TLSDescriptor() = default; }; // Create and initialize the TLS area for the current thread. Should not diff --git a/libc/config/windows/config.json b/libc/config/windows/config.json new file mode 100644 index 0000000..6bb09db --- /dev/null +++ b/libc/config/windows/config.json @@ -0,0 +1,8 @@ +{ + "printf": { + "LIBC_CONF_PRINTF_DISABLE_WIDE": { + "value": "true", + "doc": "Disable handling wide characters for printf and friends." + } + } +} |
