search for: gerion

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

Did you mean: verion
2017 Nov 24
3
Get values from a given type
Hi, if one has a Value object, the Type of the Value can be retrieved with getType(). Is there a way back, get a list of all values that refer to a specific type (i.e. a struct etc.)? Regards, Gerion
2017 Jun 11
2
Get segfault with ModulePass
...2aed8b482 llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Argument, true, false, void>, false, true>::operator->() const /usr/lib/llvm/4/include/llvm/ADT/ilist_iterator.h:142:0 #10 0x00007fc2aed895da (anonymous namespace)::GremlinPass::runOnModule(llvm::Module&) /home/gerion/sourcecode/debug-pass/debugpass/DebugPass.cpp:41:0 ... -------------------- > FWIW, StringRefs aren't guaranteed to be nul-terminated. They support > a similar comparison API as std::strings, though, so things like > `user->getOpcodeName() == "<Invalid operator>"`...
2017 Jun 09
2
Get segfault with ModulePass
...DILocation::getScope() const /usr/lib/llvm/4/include/llvm/IR/DebugInfoMetadata.h:1274:0 #8 0x00007fa709a074a8 llvm::DILocation::getFilename() const /usr/lib/llvm/4/include/llvm/IR/DebugInfoMetadata.h:1280:0 #9 0x00007fa709a062e2 (anonymous namespace)::DebugPass::runOnModule(llvm::Module&) /home/gerion/sourcecode/debug-pass/debugpass/DebugPass.cpp:50:0 ... ---------------- If I filter out the invalid operators I get an endless loop (the outcommented lines). To get this running, I have used the gremlin-pass-skeleton I found on Github [1] together with the modification for modules here [2]. I lo...
2017 Jul 10
2
Problems with registering of ModulePass (with Dependencies)
...yPass0(PassManagerBuilder::EP_EnabledOnOptLevel0, registerSkeletonPass); -------- /snip------ Invocation per: clang -Xclang -load -Xclang /path/to/llvm-pass-skeleton/build/skeleton/libSkeletonPass.so -g test.c I use clang 4.0.1. Can someone give me an advice, how to fix this and use the LoopInfo? Gerion [1] https://github.com/sampsyo/llvm-pass-skeleton/issues/7