]> git.lttng.org Git - lttng-ust.git/commit
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 01:59:34 +0000 (21:59 -0400)
commit1de7abffafd64c964b738926f1072f5704e8e51f
treebe85a380681e1c011c1472626749a81dbbfd0d1d
parentaa418aa26f842c1328337d5917f8ec67a3a8957f
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.030987 seconds and 4 git commands to generate.