Than McIntosh
fce2a94d84
cmd/compile: fix buglet in inlined info abstract function dwarf-gen
...
When generating DWARF inlined info records, it's possible to have a
local function whose only callsites are inlined away, meaning that we
emit an abstract function DIE but no regular subprogram DIE. When
emitting DWARF scope info we need to handle this case (specifically
when scoping PCs, check for the case that the func in question has
been entirely deleted).
Fixes #44344 .
Change-Id: I9f5bc692f225aa4c5c23f7bd2e50bcf7fe4fc5f3
Reviewed-on: https://go-review.googlesource.com/c/go/+/293309
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
2021-02-19 14:46:21 +00:00
..
2021-02-16 21:51:58 +00:00
2017-01-20 05:55:53 +00:00
2019-03-06 18:53:12 +00:00
2020-11-28 02:31:54 +00:00
2021-01-20 22:53:32 +00:00
2021-01-20 22:53:32 +00:00
2021-02-03 22:44:53 +00:00
2016-05-02 13:43:18 +00:00
2021-02-19 14:46:21 +00:00
2016-05-02 13:43:18 +00:00
2015-10-07 14:37:44 +00:00
2020-12-07 06:40:04 +00:00
2017-03-16 02:44:16 +00:00
2019-09-08 17:28:20 +00:00
2019-09-16 15:30:51 +00:00
2019-04-16 16:20:39 +00:00
2018-03-01 21:11:16 +00:00
2019-08-28 19:27:20 +00:00
2016-05-02 13:43:18 +00:00
2020-12-02 02:56:41 +00:00
2016-07-06 20:48:41 +00:00
2016-04-24 21:36:52 +00:00
2016-05-02 13:43:18 +00:00
2020-09-12 08:31:49 +00:00
2017-01-20 05:55:53 +00:00
2016-05-02 13:43:18 +00:00
2018-04-09 18:57:37 +00:00
2018-05-06 04:28:23 +00:00
2018-05-06 04:28:23 +00:00
2017-05-11 13:53:54 +00:00
2020-12-03 16:28:44 +00:00
2016-03-17 04:20:02 +00:00
2020-11-28 02:31:54 +00:00
2016-05-02 13:43:18 +00:00
2020-10-27 03:11:45 +00:00
2020-09-16 20:04:58 +00:00
2021-01-05 21:44:30 +00:00
2020-03-29 17:12:56 +00:00
2019-03-06 20:04:07 +00:00
2021-01-01 13:44:37 +00:00
2018-10-06 15:40:03 +00:00
2018-08-14 09:19:38 +00:00
2021-01-20 22:53:32 +00:00
2021-01-23 02:15:24 +00:00
2021-02-01 18:28:05 +00:00
2015-06-26 03:38:21 +00:00
2019-03-14 21:00:20 +00:00
2017-03-15 22:45:17 +00:00
2017-03-15 22:45:17 +00:00
2017-03-15 22:45:17 +00:00
2020-11-28 02:31:54 +00:00
2016-05-02 13:43:18 +00:00
2019-03-28 17:46:55 +00:00
2020-11-25 15:47:36 +00:00
2015-07-11 14:36:33 +00:00
2015-07-11 14:36:33 +00:00
2016-05-02 13:43:18 +00:00
2019-09-26 23:54:29 +00:00
2016-05-02 13:43:18 +00:00
2016-10-04 17:10:47 +00:00
2020-11-28 02:31:54 +00:00
2019-03-14 21:00:20 +00:00
2020-11-28 02:31:54 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2020-02-26 16:54:17 +00:00
2021-01-05 21:11:31 +00:00
2019-10-16 00:05:37 +00:00
2018-05-31 17:36:45 +00:00
2020-04-13 21:56:15 +00:00
2020-10-13 01:16:45 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2021-01-19 20:07:52 +00:00
2021-01-19 20:07:52 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2021-01-18 05:55:08 +00:00
2021-01-18 05:55:08 +00:00
2016-05-02 13:43:18 +00:00
2021-01-18 05:55:08 +00:00
2020-08-15 03:09:52 +00:00
2019-09-16 15:30:51 +00:00
2020-09-12 08:31:49 +00:00
2020-10-15 18:26:06 +00:00
2020-09-12 08:31:49 +00:00
2019-09-06 01:35:46 +00:00
2019-11-16 20:31:45 +00:00
2020-10-30 00:47:37 +00:00
2020-09-12 08:31:49 +00:00
2019-09-03 17:52:06 +00:00
2020-09-12 08:31:49 +00:00
2020-12-17 03:50:03 +00:00
2019-04-17 22:55:26 +00:00
2019-04-17 16:36:56 +00:00
2020-09-12 08:31:49 +00:00
2020-09-12 08:31:49 +00:00
2020-09-12 08:31:49 +00:00
2019-08-28 19:27:20 +00:00
2019-04-17 19:09:15 +00:00
2019-09-03 17:52:06 +00:00
2019-09-08 17:28:20 +00:00
2016-09-14 16:39:47 +00:00
2021-01-25 18:53:24 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2018-04-30 19:39:18 +00:00
2018-05-08 21:15:48 +00:00
2016-05-02 13:43:18 +00:00
2019-10-10 19:38:06 +00:00
2017-04-19 02:27:58 +00:00
2019-03-07 21:05:15 +00:00
2018-05-31 17:36:45 +00:00
2016-05-02 13:43:18 +00:00
2017-03-24 20:07:15 +00:00
2017-02-10 01:22:30 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2019-09-08 17:28:20 +00:00
2016-05-02 13:43:18 +00:00
2020-11-28 02:31:54 +00:00
2019-11-04 20:19:15 +00:00
2021-01-08 17:14:20 +00:00
2020-11-28 02:31:54 +00:00
2015-09-05 02:25:01 +00:00
2020-02-26 14:44:24 +00:00
2019-01-08 21:54:04 +00:00
2019-01-08 21:54:04 +00:00
2017-03-03 21:29:32 +00:00
2018-08-30 22:48:28 +00:00
2020-03-25 01:11:15 +00:00
2020-09-12 08:31:49 +00:00
2021-01-20 22:53:32 +00:00
2020-03-25 01:11:15 +00:00
2016-09-19 19:03:01 +00:00
2020-11-28 02:31:54 +00:00
2020-11-28 02:31:54 +00:00
2019-11-18 14:40:07 +00:00
2016-05-02 13:43:18 +00:00
2020-12-02 06:49:37 +00:00
2019-08-28 19:27:20 +00:00
2020-12-18 00:10:44 +00:00
2020-12-18 00:10:44 +00:00
2019-11-01 20:13:05 +00:00
2019-02-19 22:45:09 +00:00
2016-05-02 13:43:18 +00:00
2019-09-03 19:33:04 +00:00
2019-09-16 15:30:51 +00:00
2020-12-01 17:16:53 +00:00
2018-04-05 10:53:40 +00:00
2019-09-26 18:47:12 +00:00
2020-12-17 04:43:46 +00:00
2020-04-19 07:51:23 +00:00
2020-04-19 07:51:23 +00:00
2017-04-24 12:37:49 +00:00
2020-05-07 17:50:24 +00:00
2020-11-28 02:31:54 +00:00
2018-05-08 21:15:16 +00:00
2017-09-03 14:29:38 +00:00
2016-03-17 00:38:15 +00:00
2020-12-03 16:28:44 +00:00
2016-05-02 13:43:18 +00:00
2017-10-12 20:50:20 +00:00
2018-04-06 15:39:11 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2019-05-11 03:02:33 +00:00
2021-01-10 08:01:49 +00:00
2016-05-02 13:43:18 +00:00
2018-11-27 15:36:08 +00:00
2018-11-26 14:13:53 +00:00
2018-11-26 14:13:53 +00:00
2018-11-26 14:13:53 +00:00
2021-02-19 00:40:22 +00:00
2020-12-22 18:13:48 +00:00
2020-09-17 19:35:53 +00:00
2018-12-05 21:54:54 +00:00
2020-09-17 19:35:53 +00:00
2020-04-03 21:43:52 +00:00
2016-10-25 22:28:40 +00:00
2019-09-08 17:28:20 +00:00
2018-04-30 19:39:18 +00:00
2016-09-13 20:06:13 +00:00
2018-05-31 17:36:45 +00:00
2017-09-26 04:08:38 +00:00
2018-05-31 17:36:45 +00:00
2020-11-07 07:33:23 +00:00
2017-09-12 05:50:54 +00:00
2020-08-28 21:23:32 +00:00
2016-05-02 13:43:18 +00:00
2019-09-03 20:41:29 +00:00
2016-05-02 13:43:18 +00:00
2018-01-10 01:35:45 +00:00
2017-04-24 12:37:49 +00:00
2016-05-02 13:43:18 +00:00
2016-03-11 21:19:20 +00:00
2016-03-11 21:19:20 +00:00
2016-03-11 21:19:20 +00:00
2016-03-11 22:07:02 +00:00
2020-04-19 03:12:32 +00:00
2020-04-19 03:12:32 +00:00
2021-02-10 22:44:54 +00:00
2019-09-06 23:15:48 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2021-01-16 23:19:26 +00:00
2018-03-01 21:11:16 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2021-02-16 21:51:58 +00:00
2016-05-02 13:43:18 +00:00
2020-08-25 16:06:36 +00:00
2020-11-30 20:08:34 +00:00
2016-05-02 13:43:18 +00:00
2018-05-31 17:36:45 +00:00
2020-12-18 00:10:44 +00:00
2018-12-03 16:48:21 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2016-05-02 13:43:18 +00:00
2018-03-08 22:25:25 +00:00
2018-10-03 19:54:29 +00:00
2018-10-03 19:54:16 +00:00
2018-10-03 19:54:16 +00:00
2018-06-12 19:10:34 +00:00
2019-09-08 17:28:20 +00:00
2016-05-02 13:43:18 +00:00
2016-08-19 01:10:21 +00:00
2018-10-16 21:54:35 +00:00
2017-02-02 17:36:43 +00:00
2017-05-19 18:11:51 +00:00
2015-11-03 18:57:18 +00:00
2020-04-17 13:30:49 +00:00
2015-09-06 23:50:51 +00:00
2019-09-11 23:33:11 +00:00
2019-10-28 23:34:13 +00:00
2018-10-04 00:49:49 +00:00
2019-11-05 00:26:30 +00:00
2019-11-05 00:26:30 +00:00
2016-07-06 20:48:41 +00:00
2016-05-02 13:43:18 +00:00
2020-12-25 09:18:20 +00:00
2016-05-02 13:43:18 +00:00
2020-12-02 16:33:57 +00:00
2020-04-14 17:34:31 +00:00
2016-12-23 17:35:24 +00:00