zephyr/tests/kernel
Eugeniy Paltsev ea8c4b91b5 tests: exception: workaround agressive optimization
The memset in the 'blow_up_stack' function can be optimized
away as it is called in the end of the function on the buffer
allocated on the stack (so it has 'no' effect on program
execution)

The 'stack_smasher' call can be optimized away as it's results
isn't used anywhere and stack_smasher function has no visible
side effects.

Fix that by disabling optimization on these functions.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2020-10-06 11:41:23 -04:00
..
common
context
device tests: device: update test case 2020-10-02 11:38:30 +02:00
early_sleep
fatal tests: exception: workaround agressive optimization 2020-10-06 11:41:23 -04:00
fifo
fpu_sharing
gen_isr_table toolchain: define __no_optimization attribute across toolchains 2020-10-06 11:41:23 -04:00
interrupt
lifo
mbox
mem_heap/mheap_api_concept
mem_pool
mem_protect tests: mem_protect: avoid RO region access optimization 2020-10-06 11:41:23 -04:00
mem_slab
mp
msgq/msgq_api
mutex
obj_tracing
pending
pipe
poll
profiling/profiling_api
queue
sched tests: preempt: workaround aggressive oprimization 2020-10-06 11:41:23 -04:00
semaphore/semaphore
sleep
smp tests: smp: improving the description for SMP test cases 2020-10-04 14:26:31 -07:00
spinlock
stack/stack
threads tests: thread_stack: add idle stack size scenario 2020-09-30 14:11:59 -04:00
tickless
timer
workq tests: work_queue: wait longer for expired triggering items 2020-10-05 14:36:33 -05:00
xip