zephyr/lib/os
Peter Bigot c1b0cf8ec6 lib: cbprintf: work around LLVM code generation bug
LLVM building for qemu_x86 appears to have an optimization bug where a
union that is assigned to hold values read from va_args() is inferred
to be a constant value, so is placed in ROM with an all-zero content.

Prevent this by packing the conversion state and the value union into
a single container structure that's stack allocated.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-11-19 12:37:33 +01:00
..
CMakeLists.txt lib: add cbprintf capability 2020-11-13 06:38:01 -05:00
Kconfig lib/os: replace z_vprintk with cbprintf 2020-11-13 06:38:01 -05:00
Kconfig.cbprintf lib: add cbprintf capability 2020-11-13 06:38:01 -05:00
assert.c
base64.c
cbprintf.c lib: add cbprintf capability 2020-11-13 06:38:01 -05:00
cbprintf_complete.c lib: cbprintf: work around LLVM code generation bug 2020-11-19 12:37:33 +01:00
cbprintf_nano.c lib/os/cbprintf_nano.c: simplifications and enhancements 2020-11-17 11:34:25 +01:00
crc7_sw.c
crc8_sw.c
crc16_sw.c
crc32_sw.c
dec.c
fdtable.c lib: fdtable: fix z_free_fd multiple calls fd leak 2020-09-10 16:04:36 -05:00
heap-validate.c lib/os/heap: make "solo free headers" into first-class citizens 2020-07-14 19:35:52 -04:00
heap.c lib/os/heap: Correct aligned_alloc sizing for small heaps 2020-10-23 12:52:04 -04:00
heap.h code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
hex.c lib: hex: Remove constant expression 2020-09-02 13:45:50 -04:00
json.c misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
mempool.c code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
mutex.c
notify.c
onoff.c code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
printk.c lib/os: replace z_vprintk with cbprintf 2020-11-13 06:38:01 -05:00
rb.c
ring_buffer.c lib: os: ring_buffer: Allow using full buffer capacity 2020-11-11 13:17:49 +01:00
sem.c code-guideline: Fixing code violation 10.4 Rule 2020-10-01 17:13:29 -04:00
thread_entry.c
timeutil.c
work_q.c os: work_q: Use NULL instead of 0 2020-09-02 13:45:50 -04:00