[LLVMdev] Possible Bad Assertion in Value.cpp
Chris Lattner
sabre at nondot.org
Fri Feb 15 15:15:56 PST 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
> was
> 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?
-Chris
More information about the llvm-dev
mailing list