Displaying 6 results from an estimated 6 matches for "diagnosticprinter".
2012 May 29
1
[LLVMdev] [cfe-commits] r157260 - in /cfe/trunk: include/clang/Rewrite/Rewriter.h lib/Rewrite/Rewriter.cpp unittests/CMakeLists.txt unittests/Tooling/RewriterTest.cpp unittests/Tooling/RewriterTestContext.h
..."clang/Basic/FileManager.h"
>>> > +#include "clang/Basic/LangOptions.h"
>>> > +#include "clang/Basic/SourceManager.h"
>>> > +#include "clang/Frontend/DiagnosticOptions.h"
>>> > +#include "clang/Frontend/TextDiagnosticPrinter.h"
>>> > +#include "clang/Rewrite/Rewriter.h"
>>> > +#include "llvm/Support/Path.h"
>>> > +#include "llvm/Support/raw_ostream.h"
>>> > +
>>> > +namespace clang {
>>> > +
>>> > +///...
2015 May 30
2
[LLVMdev] Linking modules across contexts crashes
...er::LinkModules should say if
contexts are or aren't expected to be the same.
Yuri
---testcase---
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/Linker/Linker.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include <string>
#include <iostream>
using namespace llvm;
using namespace std;
int main() {
// vars
string Message;
raw_string_ostream Stream(Message);
DiagnosticPrinterRawOStream DP(Stream);
LLVMBool Result;
// create blank modules and contexts
LLVMCont...
2015 Jun 01
2
[LLVMdev] Linking modules across contexts crashes
...ame.
Good idea; patch welcome.
>
> Yuri
>
>
> ---testcase---
> #include "llvm/IR/LLVMContext.h"
> #include "llvm/IR/Module.h"
> #include "llvm/Linker/Linker.h"
> #include "llvm/Support/raw_ostream.h"
> #include "llvm/IR/DiagnosticPrinter.h"
> #include <string>
> #include <iostream>
>
> using namespace llvm;
> using namespace std;
>
> int main() {
> // vars
> string Message;
> raw_string_ostream Stream(Message);
> DiagnosticPrinterRawOStream DP(Stream);
> LLVMBool Resu...
2017 Aug 22
5
[RFC] mir-canon: A new tool for canonicalizing MIR for cleaner diffing.
Patch for review.
On Mon, Aug 21, 2017 at 11:45 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com>
wrote:
> Ping.
>
> Still working on preparing code for review. Will have a patch for review
> ready in the coming days.
>
> PL
>
> On Tue, Aug 15, 2017 at 12:06 PM Puyan Lotfi <puyan.lotfi.llvm at gmail.com>
> wrote:
>
>> Hi,
>>
>>
>>
2016 Feb 03
13
[RFC] Error handling in LLVM libraries.
Hi All,
I've been thinking lately about how to improve LLVM's error model and error
reporting. A lack of good error reporting in Orc and MCJIT has forced me to
spend a lot of time investigating hard-to-debug errors that could easily
have been identified if we provided richer error information to the client,
rather than just aborting. Kevin Enderby has made similar observations
about the
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...ut.cpp for Release+Asserts build
llvm[1]: Compiling DebugInfo.cpp for Release+Asserts build
llvm[1]: Compiling DebugInfoMetadata.cpp for Release+Asserts build
llvm[1]: Compiling DebugLoc.cpp for Release+Asserts build
llvm[1]: Compiling DiagnosticInfo.cpp for Release+Asserts build
llvm[1]: Compiling DiagnosticPrinter.cpp for Release+Asserts build
llvm[1]: Compiling Dominators.cpp for Release+Asserts build
llvm[1]: Compiling Function.cpp for Release+Asserts build
llvm[1]: Compiling GCOV.cpp for Release+Asserts build
llvm[1]: Compiling GVMaterializer.cpp for Release+Asserts build
llvm[1]: Compiling Globals.cpp fo...