Displaying 14 results from an estimated 14 matches for "calldefaultctor".
2009 May 23
0
[LLVMdev] why RegisterPass<TargetData> initialize itself twice in my system
...86_64 in linux-Fedora 7. Is that okay i remove the asssert
stmt to use it?
-------------- next part --------------
;; 1st
PassInfo (this=0x2aaaac3472a0, name=0x2aaaabe24421 "Target Data Layout", arg=0x2aaaabe24434 "targetdata", pi=17004736, normal=0xada74e <llvm::Pass* llvm::callDefaultCtor<llvm::TargetData>()>, isCFGOnly=false, is_analysis=true) at /home/xliu/dev/llvm/include/llvm/PassSupport.h:59
(gdb) bt
#0 PassInfo (this=0x2aaaac3472a0, name=0x2aaaabe24421 "Target Data Layout", arg=0x2aaaabe24434 "targetdata", pi=17004736, normal=0xada74e <llvm::Pa...
2015 Oct 09
2
Get instance of CallGraph of a module in the pass
...s *CGWP = new CallGraphWrapperPass();
PM.add(CGWP);
CallGraph *CG = &CGWP->getCallGraph();
PM.add(new MyPass(CG));
I get the following error:
/home/riyad/installs/llvm-3.7.0/include/llvm/PassSupport.h:95:38: error: no
matching constructor for initialization of
'MyPass'
Pass *callDefaultCtor() { return new PassName(); }
My guess is pass manager needs pass with default constructor. Is there any
easy way to get instance of call graph in my pass?
Thanks in Advance,
Riyad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...ormat
[ 85%] Built target diagtool
[ 85%] Built target clang-offload-bundler
[ 85%] Linking CXX executable ../../../../bin/clang
/home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::objcarc::ObjCARCAAWrapperPass>()): relocation R_ARM_CALL out of range
/home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::objcarc::ObjCARCAAWra...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...iagtool
>> [ 85%] Built target clang-offload-bundler
>> [ 85%] Linking CXX executable ../../../../bin/clang
>> /home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::objcarc::ObjCARCAAWrapperPass>()): relocation R_ARM_CALL out of range
>> /home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::objcarc::Obj...
2010 Feb 02
3
[LLVMdev] Problem in Adding a pass to LLVM
...bika/llvm1/llvm-obj/Release/lib/libLLVMipa.a(ProfileAlias.o): In
function `llvm::createProfileAliasPass()':
ProfileAlias.cpp:(.text+0x46): undefined reference to `vtable for
ProfileAlias'
/home/ambika/llvm1/llvm-obj/Release/lib/libLLVMipa.a(ProfileAlias.o): In
function `llvm::Pass* llvm::callDefaultCtor<ProfileAlias>()':
ProfileAlias.cpp:(.text._ZN4llvm15callDefaultCtorI12ProfileAliasEEPNS_4PassEv[llvm::Pass*
llvm::callDefaultCtor<ProfileAlias>()]+0x26): undefined reference to
`vtable for ProfileAlias'
/usr/bin/ld: /home/ambika/llvm1/llvm-obj/Release/bin/opt: hidden symbol
`...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...[ 85%] Built target clang-offload-bundler
>>> [ 85%] Linking CXX executable ../../../../bin/clang
>>> /home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::objcarc::ObjCARCAAWrapperPass>()): relocation R_ARM_CALL out of range
>>> /home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::objc...
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...Built target clang-offload-bundler
>>>> [ 85%] Linking CXX executable ../../../../bin/clang
>>>> /home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::objcarc::ObjCARCAAWrapperPass>()): relocation R_ARM_CALL out of range
>>>> /home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::...
2009 Aug 10
2
[LLVMdev] How to use a FunctionPass in a ModulePass?
.... " "Tool did not specify a TargetData to use?"' failed.
0 opt 0x08604986
1 opt 0x08604cc8
2 0x003ba400 __kernel_sigreturn + 0
3 libc.so.6 0x009cce28 abort + 392
4 libc.so.6 0x009c440e __assert_fail + 238
5 opt 0x08507bc5 llvm::Pass*
llvm::callDefaultCtor<llvm::TargetData>() + 0
6 opt 0x08507be2 llvm::Pass*
llvm::callDefaultCtor<llvm::TargetData>() + 29
7 opt 0x08596996 llvm::PassInfo::createPass() const + 126
8 opt 0x0859156a llvm::PMTopLevelManager::schedulePass(llvm::Pass*)
+ 284
9 opt 0x085915f1 llvm::...
2017 Jun 30
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...rget clang-offload-bundler
>>>>>> [ 85%] Linking CXX executable ../../../../bin/clang
>>>>>> /home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<llvm::objcarc::ObjCARCAAWrapperPass>()): relocation R_ARM_CALL out of range
>>>>>> /home/yawmoo/Desktop/clfs/llvm-cross-tools-lld/bin/ld.lld: error: /home/yawmoo/Desktop/clfs/sources/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp:(function llvm::Pass* llvm::callDefaultCtor<ll...
2017 Jun 27
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
> On 26 Jun 2017, at 16:25, Rui Ueyama <ruiu at google.com> wrote:
>
> On Sun, Jun 25, 2017 at 6:40 AM, Alessandro Pistocchi via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
> Hi,
>
> I am trying to build a completely GNU free linux toolchain for the raspberry pi.
>
> I successfully managed to compile llvm and clang
2010 Mar 01
1
[LLVMdev] RegisterPass isAnalysis parameter
On Feb 26, 2010, at 7:42 PM, Tom Prince wrote:
> You cannot refer to anything in anonymous namespace by name from
> another file, however, if you have a pointer, say, then you can
> still use the
> pointer.
Yes, that would make sense, except I don't see any pointers being
passed. The relevant line in lib/Transforms/Hello.cpp is:
static RegisterPass<Hello>
2004 Sep 02
0
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
...lar/DeadStoreElimination.cpp:72:
warning: passing negative value `-0x000000001' for converting 2 of `bool
llvm::AliasSetTracker::add(llvm::Value*, unsigned int)'
Compiling LoopExtractor.cpp
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/PassSupport.h: In
function `llvm::Pass* llvm::callDefaultCtor() [with PassName =
<unnamed>::LoopExtractor]':
/home/wanderer/pkg/build/llvm/src/llvm/include/llvm/PassSupport.h:209:
instantiated from `llvm::RegisterOpt<PassName>::RegisterOpt(const char*,
const char*, bool) [with PassName = <unnamed>::LoopExtractor]'
/home/wanderer/p...
2004 Sep 01
2
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
LLVM build without big problems in obj dir == src dir case (for example,
last night tester build)
But I have problem with building CVS version LLVM in obj dir != src dir
case.
======= Finished building ModuleMaker debug executable (without symbols)
=======
gmake[2]: Leaving directory
`/usr/home/wanderer/pkg/build/llvm/obj/examples/ModuleMaker'
gmake[1]: Leaving directory
2004 Sep 02
1
[LLVMdev] Problem with CVS LLVM build in obj != src dir case
...2:
> warning: passing negative value `-0x000000001' for converting 2 of `bool
> llvm::AliasSetTracker::add(llvm::Value*, unsigned int)'
>
> Compiling LoopExtractor.cpp
> /home/wanderer/pkg/build/llvm/src/llvm/include/llvm/PassSupport.h: In
> function `llvm::Pass* llvm::callDefaultCtor() [with PassName =
> <unnamed>::LoopExtractor]':
> /home/wanderer/pkg/build/llvm/src/llvm/include/llvm/PassSupport.h:209:
> instantiated from `llvm::RegisterOpt<PassName>::RegisterOpt(const char*,
> const char*, bool) [with PassName = <unnamed>::LoopExtractor]...