[PATCH] D155685: [libunwind] Fix build error on 32 bit Arm after -Wcast-qual was added
David Spickett via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 09:01:50 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa96d4c1ed62f: [libunwind] Fix build error on 32 bit Arm after -Wcast-qual was added (authored by DavidSpickett).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155685/new/
https://reviews.llvm.org/D155685
Files:
libunwind/src/UnwindLevel1-gcc-ext.c
Index: libunwind/src/UnwindLevel1-gcc-ext.c
===================================================================
--- libunwind/src/UnwindLevel1-gcc-ext.c
+++ libunwind/src/UnwindLevel1-gcc-ext.c
@@ -167,7 +167,7 @@
}
// Update the pr_cache in the mock exception object.
- const uint32_t* unwindInfo = (uint32_t *) frameInfo.unwind_info;
+ uint32_t *unwindInfo = (uint32_t *)frameInfo.unwind_info;
ex.pr_cache.fnstart = frameInfo.start_ip;
ex.pr_cache.ehtp = (_Unwind_EHT_Header *) unwindInfo;
ex.pr_cache.additional= frameInfo.flags;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155685.542054.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230719/8b7bfeb6/attachment.bin>
More information about the llvm-commits
mailing list