digitalmars.D - Do we have an equivalent of __builtin_return_address?
- Andrei Alexandrescu (1/1) Apr 06 2016 i.e. https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html -- Andrei
- Adam D. Ruppe (4/6) Apr 06 2016 The exception mechanism does this kind of thing if nothing else
- Kai Nacke (6/8) Apr 06 2016 http://llvm.org/docs/LangRef.html#id1204, available in
- Andrei Alexandrescu (2/7) Apr 06 2016 Thanks. Could we unify it across backends? -- Andrei
- Johannes Pfau (8/22) Apr 06 2016 All GCC builtins are available in GDC. Just import gcc.builtins:
i.e. https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html -- Andrei
Apr 06 2016
On Wednesday, 6 April 2016 at 13:23:20 UTC, Andrei Alexandrescu wrote:i.e. https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html -- AndreiThe exception mechanism does this kind of thing if nothing else does.
Apr 06 2016
On Wednesday, 6 April 2016 at 13:23:20 UTC, Andrei Alexandrescu wrote:i.e. https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html -- Andreihttp://llvm.org/docs/LangRef.html#id1204, available in ldc.intrinsics Regards, Kai
Apr 06 2016
On 04/06/2016 11:58 AM, Kai Nacke wrote:On Wednesday, 6 April 2016 at 13:23:20 UTC, Andrei Alexandrescu wrote:Thanks. Could we unify it across backends? -- Andreii.e. https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html -- Andreihttp://llvm.org/docs/LangRef.html#id1204, available in ldc.intrinsics Regards, Kai
Apr 06 2016
Am Wed, 6 Apr 2016 12:40:24 -0400 schrieb Andrei Alexandrescu <SeeWebsiteForEmail erdani.org>:On 04/06/2016 11:58 AM, Kai Nacke wrote:All GCC builtins are available in GDC. Just import gcc.builtins: http://goo.gl/vYhfsC Unification should probably be done in druntime. I don't see a point in implementing special handling for one builtin in the ldc or gdc compilers as we already handle many (or all) builtins in the compiler in some generic way.On Wednesday, 6 April 2016 at 13:23:20 UTC, Andrei Alexandrescu wrote:Thanks. Could we unify it across backends? -- Andreii.e. https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html -- Andreihttp://llvm.org/docs/LangRef.html#id1204, available in ldc.intrinsics Regards, Kai
Apr 06 2016