search for: diagkind

Displaying 11 results from an estimated 11 matches for "diagkind".

Did you mean: dbgkind
2012 Jun 04
2
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...ol for the job! :) Inline asm is the only place where we have a way of mapping form LLVM IR to frontend source locations at the moment. > As Hal points out, this only covers errors at the moment.  Is there any > resistance to changing emitError to emitDiagnostic and having a > SourceMgr::DiagKind argument?  This should cover the case where a pass wants > to emit a warning or info message that is not part to DEBUG. > > With LLVMContext::emitDiagnostic, this should cover my use case. I'm not exactly opposed, but what is your use case? -Eli
2012 Jun 04
0
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...st time I read through this stuff because I saw "InlineAsm" everywhere and figured it wasn't the right tool for the job! :) 2. As Hal points out, this only covers errors at the moment. Is there any resistance to changing emitError to emitDiagnostic and having a SourceMgr::DiagKind argument? This should cover the case where a pass wants to emit a warning or info message that is not part to DEBUG. With LLVMContext::emitDiagnostic, this should cover my use case. > -Hal > > > > > -Chris > > > > _______________________________________________...
2012 Jun 03
2
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
On Sun, 03 Jun 2012 12:12:06 -0700 Chris Lattner <clattner at apple.com> wrote: > > On Jun 2, 2012, at 11:01 AM, Mikael Lyngvig wrote: > > > If I may add my two cents: > > > > I am planning to use LLVM as the backend for a compiler I am > > working on. And I wholeheartedly agree with Justin that it is a > > problem, if LLVM is allowed to freely
2012 Jun 04
0
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...e right annotations, we could print IR information like function name, basic block name, global variable name, etc. > > > As Hal points out, this only covers errors at the moment. Is there any > > resistance to changing emitError to emitDiagnostic and having a > > SourceMgr::DiagKind argument? This should cover the case where a pass > wants > > to emit a warning or info message that is not part to DEBUG. > > > > With LLVMContext::emitDiagnostic, this should cover my use case. > > I'm not exactly opposed, but what is your use case? > Generic w...
2016 Mar 25
2
Link error on Linux
...<<(char)': /home/a/llvm/include/llvm/Support/raw_ostream.h:141: undefined reference to `llvm::raw_ostream::write(unsigned char)' aklo-aklo.o: In function `error(std::string)': /mnt/a2/aklo.cpp:172: undefined reference to `llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, llvm::ArrayRef<llvm::SMFixIt>, bool) const' aklo-aklo.o: In function `print(long)': /mnt/a2/aklo.cpp:388: undefined reference to `llvm::outs()' /mnt/a2/aklo.cpp:393: undefined reference to `llvm::outs()' aklo-aklo.o...
2016 Mar 25
3
Link error on Linux
...m/Support/raw_ostream.h:141: undefined reference > to > > `llvm::raw_ostream::write(unsigned char)' > > aklo-aklo.o: In function `error(std::string)': > > /mnt/a2/aklo.cpp:172: undefined reference to > > `llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, > > llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, > > llvm::ArrayRef<llvm::SMFixIt>, bool) const' > > aklo-aklo.o: In function `print(long)': > > /mnt/a2/aklo.cpp:388: undefined reference to `llvm::outs()' > > /mnt/a2/aklo.cpp:393: und...
2012 Jun 04
2
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...ser. Function/global names are not really ideal, but could be reasonable depending on what you're doing. >> > As Hal points out, this only covers errors at the moment.  Is there any >> > resistance to changing emitError to emitDiagnostic and having a >> > SourceMgr::DiagKind argument?  This should cover the case where a pass >> > wants >> > to emit a warning or info message that is not part to DEBUG. >> > >> > With LLVMContext::emitDiagnostic, this should cover my use case. >> >> I'm not exactly opposed, but what is y...
2016 Mar 25
0
Link error on Linux
.../home/a/llvm/include/llvm/Support/raw_ostream.h:141: undefined reference to > `llvm::raw_ostream::write(unsigned char)' > aklo-aklo.o: In function `error(std::string)': > /mnt/a2/aklo.cpp:172: undefined reference to > `llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, > llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, > llvm::ArrayRef<llvm::SMFixIt>, bool) const' > aklo-aklo.o: In function `print(long)': > /mnt/a2/aklo.cpp:388: undefined reference to `llvm::outs()' > /mnt/a2/aklo.cpp:393: undefined reference to `llvm...
2016 Mar 25
2
Link error on Linux
...m.h:141: undefined >> reference to >> > `llvm::raw_ostream::write(unsigned char)' >> > aklo-aklo.o: In function `error(std::string)': >> > /mnt/a2/aklo.cpp:172: undefined reference to >> > `llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, >> > llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, >> > llvm::ArrayRef<llvm::SMFixIt>, bool) const' >> > aklo-aklo.o: In function `print(long)': >> > /mnt/a2/aklo.cpp:388: undefined reference to `llvm::outs()' >> > /mnt/...
2016 Mar 25
0
Link error on Linux
...e/llvm/Support/raw_ostream.h:141: undefined reference to > > `llvm::raw_ostream::write(unsigned char)' > > aklo-aklo.o: In function `error(std::string)': > > /mnt/a2/aklo.cpp:172: undefined reference to > > `llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, > > llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, > > llvm::ArrayRef<llvm::SMFixIt>, bool) const' > > aklo-aklo.o: In function `print(long)': > > /mnt/a2/aklo.cpp:388: undefined reference to `llvm::outs()' > > /mnt/a2/aklo.cpp:393: und...
2016 Mar 25
0
Link error on Linux
...aw_ostream.h:141: undefined reference to >> > `llvm::raw_ostream::write(unsigned char)' >> > aklo-aklo.o: In function `error(std::string)': >> > /mnt/a2/aklo.cpp:172: undefined reference to >> > `llvm::SourceMgr::PrintMessage(llvm::SMLoc, llvm::SourceMgr::DiagKind, >> > llvm::Twine const&, llvm::ArrayRef<llvm::SMRange>, >> > llvm::ArrayRef<llvm::SMFixIt>, bool) const' >> > aklo-aklo.o: In function `print(long)': >> > /mnt/a2/aklo.cpp:388: undefined reference to `llvm::outs()' >> > /mnt/...