diff options
| author | Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com> | 2015-03-06 21:01:14 +0000 |
|---|---|---|
| committer | Edmund Grimley Evans <Edmund.Grimley.Evans@gmail.com> | 2015-03-06 21:01:14 +0000 |
| commit | 238e760a294ca74e46d8545f0fb80ea2af522f2b (patch) | |
| tree | 58f575ac0fa1d1d5bda2b4479d479d1359367a65 /tcctok.h | |
| parent | 8764993c0d23d11102dc548eb318e489a665391f (diff) | |
| download | tinycc-238e760a294ca74e46d8545f0fb80ea2af522f2b.tar.gz tinycc-238e760a294ca74e46d8545f0fb80ea2af522f2b.tar.bz2 | |
Add __builtin_return_address.
Implementation is mostly shared with __builtin_frame_address.
It seems to work on arm64, i386 and x86_64. It may need to be
adapted for other targets.
Diffstat (limited to 'tcctok.h')
| -rw-r--r-- | tcctok.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -130,6 +130,7 @@ DEF(TOK_builtin_types_compatible_p, "__builtin_types_compatible_p") DEF(TOK_builtin_constant_p, "__builtin_constant_p") DEF(TOK_builtin_frame_address, "__builtin_frame_address") + DEF(TOK_builtin_return_address, "__builtin_return_address") #ifdef TCC_TARGET_X86_64 #ifdef TCC_TARGET_PE DEF(TOK_builtin_va_start, "__builtin_va_start") |
