bc就是这行命令来的啊。。
./mk-httpd-llvm 2.2.11: build httpd.bc
满篇的!dbg都不是带debug info的版本么。。
怎么编带debug info的？

2013/2/13 wujingyue <notifications@github.com>

> In lib/Analyses/ReductionVerifier.cpp:
>
> > +// to use ReductionVerifier as the underlying AA to generate the call
> > +// graph.
> > +// static RegisterAnalysisGroup<AliasAnalysis> Y(X);
> > +
> > +char ReductionVerifier::ID = 0;
> > +
> > +bool ReductionVerifier::runOnModule(Module &M) {
> > +  Function *DeclareFn = Intrinsic::getDeclaration(&M, Intrinsic::dbg_declare);
> > +  for (Value::use_iterator UI = DeclareFn->use_begin();
> > +       UI != DeclareFn->use_end(); ++UI) {
> > +    User *Usr = *UI;
> > +    assert(isa<CallInst>(Usr) || isa<InvokeInst>(Usr));
> > +    CallSite CS(cast<Instruction>(Usr));
> > +    MDNode *MD = cast<MDNode>(CS.getArgument(0));
> > +    Value *V = MD->getOperand(0);
> > +    errs() << *V << "\n";
>
> 你的bc哪来的呀？要不你自己重编一个带debug info的bc，保证你就晕了。
>
> 你说的什么方法呀，不懂。
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/wujingyue/neongoby/pull/4/files#r2996541>.
>
>