Displaying 2 results from an estimated 2 matches for "bb_info".
Did you mean:
fb_info
2010 Sep 15
2
[LLVMdev] getAnalysis<LoopInfo> from ModulePass
...) called on an analysis that was not " "'required' by pass!"' failed.
What actually this assertion means?
Whenever I change the ModulePass to the FunctionPass the code bellow works just fine.
Here is the code:
# ============================== #
#define DEBUG_TYPE "bb_info"
#include "llvm/Pass.h"
#include "llvm/Function.h"
#include <llvm/Module.h>
#include "llvm/Support/raw_ostream.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/LoopInfo.h"
using namespace llvm;
namespace {
struct bb_...
2010 Sep 15
0
[LLVMdev] getAnalysis<LoopInfo> from ModulePass
..." "'required' by pass!"' failed.
> What actually this assertion means?
>
> Whenever I change the ModulePass to the FunctionPass the code bellow works just fine.
>
> Here is the code:
> # ============================== #
>
> #define DEBUG_TYPE "bb_info"
> #include "llvm/Pass.h"
> #include "llvm/Function.h"
> #include <llvm/Module.h>
> #include "llvm/Support/raw_ostream.h"
> #include "llvm/ADT/Statistic.h"
> #include "llvm/Analysis/LoopInfo.h"
>
> using namespace...