[LLVMbugs] [Bug 6482] llvm-link asserts with "Type mismatch in constant table!" depending on linking order

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 17 00:55:22 PDT 2010


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

Matti Niemenmaa <matti.niemenmaa+llvmbugs at iki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #10 from Matti Niemenmaa <matti.niemenmaa+llvmbugs at iki.fi> 2010-07-17 02:55:21 CDT ---
Nope, both the original testcases and Nick's latest reduced one still fail.
Although Nick's asserts differently; not sure if it did that before. Anyway:

llvm-link: src/llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp:204:
llvm::Constant* llvm::BitcodeReaderValueList::getConstantFwdRef(unsigned int,
const llvm::Type*): Assertion `Ty == V->getType() && "Type mismatch in constant
table!"' failed.
Stack dump:
0.    Program arguments: llvm-link one.bc two.bc

And:

llvm-link: src/llvm/trunk/lib/VMCore/Value.cpp:317: void
llvm::Value::replaceAllUsesWith(llvm::Value*): Assertion `New->getType() ==
getType() && "replaceAllUses of value with new value of different type!"'
failed.
Stack dump:
0.    Program arguments: llvm-link pr6482-b.bc pr6482-b.bc

-- 
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.



More information about the llvm-bugs mailing list