[libcxx-commits] [PATCH] D155685: [libunwind] Fix build error on 32 bit Arm after -Wcast-qual was added
David Spickett via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 19 07:23:27 PDT 2023
DavidSpickett updated this revision to Diff 542018.
DavidSpickett added a comment.
clang-format
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.542018.patch
Type: text/x-patch
Size: 566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230719/068211c5/attachment.bin>
More information about the libcxx-commits
mailing list