[llvm-testresults] buildbot failure in llvm on llvm-x86_64-linux-vg_leak

Jakob Stoklund Olesen stoklund at 2pi.dk
Sun Apr 4 14:26:36 PDT 2010


On Apr 4, 2010, at 2:04 PM, Chris Lattner wrote:

> On Apr 4, 2010, at 1:04 PM, Jakob Stoklund Olesen wrote:
>>> Buildslave for this Build: osu7
>>> 
>>> Build Reason: 
>>> Build Source Stamp: 100332
>>> Blamelist: evancheng,lattner,stoklund
>>> 
>>> BUILD FAILED: failed test-llvm
>> 
>> I think this is yours, Chris.
>> 
> 
> This isn't related to my patch, I have no idea why it just started failing.  The issue is this code in Pass.cpp:
> 
> // FIXME: This should use ManagedStatic to manage the pass registrar.
> // Unfortunately, we can't do this, because passes are registered with static
> // ctors, and having llvm_shutdown clear this map prevents successful
> // ressurection after llvm_shutdown is run.
> static PassRegistrar *getPassRegistrar() {
>  static PassRegistrar *PassRegistrarObj = 0;
> 
> 
> The code is intentionally leaking the PassRegistrar object.  I don't know what the right solution is here.

Bizarre. Why is only one test failing?





More information about the llvm-testresults mailing list