Displaying 3 results from an estimated 3 matches for "cxxexceptions".
2012 Sep 21
2
[LLVMdev] Clang API parsing of the destructor
...gnosticOptions);
llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> pDiagIDs;
clang::DiagnosticsEngine *pDiagnosticsEngine =
new clang::DiagnosticsEngine(pDiagIDs, pTextDiagnosticPrinter);
clang::LangOptions languageOptions;
languageOptions.GNUMode = 1;
languageOptions.CXXExceptions = 1;
languageOptions.RTTI = 1;
languageOptions.Bool = 1;
languageOptions.CPlusPlus = 1;
clang::FileSystemOptions fileSystemOptions;
clang::FileManager fileManager(fileSystemOptions);
clang::SourceManager sourceManager(
*pDiagnosticsEngine,
fileManager);
cl...
2012 Sep 21
0
[LLVMdev] Clang API parsing of the destructor
...trusiveRefCntPtr<clang::DiagnosticIDs> pDiagIDs;
> clang::DiagnosticsEngine *pDiagnosticsEngine =
> new clang::DiagnosticsEngine(pDiagIDs, pTextDiagnosticPrinter);
>
> clang::LangOptions languageOptions;
> languageOptions.GNUMode = 1;
> languageOptions.CXXExceptions = 1;
> languageOptions.RTTI = 1;
> languageOptions.Bool = 1;
> languageOptions.CPlusPlus = 1;
>
Don't do this, use CompilerInvocation::setLangDefaults. Your problem is
probably that ImplicitInt is enabled (but you're likely to have other
LangOptions wrong too, and t...
2016 Jun 10
2
Windows: How to catch C++ exceptions in runtime-compiled code?
...g the global variable for the ThrowInfo in MicrosoftCXXABI::emitThrow. Also the WinEHPrepare pass is running correctly as it seems. Is there any extra work to do (at runtime/link-time?) for filling this data structure? Any idea what else to check?
Our Clang language options do include: Exceptions, CXXExceptions, RTTI, RTTIData
Please reply to my colleague Stefan Gränitz (in Cc) who is in charge of this project. Any kind of help or ideas would be really awesome.
Many thanks!
Timur
--
Timur Doumler
JUCE Senior Software Engineer
ROLI <http://www.roli.com/> extends the journey of music creation to e...