[llvm-dev] hi, Is there any solution about how to add some dwarf info to the IR bitcode file. (original) (raw)
Andrew Kelley via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 14 20:51:02 PST 2017
- Previous message: [llvm-dev] hi, Is there any solution about how to add some dwarf info to the IR bitcode file.
- Next message: [llvm-dev] 答复: hi, Is there any solution about how to add some dwarf info to the IR bitcode file.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Have a look at the DebugInfo API.
include/llvm/DebugInfo/*
It requires using the C++ API instead of the C API.
On Tue, Nov 14, 2017 at 10:32 PM, Wuweijia via llvm-dev < llvm-dev at lists.llvm.org> wrote:
Hi,
I create the function A with llvm api, and make implement about function, that function A call function B, and add some write/read operation of variants to function A. and compile it to machine code, run it debug it. And I want to debug the function A, is there any ways I can add some dwarf info (or debug info ), so that I can the check variant ‘s value is ok.
BR Owen
LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171114/aeee7b41/attachment.html>
- Previous message: [llvm-dev] hi, Is there any solution about how to add some dwarf info to the IR bitcode file.
- Next message: [llvm-dev] 答复: hi, Is there any solution about how to add some dwarf info to the IR bitcode file.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]