[llvm-dev] Skipping a function/line in the debug information? (original) (raw)
David Blaikie via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 24 13:23:40 PST 2020
- Previous message: [llvm-dev] Skipping a function/line in the debug information?
- Next message: [llvm-dev] Skipping a function/line in the debug information?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I don't know of any DWARF functionality or extensions that are currently used to communicate "uninteresting" functions not to step into.
If there's a specific example where you've seen this behavior work as you'd like in another language/frontend/etc - if you provide that example I/we might be able to explain why it works that way & how you could reproduce that behavior.
On Mon, Feb 24, 2020 at 12:54 PM Levo DeLellis via llvm-dev < llvm-dev at lists.llvm.org> wrote:
I'm not sure where to look or if it's possible, if someone could point me in the right direction that would be great
There's a few internal functions in my language like WriteLine. When I use lldb to 'thread step-in' (or vscode) the debugger will enter the function. Is it possible to let lldb know it should skip the function? I tried using clang to find some clues but puts and other function all allow me to step in and gets a missing source error. Is there any llvm-ir code I can look at to show me how to skip a function? Or a language that generates the appropriate ir?
LLVM Developers mailing list llvm-dev at lists.llvm.org https://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/20200224/3cbbfd09/attachment.html>
- Previous message: [llvm-dev] Skipping a function/line in the debug information?
- Next message: [llvm-dev] Skipping a function/line in the debug information?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]