[PATCH] D71360: Honor -fuse-init-array when os is not specified on x86
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 22 20:24:37 PST 2019
rnk added a comment.
I was able to reproduce this, but I think the issue is pre-existing. It looks like llc never calls TargetObjectFileInfo::Initialize when doing MIR parsing, but it probably should. The constructor of MCObjectFileInfo leaves the `Env` uninitialized, because it doesn't have the triple yet. The easiest way to observe the failure is with ubsan, since MSan is difficult to set up. I don't plan to debug this any further.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71360/new/
https://reviews.llvm.org/D71360
More information about the llvm-commits
mailing list