Clang: Enable stack traces

Change-Id: Ia7b8b7aa598f74e2c80e27f328ac5ddb410c043e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Marco Bubke
2015-11-17 13:57:50 +01:00
parent 8745c0a261
commit a2988a2800

View File

@@ -54,6 +54,7 @@ int main(int argc, char *argv[])
ClangBackEnd::Messages::registerMessages(); ClangBackEnd::Messages::registerMessages();
clang_toggleCrashRecovery(true); clang_toggleCrashRecovery(true);
clang_enableStackTraces();
ClangBackEnd::ClangIpcServer clangIpcServer; ClangBackEnd::ClangIpcServer clangIpcServer;
ClangBackEnd::ConnectionServer connectionServer(application.arguments()[1]); ClangBackEnd::ConnectionServer connectionServer(application.arguments()[1]);