[all-commits] [llvm/llvm-project] 13549f: MCAssembler: Modify Contents when VarFixups is not...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Jul 17 10:29:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 13549fd90af45d2200159cac14a12cf01db56aa1
https://github.com/llvm/llvm-project/commit/13549fd90af45d2200159cac14a12cf01db56aa1
Author: Fangrui Song <i at maskray.me>
Date: 2025-07-17 (Thu, 17 Jul 2025)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list