llvm-project
1cbddceb - [DebugInfo] Use DW_OP_deref_size for DW_OP_LLVM_extract_bits (#97609)

Commit
1 year ago
[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.
Parents
Loading