Heejin Ahn
b647de9925
[WebAssembly] Use dummy debug info in Emscripten SjLj
...
Summary:
D74269 added debug info to newly created instructions, including calls
to `malloc` and `free`, by taking debug info from existing instructions
around, whose debug info may or may not be empty.
But there are cases debug info is required by the IR verifier: when both
the caller and the callee functions have DISubprograms, meaning we
already have declarations to `malloc` or `free` with a DISubprogram
attached, newly created calls to `malloc` and `free` should have
non-empty debug info. This patch creates a non-empty dummy debug info in
this case to those calls to make the IR verifier pass.
Fixes https://bugs.llvm.org/show_bug.cgi?id=45461 .
Reviewers: dschuff
Subscribers: aprantl, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D77784
2020-04-09 18:44:50 -07:00
..
2019-07-09 01:21:04 +00:00
2019-07-09 02:10:33 +00:00
2019-06-05 20:01:01 +00:00
2019-08-28 23:13:43 +00:00
2020-02-18 15:55:20 -08:00
2019-02-28 18:39:08 +00:00
2019-02-28 18:39:08 +00:00
2019-02-13 22:11:16 +00:00
2019-09-18 23:18:16 +00:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-03-30 09:29:57 +00:00
2019-03-29 19:36:51 +00:00
2020-04-01 08:12:41 -07:00
2019-04-23 21:30:30 +00:00
2018-08-27 15:45:51 +00:00
2020-02-13 10:16:06 -08:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-01-14 22:03:43 +00:00
2019-01-14 22:03:43 +00:00
2019-10-15 01:11:51 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2020-02-13 10:16:06 -08:00
2019-01-18 02:47:48 +00:00
2018-11-19 17:10:36 +00:00
2020-01-28 16:58:15 -08:00
2018-08-27 15:45:51 +00:00
2020-02-18 15:55:20 -08:00
2018-10-25 23:55:10 +00:00
2020-02-18 15:55:20 -08:00
2019-10-09 21:42:08 +00:00
2019-12-11 11:54:57 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2019-02-23 00:07:39 +00:00
2019-01-08 06:25:55 +00:00
2020-02-18 15:55:20 -08:00
2018-11-19 17:10:36 +00:00
2019-02-23 00:07:39 +00:00
2020-02-18 15:55:20 -08:00
2019-10-09 21:42:08 +00:00
2019-03-01 00:12:13 +00:00
2020-02-18 15:55:20 -08:00
2019-01-09 14:20:20 +00:00
2019-01-08 06:25:55 +00:00
2019-01-09 14:20:20 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2019-02-23 00:07:39 +00:00
2018-08-27 15:45:51 +00:00
2018-11-19 17:10:36 +00:00
2019-03-05 20:35:34 +00:00
2019-02-01 22:27:34 +00:00
2019-12-24 16:27:51 -08:00
2019-07-03 23:54:06 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2019-01-08 06:25:55 +00:00
2019-04-26 18:45:04 +00:00
2019-03-19 05:10:39 +00:00
2019-03-30 01:31:11 +00:00
2019-03-30 01:31:11 +00:00
2019-01-08 06:25:55 +00:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-01-08 06:25:55 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2019-06-05 20:01:01 +00:00
2019-01-08 06:25:55 +00:00
2020-02-18 15:55:20 -08:00
2020-01-23 18:13:52 -08:00
2019-08-05 21:36:09 +00:00
2019-08-05 21:36:09 +00:00
2019-09-03 22:26:49 +00:00
2020-04-09 18:44:50 -07:00
2019-08-26 21:41:17 +00:00
2020-04-09 18:44:50 -07:00
2020-03-26 16:19:02 -07:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-01-29 10:53:42 +00:00
2019-01-29 10:53:42 +00:00
2020-02-18 15:55:20 -08:00
2019-01-14 18:25:29 +00:00
2019-02-23 00:07:39 +00:00
2020-01-17 17:23:56 -08:00
2020-02-18 14:56:09 -08:00
2020-02-18 14:56:09 -08:00
2020-02-18 15:55:20 -08:00
2019-03-29 22:00:18 +00:00
2019-12-24 16:27:51 -08:00
2018-11-18 11:58:47 +00:00
2020-02-13 10:16:06 -08:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2018-11-19 17:10:36 +00:00
2019-04-23 21:17:03 +00:00
2019-01-14 22:03:43 +00:00
2019-01-31 00:35:37 +00:00
2019-03-21 11:18:54 +00:00
2019-05-13 19:40:18 +00:00
2020-01-24 14:26:27 -08:00
2019-10-09 21:42:08 +00:00
2019-10-09 21:42:08 +00:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-05-23 01:24:01 +00:00
2019-01-08 06:25:55 +00:00
2018-11-19 17:10:36 +00:00
2020-02-18 15:55:20 -08:00
2019-11-15 16:22:01 -08:00
2020-02-18 15:55:20 -08:00
2019-01-08 06:25:55 +00:00
2019-02-23 00:07:39 +00:00
2020-03-19 17:25:58 -07:00
2020-02-04 18:36:32 -08:00
2020-02-04 18:36:32 -08:00
2019-10-09 17:39:19 +00:00
2020-02-04 18:36:32 -08:00
2019-01-10 22:32:11 +00:00
2020-02-04 18:36:32 -08:00
2019-05-23 18:09:26 +00:00
2020-03-19 17:15:37 -07:00
2019-10-31 20:02:24 -07:00
2019-01-10 22:32:11 +00:00
2018-12-21 06:58:15 +00:00
2019-01-02 20:43:08 +00:00
2020-02-04 18:36:32 -08:00
2019-06-19 00:02:13 +00:00
2020-02-04 18:36:32 -08:00
2019-02-23 18:59:01 +00:00
2020-02-25 13:54:48 -08:00
2020-03-12 12:20:14 -07:00
2020-02-18 15:55:20 -08:00
2020-02-25 13:54:48 -08:00
2019-02-23 00:07:39 +00:00
2018-12-17 22:04:44 +00:00
2020-02-18 13:21:26 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2019-01-08 06:25:55 +00:00
2020-03-19 17:39:52 -07:00
2019-04-23 21:17:03 +00:00
2020-02-18 15:55:20 -08:00
2019-07-16 22:00:45 +00:00
2020-01-24 14:27:35 -08:00
2020-02-13 10:16:06 -08:00
2019-07-16 22:22:08 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2019-02-23 00:07:39 +00:00
2020-02-18 15:55:20 -08:00
2020-02-18 15:55:20 -08:00
2019-02-23 00:07:39 +00:00
2019-02-26 05:20:19 +00:00
2018-07-02 16:03:49 +00:00
2019-02-28 18:39:08 +00:00
2020-04-04 07:02:50 -07:00