Otherwise, we can run into problems when the program has static variables
that need to use the debug database during their deinitialization, if
the debug DB has already been deinitialized.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCXX libc++
Event Timeline
Comment Actions
I am concerned that we're going to start flagging leaks because we don't destroy those -- do you share the concern? I mean I can also just push and see what our various sanitizers say.
Comment Actions
It may start being reported as a leak by tooling, in the same way static T* t = new T would, which is the other idiomatic way to do this.
If an LLVM tool reports this as a leak, I think we should fix the tool.