[PATCH] D23841: Fix ThinLTO crash with debug info

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 22:20:07 PDT 2016


mehdi_amini added inline comments.

================
Comment at: test/ThinLTO/X86/crash_debuginfo.ll:7
@@ +6,3 @@
+
+; Verify that we import bar and inline it. It use to crash importing due to ODR type uniquing
+; CHECK: foo
----------------
tejohnson wrote:
> How are you verifying that bar is imported? Can you check for the inlined add in the body of foo?
The "CHECK-NOT" fires when bar isn't imported (we get an undefined referenced to bar), this relies on the inliner.


https://reviews.llvm.org/D23841





More information about the llvm-commits mailing list