public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "andrew.burgess at embecosm dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/94474] Incorrect DWARF range information for inlined function Date: Mon, 06 Apr 2020 10:54:04 +0000 [thread overview] Message-ID: <bug-94474-4-6KKfcdOdUh@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-94474-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94474 --- Comment #2 from Andrew Burgess <andrew.burgess at embecosm dot com> --- Sorry for including the wrong DWARF dump output in the bug report. I too had seen the DW_AT_GNU_entry_view using a more recent binutils. When you pose the question: I am not sure if there are any view numbers when the inline has multiple ranges, (I dont remember) I think you're asking do we get DW_AT_GNU_entry_view when we have multiple ranges. And the answer is yes, this case already has multiple ranges (it has a DW_AT_ranges, which contains multiple ranges), and this is super confusing, because each range could, I guess, could have a different view number for its start, right? It seems that, when a debug entity has a single range defined within the entity then we need a start and end view number. When a debug entity makes use of separate range information, each range will need its own start and end view number. If the above requires new DWARF extensions, then GCC might just decide to try and make the best with the version of DWARF it currently has available.
next prev parent reply other threads:[~2020-04-06 10:54 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-03 16:13 [Bug debug/94474] New: " andrew.burgess at embecosm dot com 2020-04-06 9:59 ` [Bug debug/94474] " bernd.edlinger at hotmail dot de 2020-04-06 10:54 ` andrew.burgess at embecosm dot com [this message] 2020-04-06 11:04 ` bernd.edlinger at hotmail dot de 2020-04-06 11:17 ` bernd.edlinger at hotmail dot de 2020-04-06 12:55 ` andrew.burgess at embecosm dot com 2020-04-06 12:57 ` bernd.edlinger at hotmail dot de 2020-04-06 13:15 ` bernd.edlinger at hotmail dot de 2020-04-06 14:16 ` andrew.burgess at embecosm dot com 2020-04-28 2:17 ` bernd.edlinger at hotmail dot de 2020-04-28 9:56 ` andrew.burgess at embecosm dot com 2020-05-16 8:09 ` bernd.edlinger at hotmail dot de 2020-05-17 8:43 ` andrew.burgess at embecosm dot com 2020-05-17 9:05 ` bernd.edlinger at hotmail dot de 2021-12-28 13:16 ` bernd.edlinger at hotmail dot de 2021-12-28 20:57 ` bernd.edlinger at hotmail dot de
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-94474-4-6KKfcdOdUh@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).