diff options
author | Fangrui Song <i@maskray.me> | 2025-07-17 10:29:18 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-07-17 10:29:19 -0700 |
commit | 13549fd90af45d2200159cac14a12cf01db56aa1 (patch) | |
tree | 737d2969b98fbc94e3c4c9e9ec4e6281aee6dfe6 /llvm/lib/IR/Module.cpp | |
parent | b8bc3ff9bedf0b8f1d38273f7920cb0bba1a5a9e (diff) | |
download | llvm-13549fd90af45d2200159cac14a12cf01db56aa1.zip llvm-13549fd90af45d2200159cac14a12cf01db56aa1.tar.gz llvm-13549fd90af45d2200159cac14a12cf01db56aa1.tar.bz2 |
MCAssembler: Modify Contents when VarFixups is not empty
When there is no VarFixup, VarContentStart is zero.
`slice(F.VarContentStart - Contents.size(), F.getSize())`
might lead to "runtime error: addition of unsigned offset to" in ubsan builds after #148544
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions