search for: astconsumers

Displaying 20 results from an estimated 25 matches for "astconsumers".

Did you mean: astconsumer
2012 Mar 14
0
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
Jun-qi Deng <dengjunqi06323011 at gmail.com> writes: > I got your point. Thank you, and I'd like to provide the relative message > now. But firstly, what do you mean by the "relevant command generated by > your makefile"? What I can tell you now is: > > The Error Message: > make[3]: Entering directory `/home/tang.kk/ppcg/ppcg/isl/interface' > CXXLD
2012 Jun 05
0
[LLVMdev] Have you guys met this issue about "typeinfo" & "vtable" of, ASTConsumer and PluginASTAction?
Hello Guys, From this morning, I have been always trying PrintFunctionNames - an example of clang, but during compiling I was always meeting "__ZTIN5clang15PluginASTActionE", referenced from: __ZTI24PrintFunctionNamesAction in PrintFunctionNames.cpp.o. In fact, I didn't have "__ZTIN5clang15PluginASTActionE" in the symbol table, only I have was
2012 Jun 05
1
[LLVMdev] Have you guys met this issue about "typeinfo" & "vtable" of ASTConsumer and PluginASTAction?
Hello Guys,From this morning, I have been always trying PrintFunctionNames - an example of clang, but during compiling I was always meeting "__ZTIN5clang15PluginASTActionE", referenced from:&nbsp;__ZTI24PrintFunctionNamesAction in PrintFunctionNames.cpp.o.In fact, I didn't have "__ZTIN5clang15PluginASTActionE" in the symbol table, only I have was
2012 Mar 14
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
I got your point. Thank you, and I'd like to provide the relative message now. But firstly, what do you mean by the "relevant command generated by your makefile"? What I can tell you now is: The Error Message: make[3]: Entering directory `/home/tang.kk/ppcg/ppcg/isl/interface' CXXLD extract_interface extract_interface.o:(.data.rel.ro._ZTI13MyASTConsumer[typeinfo for
2008 Dec 18
0
[LLVMdev] Troubles with clang and llvm libraries and simple Xcode project
Hi, I'm having a hard time linking the LLVM/clang libraries in Xcode. I've been fighting this for a couple of days now, and decided to make a fresh checkout and a super-simple demo project to try and isolate the problem, but even so I'm getting undefined symbol errors in the linker for the static libraries LLVM is producing. This is really baffling, so probably I'm
2011 Jul 21
2
[LLVMdev] share between AST and IR?
I wrote a plugin using ASTConsumer and RecursiveASTVisitor to find "interesting" variables and functions. I'm wonder if there is a way to save/flag/metadata these so later on at the IR level I can use this information in a Pass. As far as I can tell nothing currently would allow me todo this and I'm wondering what exactly it would take to do something like this. After stairing
2015 Nov 13
2
[cfe-dev] RFC: Supporting macros in LLVM debug info
On Fri, Nov 13, 2015 at 2:41 PM, Richard Smith <richard at metafoo.co.uk> wrote: > On Fri, Nov 13, 2015 at 10:21 AM, David Blaikie via cfe-dev < > cfe-dev at lists.llvm.org> wrote: > >> On Mon, Nov 9, 2015 at 4:00 AM, Aboud, Amjad <amjad.aboud at intel.com> >> wrote: >> >>> I found a way to skip representing macros in AST and create them
2015 Nov 13
2
RFC: Supporting macros in LLVM debug info
On Mon, Nov 9, 2015 at 4:00 AM, Aboud, Amjad <amjad.aboud at intel.com> wrote: > I found a way to skip representing macros in AST and create them directly > in CGDebugInfo through PPCallbacks during preprocessing. > > To do that, I needed to extend ASTConsumer interface with this extra > method: > > > > /// If the consumer is interested in notifications from
2011 Jul 21
0
[LLVMdev] share between AST and IR?
Hi, Isn't clang::CodeGenOptions::EmitDeclMetadata what you need? Vassil On 07/21/2011 04:32 AM, ret val wrote: > I wrote a plugin using ASTConsumer and RecursiveASTVisitor to find > "interesting" variables and functions. I'm wonder if there is a way to > save/flag/metadata these so later on at the IR level I can use this > information in a Pass. > > As far
2011 Jul 07
0
[LLVMdev] type-system-rewrite branch near landing
>> 1. Many Objective-C(++) tests fail, because they use implicitly >> defined structs for various ObjC runtime data structures; the >> ASTConsumer HandleTagDeclDefinition callback is never called for these >> structs, which means that I don't bother to lay them out, so they only >> ever get an opaque LLVM type. Then we get assertion failures when >>
2011 Jul 07
0
[LLVMdev] type-system-rewrite branch near landing
> 1. Clang - Jay, do you have a patch for this? Yes. It's good enough to build most of LLVM+Clang, except for a couple of files. But I'm running out of time and expertise to be able to fix the remaining bits. Some specific concerns: 1. Many Objective-C(++) tests fail, because they use implicitly defined structs for various ObjC runtime data structures; the ASTConsumer
2015 Nov 05
2
RFC: Supporting macros in LLVM debug info
> Right - I was wondering if CGDebugInfo already implemented PPCallbacks or was otherwise being notified of PPCallback related things, possibly through a layer or two of indirection. I checked the approach of skipping representing macros in AST, and communicate them directly from Parser to CGDebugInfo. However, I could not find a way to initialize this communication. The only interface
2012 Mar 14
0
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
Jun-qi Deng <dengjunqi06323011 at gmail.com> writes: >> Is it? In my experience, it isn't. Please show the relevant command >> generated by your makefile and the associated error message(s). >> > >> RTTI is an on/off option that changes per LLVM library, so setting >> -fno-rtti for using LLVM makes no sense. VMCore and Support have -frtti >> while
2011 Jul 07
7
[LLVMdev] type-system-rewrite branch near landing
On Thu, Jul 7, 2011 at 12:55 AM, Jay Foad <jay.foad at gmail.com> wrote: >> 1. Clang - Jay, do you have a patch for this? > > Yes. It's good enough to build most of LLVM+Clang, except for a couple > of files. But I'm running out of time and expertise to be able to fix > the remaining bits. Some specific concerns: > > 1. Many Objective-C(++) tests fail, because
2012 Mar 14
2
[LLVMdev] llvm-config --cxxflags does not give the result the configuration script wants?
> > Recently I think I found a bug in llvm's CMakeLists.(I use llvm 3.1svn > and > > Clang 3.1) I follow the normal way to try to compile an application that > > utilize both clang and llvm: I ./autogen.sh it, ./configure it and make > it. > > But the make fails. At last I found out the failure is because that the > > Makefile's CXXFLAGS does not contain
2011 Jul 07
5
[LLVMdev] type-system-rewrite branch near landing
An update on the type-system-rewrite branch (http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/): It's now to the point where it passes all regression tests all of single source (and most of externals/multisource) when using an LLVM 2.9 version of clang to compile programs to a rbc file. I have what looks like one more subtle type mapping bug to track down, which will
2010 Aug 05
1
[LLVMdev] RegAllocFast assertion in trunk...
Any ideas? Instruction uses an alias of an allocated register UNREACHABLE executed at RegAllocFast.cpp:358! 0 clang 0x0000000101309bc2 PrintStackTrace(void*) + 34 1 clang 0x000000010130a863 SignalHandler(int) + 707 2 libSystem.B.dylib 0x00007fff8056935a _sigtramp + 26 3 libSystem.B.dylib 000000000000000000 _sigtramp + 2141809856 4 clang 0x00000001012dd96d
2012 Feb 11
1
[LLVMdev] Clang passes
Hi. I've tried to search the way to write a pass for clang like a pass for opt, but I haven't find it. Is it possible? I need to save class inheritance of the program being processed to external file. Thanks! Yours sincerely, Kadysev Mikhail -------------- next part -------------- An HTML attachment was scrubbed... URL:
2012 Feb 25
0
[LLVMdev] Clang plugin - save metadata
Hi! I've tried to write a plugin for clang using an example. class PrintInheritanceConsumer : public ASTConsumer { public: virtual void HandleTopLevelDecl(DeclGroupRef DG) { ......... } }; I need to save Metadata for Type or Module into IR, but I can't find a way to do this, can you help me? Thanks! Yours sincerely, Kadysev Mikhail -------------- next part -------------- An HTML
2014 Jul 18
2
[LLVMdev] [cfe-dev] Use of Smart Pointers in LLVM Projects
No objections here. I'd be glad to see this go in. :) - Lang. On Fri, Jul 18, 2014 at 4:30 PM, Eric Christopher <echristo at gmail.com> wrote: > Sounds like we've got sufficient amount of momentum here for Dave to > go ahead and recommit. Any last objections? > > -eric > > On Fri, Jul 18, 2014 at 1:35 PM, Eli Bendersky <eliben at google.com> wrote: >