search for: optionst

Displaying 2 results from an estimated 2 matches for "optionst".

Did you mean: options
2017 Jun 11
2
Get segfault with ModulePass
...to be the argument iterator. Do you know some way to circumvent this. I've found no way to directly get the ith argument of a function. New stacktrace (same file btw): ----------------- ... op_code: phi clang-4.0: /usr/lib/llvm/4/include/llvm/ADT/ilist_iterator.h:139: llvm::ilist_iterator<OptionsT, IsReverse, IsConst>::reference llvm::ilist_iterator<OptionsT, IsReverse, IsConst>::operator*() const [with OptionsT = llvm::ilist_detail::node_options<llvm::Argument, true, false, void>; bool IsReverse = false; bool IsConst = true; llvm::ilist_iterator<OptionsT, IsReverse, IsCons...
2017 Jun 09
2
Get segfault with ModulePass
Hi, don't know if this is the right list. Please post a better place, otherwise. I'm currently writing a LLVM ModulePass and ran into strange segfaults or endless loops within LLVM. My main question is, if this is a programming error or API misuse from me or a LLVM bug? Here is some minimal code, that triggers the bug: ---------------- class DebugPass : public ModulePass { public: