http://llvm.org/bugs/show_bug.cgi?id=11880

Benjamin Kramer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #5 from Benjamin Kramer <[email protected]> 2012-03-16 17:36:53 
CDT ---
Looks like we were chasing the wrong problem here, the bug isn't that the IR
verifier doesn't run. The IR parser catches the mistake in the IR just fine,
but clang failed to display the string and crashed.

r152956 fixes the bug in clang.

$ clang -c x.ll
x.ll:22:45: error: '%1' defined with type '%struct.str*'
    %2 = getelementptr inbounds %struct.str %1, i32 1
                                            ^

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to