[PATCH] D130856: [NFC][DirectX backend] Fix crash when emit_obj for DirectX backend. When emit-obj from clang directly, DirectX backend will hit assert caused by not initialize passes for AsmPrinter.
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 08:25:47 PDT 2022
beanz added a comment.
At first glance this seems like the wrong solution. Initialization of the DirectX target should not be initializing common LLVM code.
Are the other LLVM library initializers not being called somewhere that is causing you to hit this issue?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130856/new/
https://reviews.llvm.org/D130856
More information about the llvm-commits
mailing list