Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: src/cxa_personality.cpp

Issue 876353003: Use PNaCl's _Unwind_PNaClSetResult functions for arm-nacl-clang (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-libcxxabi.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/cxa_personality.cpp
diff --git a/src/cxa_personality.cpp b/src/cxa_personality.cpp
index 87ec1a3eb6ad36225724191113831b766ca134f5..8589ee4cbe425bc39aaf6f5a8208c4160f312d1b 100644
--- a/src/cxa_personality.cpp
+++ b/src/cxa_personality.cpp
@@ -512,7 +512,7 @@ set_registers(_Unwind_Exception* unwind_exception, _Unwind_Context* context,
const scan_results& results)
{
// @LOCALMOD-START
-#if defined(__pnacl__)
+#if defined(__pnacl__) || defined(__arm__)
_Unwind_PNaClSetResult0(
context, reinterpret_cast<uintptr_t>(unwind_exception));
_Unwind_PNaClSetResult1(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698