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>
Tue, 24 May 2016 22:58:14 +0000 (18:58 -0400)
commit171fcc6fd03e3f5787b3d0ee8aedc8cb9bcc6f17
tree51294da22d282efc95d0b83a9ae0273b0da25db0
parent1bf9a78810308942841c732f5e9b7530f0bb3ca0
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.02522 seconds and 4 git commands to generate.