[llvm-commits] Implement the GET_CALLER_PC macro, stub the GET_CURRENT_FRAME macro (issue 5630065)
glider at google.com
glider at google.com
Mon Feb 6 06:16:45 PST 2012
http://codereview.appspot.com/5630065/diff/1/lib/asan/asan_internal.h
File lib/asan/asan_internal.h (right):
http://codereview.appspot.com/5630065/diff/1/lib/asan/asan_internal.h#newcode218
lib/asan/asan_internal.h:218:
(uintptr_t)__builtin_extract_return_address(__builtin_return_address(0))
On 2012/02/06 13:49:02, timurrrr_at_google_com wrote:
> Looks like the __builtin_return_address macro was slightly misused
> See http://gcc.gnu.org/onlinedocs/gcc/Return-Address.html
This seems to be ok on x86 and ARM.
http://codereview.appspot.com/5630065/
More information about the llvm-commits
mailing list