[PATCH] D111164: Regenerate LC_CODE_SIGNATURE during llvm-objcopy operations
Daniel RodrÃguez Troitiño via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 28 11:24:49 PDT 2021
drodriguez added a comment.
@uabelho: Thanks for pointing it out. I think I found a possible solution. It seems to me that llvm-objcopy might store data unaligned temporarily, and we did not realize.
@eugenis: Can you clarify what you mean? From my testing and the stack trace it seems to have been introduced by this change. It might have been failing in some other way that I am not aware, but after fixing the problem, it seems that the UBSan runtime error goes away.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111164/new/
https://reviews.llvm.org/D111164
More information about the llvm-commits
mailing list