search for: cgclass

Displaying 4 results from an estimated 4 matches for "cgclass".

Did you mean: cclass
2015 Mar 04
2
[LLVMdev] Clang 3.5.1 assertion failure on FreeBSD when building LLDB
...stdio Assertion: Assertion failed: ((!DD->isTrivial() || DD->hasAttr<DLLExportAttr>()) && "Should not emit dtor epilogue for non-exported trivial dtor!"), function EnterDtorCleanups, file /usr/src/lib/clang/libclangcodegen/../../../contrib/llvm/tools/clang/lib/CodeGen/CGClass.cpp, line 1429. Galina, is it possible to get the /tmp/CommandLine-26c092.cpp and .sh from the bot?
2012 Aug 28
0
[LLVMdev] Please help to fix -Wdocumentation warninigs
...~~~~~~~~~~~~ /home/grib/clang-scp/llvm/tools/clang/lib/Parse/ParseTemplate.cpp:842:12: note: did you mean 'TemplateName'? /// \param TemplateNameKind the kind of template that \p Template ^~~~~~~~~~~~~~~~ TemplateName /home/grib/clang-scp/llvm/tools/clang/lib/CodeGen/CGClass.cpp:1099:12: warning: parameter 'argBegin,argEnd' not found in the function declaration [-Wdocumentation] /// \param argBegin,argEnd the arguments to evaluate and pass to the ^~~~~~~~~~~~~~~ /home/grib/clang-scp/llvm/tools/clang/lib/CodeGen/CGClass.cpp:1126:12: warning: par...
2013 Jan 01
2
[LLVMdev] IR function pointers
Hi Tim, This is C++ indeed. Basically, I am profiling the code. So, these edges that cannot be resolved at compile time present a problem. Where can I find these devirtualization optimizations that you mentioned? Thanks. -Apala On 01/01/2013 12:18 PM, Tim Northover wrote: > > Hi, > > > For example: call void %1608(%"struct.LRT::RGBAucharFrameBuffer"* > > %1604)
2019 Apr 19
2
Question: How to access c++ vtable pointer to use as Value* in LLVM pass
...ated. Creating & inserting a function call at the correct location in LLVM is done. I have learned that C++ objects are represented as struct types. But I'm just not quite sure how to get at the vtable pointer within, when looking at the interface of Value:: class. clang, more specifically CGClass.cpp, deals with C++ initializing constructors and destructors and its API is straightforward while I can't find the similar API calls in the LLVM counter part. So far I am able to get the class object itself from a loadInst or CallInst and I can iterate through the StructType, and the structs...