aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2024-07-11 17:02:30 +0100
committerGitHub <noreply@github.com>2024-07-11 17:02:30 +0100
commit1cbddcebb9a9f97ed04f35a859e31d55f6b9b824 (patch)
treebaa5fd1f8858b1afe79ae705e2d68b02f0adb0e6 /clang/lib/Frontend/CompilerInvocation.cpp
parentfb5a38bb4930736b0aab3ce428b60245921f982f (diff)
downloadllvm-1cbddcebb9a9f97ed04f35a859e31d55f6b9b824.zip
llvm-1cbddcebb9a9f97ed04f35a859e31d55f6b9b824.tar.gz
llvm-1cbddcebb9a9f97ed04f35a859e31d55f6b9b824.tar.bz2
[DebugInfo] Use DW_OP_deref_size for DW_OP_LLVM_extract_bits (#97609)
Using DW_OP_deref can result in the debugger reading past the end of an object into inaccessible memory, causing an error. Instead use DW_OP_deref_size to make sure we don't read any bytes beyond what we need to.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions