This is a part of https://reviews.llvm.org/D95835.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
compiler-rt/lib/dfsan/dfsan.h | ||
---|---|---|
84 | const_cast |
compiler-rt/lib/dfsan/dfsan.h | ||
---|---|---|
84 | changed the return value to be const dfsan_label*, so we do not need the cast. |
This commit broke the build on aarch64 because OriginAddr() isn't defined on that platform, could you please take a look?
Thank you for reporting this. Fixed: https://github.com/llvm/llvm-project/commit/083d45b21c1f7651345c1378b7d3302afe8f297a
clang-tidy: warning: cast from 'const void *' to 'void *' drops const qualifier [clang-diagnostic-cast-qual]
not useful