search for: sourcelocations

Displaying 20 results from an estimated 64 matches for "sourcelocations".

Did you mean: sourcelocation
2012 Sep 13
1
[LLVMdev] Parsing C++ template parameters using cindex.py
Hi, I am parsing a C++ file using cindex.py and want to get the template parameters to a specific node. However, the tree seems to be different depending on if the template parameter is a struct/class or a simple type such as int or float. In the first case the template type is appended as a child to the VAR_DECL node (the TYPE_REF node seen in the example below), but this is not the case with
2010 Oct 13
1
[LLVMdev] EXC_BAD_ACCESS: invalid MemoryBuffer from ContentCache::getBuffer
I'm using the latest llvm/clang 2.8 releases and am getting EXC_BAD_ACCESS crashes in ContentCache::getBuffer. This happens when I'm printing out errors from a compilation run and iterating over TextDiagnosticBuffer returned errors. When checking the errors, I construct a FullSourceLoc and do: int LineNum = SourceLoc.getInstantiationLineNumber(); int ColNum =
2017 Jul 21
2
Where does the LLVM implement the Ubsan's instrumentations?
> On Jul 21, 2017, at 6:04 AM, Shi, Steven via llvm-dev <llvm-dev at lists.llvm.org> wrote: > >>> I think your best bet for controlling code bloat is to compile with >>> -fsanitize=undefined -fsanitize-trap=undefined. >> >> Also you may not need all of UBSan's checks at the same time -- so pick >> and choose among its checks using the
2016 Jul 20
2
[XRay] Build instrumented Clang, some analysis results
Hi everyone, TL;DR: With current pending patches applied in compiler-rt and llvm, and trunk clang, you can build your application with XRay tracing enabled on Linux with tracing enabled before main starts, and logging stops when the main thread exits. Just a quick update, I have some patches under review that when applied cleanly to LLVM and compiler-rt allows for building applications with XRay
2011 Oct 25
2
[LLVMdev] [LLVMDev] Clang stopped compiling?
Hi, I'm trying to compile the latest clang/llvm SVN versions and I get this error on multiple systems : (Compiling with gcc): llvm[4]: Compiling cc1_main.cpp for Debug+Asserts build llvm[4]: Compiling cc1as_main.cpp for Debug+Asserts build llvm[4]: Compiling driver.cpp for Debug+Asserts build llvm[4]: Linking Debug+Asserts executable clang
2013 May 26
2
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
Dear All, I have a question How could I use WhileStmt class in Stmt.h http://clang.llvm.org/doxygen/Stmt_8h_source.html to implement while loop like while(i==1){} that is required to be inserted For example, Convert x++; y++; to x++; while(i=1){} y++; from the class's constructor: WhileStmt(ASTContext &C, VarDecl *Var, Expr *cond, Stmt *body,SourceLocation WL);//I know C -->
2020 May 21
2
RFC: Add DWARF support for yaml2obj
On 5/21/20, Adrian Prantl <aprantl at apple.com> wrote: > I think the example looks like it would be really useful for many categories > of testcases! > Will it still be possible to manually specify the .debug_abbrev section when > this is desired after you are done? Yes, I think it works. There are two ways to edit the .debug_abbrev section. i) Edit the "Attr:" and
2012 Sep 09
2
[LLVMdev] : troubles during compiling
Hello everyone! After I've checked out Clang and Compiler-RT repositories, I receive this error during compilation: llvm[5]: Compiling PathDiagnostic.cpp for Debug+Asserts build /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp: In member function 'bool {anonymous}::CompareDiagnostics::operator()(const clang::ento::PathDiagnostic*, const
2011 Oct 25
0
[LLVMdev] [LLVMDev] Clang stopped compiling?
On Oct 25, 2011, at 6:09 AM, Marcello Maggioni wrote: > Hi, I'm trying to compile the latest clang/llvm SVN versions and I get > this error on multiple systems : Linking, not compiling, but still. I am getting a similar error when building this morning. > Undefined symbols for architecture x86_64: > "clang::Sema::checkPseudoObjectRValue(clang::Expr*)", referenced
2012 Sep 09
0
[LLVMdev] : troubles during compiling
Hi Vadim, which compiler are you using to to the build, what platform are you on, how did you configure LLVM, clang etc ? Ciao, duncan. On 09/09/12 03:36, Vadim Khoptynets wrote: > Hello everyone! > > After I've checked out Clang and Compiler-RT repositories, I receive this error > during compilation: > > llvm[5]: Compiling PathDiagnostic.cpp for Debug+Asserts build >
2013 May 26
0
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
Rasha Omar wrote: > Dear All, > > I have a question > > How could I use |WhileStmt class| in Stmt.h > > http://clang.llvm.org/doxygen/Stmt_8h_source.html > > to implement |while loop| like |while(i==1){}| that is required to be > inserted > > For example, Convert x++; y++; to x++; while(i=1){} y++; > > from the class's constructor: > >
2016 Dec 24
1
failure at link time 3.9.1
As a note, I experimentally attempted to build 391 branch "just llvm + clang" on ubuntu the other day, and got this: [ 90%] Linking CXX executable ../../../../bin/clang ../../../../lib/libclangCodeGen.a(ObjectFilePCHContainerOperations.cpp.o): In function `(anonymous namespace)::PCHContainerGenerator::DebugTypeVisitor::VisitImportDecl(clang::ImportDecl*)':
2013 May 26
1
[LLVMdev] How to use WhileStmt to implement while loop in LLVM
No, I need to use it in LLVM pass. Could it work? On 26 May 2013 10:41, Nick Lewycky <nicholas at mxc.ca> wrote: > Rasha Omar wrote: > >> Dear All, >> >> I have a question >> >> How could I use |WhileStmt class| in Stmt.h >> >> http://clang.llvm.org/doxygen/**Stmt_8h_source.html<http://clang.llvm.org/doxygen/Stmt_8h_source.html>
2015 Nov 30
2
samba430-jessie script question
All software development progresses so quickly that anyone's script may not be current. Even a script I may have written. And that is the overall challenge with scripts, in general. We users become dependent on scripts. And we users need the learn independence. I have been learning what scripts do and how scripts do what they do. I was wanting to install 4.3.1 on Debian8 and see if I
2012 Jul 03
2
[LLVMdev] error with cmake build of llvm
Dear all, I am trying to build the llvm with cmake and using the following checkouts. LLVM version 3.2svn clang version 3.2 (trunk 158320) (llvm/trunk 158308) cmake runs with default configuration without any problem. cmake ../llvm -- Target triple: i686-pc-linux-gnu -- Native target architecture is X86 -- Threads enabled. -- Building with -fPIC -- Constructing LLVMBuild project information --
2015 Nov 30
0
samba430-jessie script question
On 30/11/15 12:54, Bob of Donelson Trophy wrote: > > > All software development progresses so quickly that anyone's script may > not be current. Even a script I may have written. And that is the > overall challenge with scripts, in general. We users become dependent on > scripts. And we users need the learn independence. I have been learning > what scripts do and how
2020 May 22
2
RFC: Add DWARF support for yaml2obj
Hi Pavel, Thanks for your comments! On 5/21/20, Pavel Labath <pavel at labath.sk> wrote: > Hello Xing, > > I think the proposal looks very useful. I think it will be fairly tricky > to get all of the details right though. There is a lot of "inferring" > going on there, and getting that to work reliably and with predictable > results will need careful
2020 Jun 09
4
[RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
Thank you all for your feedback, this has been very helpful! There have been a few important points raised by different people. Below I try to address them one by one. I hope that you don't mind me sending it in one email. Please let me know if I missed something! *QUESTIONS RAISED IN PREVIOUS EMAILS* On 02/06/2020 20:51, Eli Friedman wrote: > Separate from clang, LLVM itself actually
2020 Jun 03
2
[cfe-dev] [RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
On Tue, Jun 2, 2020 at 6:38 PM Richard Smith via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On Tue, 2 Jun 2020 at 05:08, Andrzej Warzynski via cfe-dev < > cfe-dev at lists.llvm.org> wrote: > >> *TL;DR* >> >> We propose some non-trivial refactoring in Clang and LLVM to enable >> further work on Flang driver. >> >> *SUMMARY* >> We
2011 Nov 09
2
[LLVMdev] [cfe-dev] LLVM 3.0rc3 Testing Beginning
On 7 November 2011 22:00, Bill Wendling <wendling at apple.com> wrote: > We are starting on our third (and hopefully last) round of testing for LLVM 3.0. Please visit: > >        http://llvm.org/pre-releases/3.0/rc3/ > > for the sources. There are also binaries for Darwin up there, with > more to come during the week. Please build this release candidate, > test it out