search for: diagnosticsengine

Displaying 20 results from an estimated 75 matches for "diagnosticsengine".

2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...ial1.cpp:(.text+0x42): undefined reference to `llvm::outs()' tutorial1.cpp:(.text+0x72): undefined reference to `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions const&, bool)' tutorial1.cpp:(.text+0xd7): undefined reference to `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> const&, clang::DiagnosticConsumer*, bool)' tutorial1.cpp:(.text+0xf4): undefined reference to `clang::LangOptions::LangOptions()' tutorial1.cpp:(.text+0x125): undefined reference to `clang::FileManager::FileManager(...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...defined reference to `llvm::outs()' > tutorial1.cpp:(.text+0x72): undefined reference to > `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, > clang::DiagnosticOptions const&, bool)' > tutorial1.cpp:(.text+0xd7): undefined reference to > `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> > const&, clang::DiagnosticConsumer*, bool)' > tutorial1.cpp:(.text+0xf4): undefined reference to > `clang::LangOptions::LangOptions()' > tutorial1.cpp:(.text+0x125): undefined reference to > `clang::...
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
...defined reference to `llvm::outs()' > tutorial1.cpp:(.text+0x72): undefined reference to > `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, > clang::DiagnosticOptions const&, bool)' > tutorial1.cpp:(.text+0xd7): undefined reference to > `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> > const&, clang::DiagnosticConsumer*, bool)' > tutorial1.cpp:(.text+0xf4): undefined reference to > `clang::LangOptions::LangOptions()' > tutorial1.cpp:(.text+0x125): undefined reference to > `clang::...
2012 Sep 21
2
[LLVMdev] Clang API parsing of the destructor
...ticOptions.ShowColors=1; diagnosticOptions.ShowOptionNames=1; clang::TextDiagnosticPrinter *pTextDiagnosticPrinter = new clang::TextDiagnosticPrinter( llvm::outs(), diagnosticOptions); 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...
2011 Oct 20
0
[LLVMdev] error building clang
...ang and fired a build, and I get the following error: Is this a known issue? Do I need to download Diagnostic.h from somewhere else? In file included from /llvm/llvm/tools/clang/lib/Basic/Diagnostic.cpp:16: /llvm/llvm/tools/clang/lib/Basic/../../include/clang/Basic/Diagnostic.h:591: error: `clang::DiagnosticsEngine::<anonymous enum> clang::DiagnosticsEngine::MaxArguments' is private /llvm/llvm/tools/clang/lib/Basic/../../include/clang/Basic/PartialDiagnostic.h:36: error: within this context /llvm/llvm/tools/clang/lib/Basic/../../include/clang/Basic/Diagnostic.h:621: error: `clang::DiagnosticsEngine:...
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
...ial1.cpp:(.text+0x42): undefined reference to `llvm::outs()' tutorial1.cpp:(.text+0x72): undefined reference to `clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&, clang::DiagnosticOptions const&, bool)' tutorial1.cpp:(.text+0xd7): undefined reference to `clang::DiagnosticsEngine::DiagnosticsEngine(llvm::IntrusiveRefCntPtr<clang::DiagnosticIDs> const&, clang::DiagnosticConsumer*, bool)' tutorial1.cpp:(.text+0xf4): undefined reference to `clang::LangOptions::LangOptions()' tutorial1.cpp:(.text+0x125): undefined reference to `clang::FileManager::FileManager(...
2012 Sep 21
0
[LLVMdev] Clang API parsing of the destructor
...iagnosticOptions.ShowOptionNames=1; > clang::TextDiagnosticPrinter *pTextDiagnosticPrinter = > new clang::TextDiagnosticPrinter( > llvm::outs(), > diagnosticOptions); > 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;...
2020 Jul 21
3
[RFC] Preferred error/note style across non-clang tools, e.g. tablegen
...ws.llvm.org/D83588 <https://reviews.llvm.org/D83588> as to whether we ought to prefer emitting TableGen error messages with all of the information in a single diagnostic, or whether it makes sense to split things in an error+note style as seen in many clang diagnostics. TableGen doesn’t use a DiagnosticsEngine, so the concept of a fatal note following an error is a bit new/foreign there, but perhaps something that makes sense adding. Is there any precedence here for other internal llvm tooling (outside of clang)? What’s the general consensus here? Jon -------------- next part -------------- An HTML at...
2012 Jul 10
3
[LLVMdev] Unable to do even basic Clang tutorial
Add -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS to your compilation flag. On 7/10/2012 11:23 AM, NY Knicks Fan wrote: > Hi Ashok, > > I created a new Ubuntu 12.04 virtual machine and followed directions > except that I know use your cmake command instead of configure, and I > got the error below. > > Any help is very much appreciated. > > > $
2013 Jul 17
0
[LLVMdev] [RFC] Add warning capabilities in LLVM.
...ue, Jul 16, 2013 at 5:21 PM, Quentin Colombet <qcolombet at apple.com>wrote: > > The challenge is, AFAICT (which is not much, I admit), that front-end > warning types are statically handled using tablegen representation. > > They can also be added dynamically if necessary. See DiagnosticsEngine::getCustomDiagID -- Sean Silva -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130716/b687351f/attachment.html>
2015 Jun 02
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
...zation(llvm::Module&) + 974 16 clang 0x0000000001e29cb7 llvm::FPPassManager::doInitialization(llvm::Module&) + 71 17 clang 0x0000000001e331cb llvm::legacy::PassManagerImpl::run(llvm::Module&) + 363 18 clang 0x000000000086a323 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 3491 19 clang 0x00000000008594ac clang::CodeGenAction::ExecuteAction() + 1676 20 clang 0x0000000000...
2020 Jun 12
2
[flang-dev] [cfe-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
...e of us not familiar with clang internals, it would be helpful if you could describe the parts of clang that you're considering sharing and explain what existing code they would replace in flang (if any) and what benefits we gain by sharing them. In particular, these were mentioned previously: DiagnosticsEngine, SourceManager, SourceLocation, FileManager, VFS Thanks, Tim On 6/12/20, 3:25 AM, "flang-dev on behalf of Andrzej Warzynski via flang-dev" <flang-dev-bounces at lists.llvm.org on behalf of flang-dev at lists.llvm.org> wrote: External email: Use caution opening links or attac...
2015 May 19
2
[LLVMdev] Module crash when adding CallInst
...lization(llvm::Module&) + 551 9 clang 0x00000000011befe5 llvm::FPPassManager::doFinalization(llvm::Module&) + 69 10 clang 0x00000000011ca40d llvm::legacy::PassManagerImpl::run(llvm::Module&) + 813 11 clang 0x0000000001837fad clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 1629 12 clang 0x000000000182a47f 13 clang 0x0000000001bdf043 clang::ParseAST(clang::Sema&, bool...
2015 Jun 04
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
...0x0000000001e29cb7 >> llvm::FPPassManager::doInitialization(llvm::Module&) + 71 >> 17 clang 0x0000000001e331cb >> llvm::legacy::PassManagerImpl::run(llvm::Module&) + 363 >> 18 clang 0x000000000086a323 >> clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions >> const&, clang::TargetOptions const&, clang::LangOptions const&, >> llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + >> 3491 >> 19 clang 0x00000000008594ac >> clang::CodeGenAction::ExecuteAc...
2020 Jul 21
3
[RFC] Preferred error/note style across non-clang tools, e.g. tablegen
...ws.llvm.org/D83588 <https://reviews.llvm.org/D83588> as to whether we ought to prefer emitting TableGen error messages with all of the information in a single diagnostic, or whether it makes sense to split things in an error+note style as seen in many clang diagnostics. TableGen doesn’t use a DiagnosticsEngine, so the concept of a fatal note following an error is a bit new/foreign there, but perhaps something that makes sense adding. >> >> Is there any precedence here for other internal llvm tooling (outside of clang)? What’s the general consensus here? > > I think it makes a lot of s...
2015 Jun 04
2
[LLVMdev] `Ty && "Trying to add a type that doesn't exist?
...; llvm::FPPassManager::doInitialization(llvm::Module&) + 71 >>>> 17 clang 0x0000000001e331cb >>>> llvm::legacy::PassManagerImpl::run(llvm::Module&) + 363 >>>> 18 clang 0x000000000086a323 >>>> clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions >>>> const&, clang::TargetOptions const&, clang::LangOptions const&, >>>> llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + >>>> 3491 >>>> 19 clang 0x00000000008594ac >>...
2013 Dec 04
2
[LLVMdev] DwarfDebug problems
...; 12 clang-3.4 0x0000000103f12b49 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 713 > 13 clang-3.4 0x0000000103f12f5d llvm::legacy::PassManager::run(llvm::Module&) + 13 > 14 clang-3.4 0x0000000104230b3e clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 5790 > 15 clang-3.4 0x000000010431b9a7 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 455 &gt...
2016 Apr 27
2
Assertion in MachineScheduler.cpp
...23 clang-3.5 0x00000000014db766 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 244 24 clang-3.5 0x00000000014db971 llvm::legacy::PassManager::run(llvm::Module&) + 39 25 clang-3.5 0x0000000001ef9c4b 26 clang-3.5 0x0000000001ef9d1a clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 127 27 clang-3.5 0x0000000001ef3637 28 clang-3.5 0x000000000276b1ea clang::ParseAST(clang::Sema&, bool,...
2012 Nov 26
0
[LLVMdev] [llvm-commits] Flag to print vectorized loops
----- Original Message ----- > From: "Sebastian Pop" <spop at codeaurora.org> > To: "Nadav Rotem" <nrotem at apple.com>, llvm-commits at cs.uiuc.edu, llvmdev at cs.uiuc.edu > Sent: Monday, November 26, 2012 5:20:47 PM > Subject: [llvm-commits] Flag to print vectorized loops > > Hi, > > Nadav Rotem wrote: > > > > On Nov 26,
2011 Dec 06
2
[LLVMdev] Assertion `PI && "Expected required passes to be initialized"' failed for AliasAnalysis.
...0x0000000001cb4716 llvm::PassManager::add(llvm::Pass*) + 262 8 clang 0x00000000011e0ea6 llvm::PassManagerBuilder::addExtensionsToPM(llvm::PassManagerBuilder::ExtensionPointTy, llvm::PassManagerBase&) const + 406 9 clang 0x000000000083b5e1 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 897 10 clang 0x0000000000838f61 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 353 11 clang...