Displaying 2 results from an estimated 2 matches for "tempenumtyp".
Did you mean:
tempenumtypes
2015 Jan 19
3
[LLVMdev] Assertion: replaceAllUses of value with new value of different type! being thrown all of a sudden
...you were hitting an assertions I added a few weeks after that commit in the Metadata RAUW method. But it is the equivalent assertion in Value::RAUW that you are hitting and that has been there forever. Looking at your exact revision, the assertion seems to trigger while executing:
>
> DIType(TempEnumTypes).replaceAllUsesWith(Enums);
>
> in DIBuilder::finalize(). Can you check if TempEnumTypes is null at this point? If that is the issue (which I’m not sure), then you need to call DIBuilder::createCompileUnit() at some point.
>
> Fred
I had a thought, too: are you using two different...
2015 Jan 19
2
[LLVMdev] Assertion: replaceAllUses of value with new value of different type! being thrown all of a sudden
I forgot to mention this in my initial email.
The build of LLVM that I was using was commit a0d5d7aed8e177cea381b3d054d80c212ece9f2c
The date on the commit is: Date: Fri Sep 26 12:34:06 2014
Also:
Today I grabbed the ToT llvm/clang/clang-extra-tools and I’m working on getting my code to be compatible with it.
I can switch back and forth between the current ToT llvm and the old one.
Thanks,