Debugging without using a source file in LLVM

The LLVM ( lldb

) debugger uses the source file for debugging (for example, for a breakpoint). I want to use lldb

without source files, only with intermediate view .ll

files ( files).

Is it possible? If not, can I do it with the debugger gdb

? Any other idea?

+3


source to share


1 answer


I'm not sure if you can debug using IR, but in the worst case, you can always just debug a bare assembly without any symbols. At least functional labels are good though.



0


source







All Articles