search for: mlllvm

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

Did you mean: mllvm
2018 May 22
0
LLVM dwarf info is not complete
...o LLVM intentionally drops the debug location in this case. If you want to better understand what the compiler is doing and why some source locations go missing, I recommend generating the smallest possible reproducer of your problem and then compiling the program with -print-after-all (in clang: -mlllvm -print-after-all). This will dump the intermediate representation after each compiler pass and will allow you to pinpoint the step where the source location you are interested in is being dropped. With that information you can then decide whether that is a bug in LLVM (quite possible) or whether th...
2018 May 22
2
LLVM dwarf info is not complete
Hi I am using llvm-dwarfdump to dump the line table with -debug-line option. I compiled my program with -gdwarf-3. I first get the line number and source number for every instruction of the LLVM IR with metadata. Then I try to find the corresponding binary address from the dwarf debug info. However, I noticed that the dwarf table might not always return me the answer and some of the source line