[LLVMdev] Is line number in DbgStopPointInst in LLVM accurate?
hc2428 at columbia.edu
hc2428 at columbia.edu
Thu Sep 24 13:02:55 PDT 2009
Quoting hc2428 at columbia.edu:
The C or CXX flags are "-O0 -g". I am not using any optimization options.
> Dear developers,
> When I try to map line numbers in source code back to LLVM
> basicblocks, I meet some problems: there is a source file with 1500
> lines of code, but when I use BasicBlockPass to collect all
> DbgStopPoint instructions in this file, I can only get 500 lines of
> code.
> The source code and the collected results are both attached.
> Is there any way to map line numbers in source code back to an
> LLVM basicblock precisely? Can LLVM-2.6 do this?
>
> Thanks,
> Heming
More information about the llvm-dev
mailing list