commit | 6a9b5db9aebe1d45b752157f522ffb4622061ea2 | [log] [tgz] |
---|---|---|
author | David Spickett <david.spickett@linaro.org> | Wed Jul 19 09:19:13 2023 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jul 19 09:05:39 2023 -0700 |
tree | 07af49f1f16cecfc9c7b0eb98ee1029baef5e881 | |
parent | 71b7f426c1ea8374fb8b499d0fec4d25f2a46760 [diff] |
[libunwind] Fix build error on 32 bit Arm after -Wcast-qual was added New warning was added in https://reviews.llvm.org/D153911 which caused: https://buildkite.com/llvm-project/libcxx-ci/builds/28407#01896b79-2a5e-4554-ac31-2abec5a8b281 ../../libunwind/src/UnwindLevel1-gcc-ext.c:172:47: error: cast from 'const unsigned int *' to 'unsigned int *' drops const qualifier [-Werror,-Wcast-qual] ex.pr_cache.ehtp = (_Unwind_EHT_Header *) unwindInfo; I don't see any reason there should be a const here in the first place, so just remove it. Reviewed By: #libunwind, michaelplatings, MaskRay Differential Revision: https://reviews.llvm.org/D155685 GitOrigin-RevId: a96d4c1ed62fd187c21acf82b43072444ffb2084