re PR go/46958 (ARM Go Does Not Compile (__builtin_return_address))
PR go/46958 PR go/46965 Call __builtin_return_address with 0 rather than 1. From-SVN: r168495
This commit is contained in:
parent
5667638c69
commit
a3bc69c529
@ -31,7 +31,7 @@ Caller (int n __attribute__ ((unused)))
|
||||
|
||||
/* A proper implementation needs to dig through the debugging
|
||||
information. */
|
||||
ret.pc = (uint64_t) (uintptr_t) __builtin_return_address (1);
|
||||
ret.pc = (uint64_t) (uintptr_t) __builtin_return_address (0);
|
||||
ret.file.__data = NULL;
|
||||
ret.file.__length = 0;
|
||||
ret.line = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user