[lldb-dev] Leaks from static variables

Vedant Kumar via lldb-dev lldb-dev at lists.llvm.org
Mon Aug 1 14:40:09 PDT 2016


Hi lldb-dev,

It looks like the debugger initializes static variables in llvm (see:
SystemInitializerFull::Initialize()), but, AFAICT, it never cleans them up.

Does this cause memory leaks? I'd assumed that it's necessary to call
llvm_shutdown() somewhere to avoid this kind of leak.

Is there a buildbot I can check that tests an address-sanitized version of
lldb?

thanks,
vedant


More information about the lldb-dev mailing list