[cfe-dev] My clang program crashes during initialisation, gives glibc detected, free(): invalid pointer
andrewaah at gmail.com
Fri Nov 16 17:33:01 PST 2012
Ok I just realised the problem is when CompilerInstance frees itself when the
program ends (nothing to do set ci.setTarget).
I'm not sure why it's doing that, as a temporary measure I'm just declaring
the CompilerInstance as a pointer and not freeing it, though for aesthetics
I'd prefer not to.
View this message in context: http://clang-developers.42468.n3.nabble.com/My-clang-program-crashes-during-initialisation-gives-glibc-detected-free-invalid-pointer-tp4028294p4028323.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev