[LLVMdev] Possible Bad Assertion in Value.cpp
sabre at nondot.org
Fri Feb 15 17:15:56 CST 2008
>> If you write your code as an llvm pass, you should automatically get
>> notified of this stuff in a debug build. If you can't do that,
>> manually interfacing to the LeakDetector can help.
> It is an LLVM pass, it's a debug build, and the only assertion I got
> the one in ~Value().
> Should there have been an earlier assertion?
You load a module, run your pass (which leaks an instruction) from the
passmgr, then delete the module?
More information about the LLVMdev