[PATCH] D71360: Honor -fuse-init-array when os is not specified on x86

kamlesh kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 06:18:04 PST 2019


Thanks, @rnk.
I am debugging it.


On Mon, Dec 23, 2019 at 9:54 AM Reid Kleckner via Phabricator <
reviews at reviews.llvm.org> wrote:

> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191223/cdc8f053/attachment-0001.html>


More information about the llvm-commits mailing list