[PATCH] D46137: Fix an assertion of This DIE should've already been constructed when the " "definition DIE was created in " "getOrCreateSubprogramDIE

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 3 11:00:16 PDT 2018


dblaikie added a comment.

Thanks for explaining - that sounds broadly right. Could you include a
minimal test case for this situation? You shouldn't need to involve LTO in
the test case itself - two (say, C or C++) source files compiled to IR,
llvm-link'd together & then the test case should probably be running llc on
that IR file. You can see other test cases for debug info in the
test/DebugInfo directory of LLVM's source.


https://reviews.llvm.org/D46137





More information about the llvm-commits mailing list