Fix: don't call __builtin_return_address(0) on 32-bit powerpc
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 24 May 2016 22:58:14 +0000 (18:58 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 May 2016 02:03:16 +0000 (22:03 -0400)
commit82556ac040f1a491e70420566bdab7e1a5d7a69b
tree18af59b7607593c63efeb365fb505beccf8e80bb
parent1b5274d2937d25b177ae35c6b6d2df3399011f96
Fix: don't call __builtin_return_address(0) on 32-bit powerpc

Invoking __builtin_return_address(0) corrupts the stack, as previously
noticed for the "ip" context. Disable its use on 32-bit powerpc
everywhere else in the lttng-ust code base.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/helper.h
liblttng-ust-dl/lttng-ust-dl.c
liblttng-ust-libc-wrapper/lttng-ust-malloc.c
liblttng-ust-libc-wrapper/lttng-ust-pthread.c
liblttng-ust/tracef.c
liblttng-ust/tracelog.c
This page took 0.025133 seconds and 4 git commands to generate.