[PATCH] D55763: [Sparc] Add Sparc V8 support

Martin Storsjö via Phabricator reviews at reviews.llvm.org
Mon Dec 17 09:56:44 PST 2018


mstorsjo added inline comments.


================
Comment at: src/UnwindLevel1.c:495
                        (void *)context, result);
-  return (uintptr_t)result;
+  return (uintptr_t)__builtin_extract_return_addr((void*)result);
 }
----------------
How widely is this builtin available, e.g. on older versions of clang or in gcc?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55763/new/

https://reviews.llvm.org/D55763





More information about the libcxx-commits mailing list