aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PrologEpilogInserter.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2024-08-19 15:16:04 +0000
committerDavid Spickett <david.spickett@linaro.org>2024-08-19 15:16:04 +0000
commitb1d75fe48c940ba677614db3d891fbebcb8a41a2 (patch)
tree0cb920feda67f43b729190d6de30c36085fe4ec3 /llvm/lib/CodeGen/PrologEpilogInserter.cpp
parentb64e7e07e544d62ab132fc9f5c4153d4807a5fa3 (diff)
downloadllvm-b1d75fe48c940ba677614db3d891fbebcb8a41a2.zip
llvm-b1d75fe48c940ba677614db3d891fbebcb8a41a2.tar.gz
llvm-b1d75fe48c940ba677614db3d891fbebcb8a41a2.tar.bz2
[lldb][test] Fix cast dropping const warnin in TestBreakpointSetCallback.cpp
When building with gcc I get this warning: ``` <...>TestBreakpointSetCallback.cpp:58:25: warning: cast from type ‘const char*’ to type ‘void*’ casts away qualifiers [-Wcast-qual] 58 | void *baton = (void *)"hello"; | ^~~~~~~ ``` Use the address of a mutable global variable instead. All we care about is that the address passed as the baton is the same one we get later.
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions