[libcxx-commits] [PATCH] D68387: [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI

John Brawn via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Oct 3 10:01:33 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb44204c77e63: [libunwind] Adjust libunwind_01.pass.cpp test for ARM EHABI (authored by john.brawn).
Herald added a project: libc++.

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68387

Files:
  libunwind/test/libunwind_01.pass.cpp


Index: libunwind/test/libunwind_01.pass.cpp
===================================================================
--- libunwind/test/libunwind_01.pass.cpp
+++ libunwind/test/libunwind_01.pass.cpp
@@ -48,7 +48,7 @@
     abort();
 
   // Set the IP to an address clearly outside any function.
-  unw_set_reg(&cursor, UNW_REG_IP, (unw_word_t)&context);
+  unw_set_reg(&cursor, UNW_REG_IP, (unw_word_t)0);
 
   ret = unw_get_proc_info(&cursor, &info);
   if (ret != UNW_ENOINFO)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68387.223047.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20191003/95fad5ce/attachment.bin>


More information about the libcxx-commits mailing list