Georgii Rymar
c587b076a0
[llvm-readobj] - Add a validation of the GNU hash table to printGnuHashHistogram().
...
Similar to D81937, we might crash when printing a histogram for a GNU hash table
with a 'symndx' index that is larger than the number of dynamic symbols.
This patch adopts and reuses the `getGnuHashTableChains()` helper which performs
a validation of the table. As a side effect the warning reported for
the --gnu-hash-table was improved.
Also with this change we start to report a warning when the histogram is requested for
the GNU hash table, but the dynamic symbols table is empty (size == 0).
Differential revision: https://reviews.llvm.org/D82010
2020-06-19 14:24:51 +03:00
..
2020-03-05 09:53:14 -08:00
2020-05-01 18:31:24 +03:00
2020-05-22 05:36:15 -06:00
2020-02-05 12:33:14 +03:00
2020-03-23 12:21:20 +00:00
2020-03-16 07:42:04 -07:00
2020-03-16 07:42:04 -07:00
2020-03-06 13:59:58 +03:00
2020-06-17 11:24:45 -07:00
2020-03-04 12:22:12 -08:00
2020-06-17 11:24:45 -07:00
2020-05-15 15:11:22 +01:00
2020-03-23 12:21:20 +00:00
2020-02-18 14:36:17 +03:00
2020-04-20 14:14:17 +03:00
2020-03-16 07:42:04 -07:00
2020-01-30 14:34:20 +03:00
2020-03-06 13:59:58 +03:00
2020-02-04 10:33:21 -08:00
2020-01-21 14:24:50 +03:00
2020-06-01 08:56:02 -07:00
2020-01-14 12:51:52 +03:00
2020-05-28 10:07:48 +02:00
2020-01-14 12:51:52 +03:00
2020-03-16 07:42:04 -07:00
2020-01-06 09:25:45 -08:00
2020-03-05 09:53:14 -08:00
2020-04-22 12:49:05 +03:00
2020-05-01 18:51:46 +03:00
2019-12-23 13:10:26 +03:00
2020-05-01 18:31:24 +03:00
2019-12-18 11:31:58 +03:00
2020-06-19 14:24:51 +03:00
2020-06-19 14:24:51 +03:00
2020-04-21 15:50:42 +03:00
2020-06-01 12:36:23 +03:00
2019-12-23 13:10:26 +03:00
2020-02-19 15:09:19 +03:00
2020-02-10 16:01:30 +03:00
2019-12-11 15:06:33 +03:00
2020-04-20 14:14:17 +03:00
2019-12-19 11:23:39 +03:00
2020-04-20 14:14:17 +03:00
2020-03-16 07:42:04 -07:00
2020-01-30 14:34:20 +03:00
2020-03-05 09:53:14 -08:00
2020-03-05 09:53:14 -08:00
2020-03-05 09:53:14 -08:00
2020-03-05 09:53:14 -08:00
2020-03-05 09:53:14 -08:00
2020-03-05 09:53:14 -08:00
2020-03-05 09:53:14 -08:00
2020-03-05 09:53:14 -08:00
2020-03-05 09:53:14 -08:00
2020-02-04 10:33:21 -08:00
2020-03-16 07:42:04 -07:00
2020-03-16 07:42:04 -07:00
2020-03-20 13:41:32 +03:00
2020-04-21 15:50:42 +03:00
2020-02-19 15:09:19 +03:00
2020-06-10 14:16:41 +01:00
2020-03-17 12:10:08 +03:00
2020-03-17 12:10:08 +03:00
2020-03-17 12:10:08 +03:00
2020-03-17 12:10:08 +03:00
2020-03-06 13:59:58 +03:00
2020-06-16 15:43:16 +03:00
2020-03-06 13:59:58 +03:00
2020-03-06 13:59:58 +03:00
2020-02-04 10:33:21 -08:00
2019-12-18 11:31:58 +03:00
2019-12-18 11:50:08 +03:00
2019-12-18 10:44:40 +03:00
2020-05-22 05:36:15 -06:00
2019-12-12 12:21:58 +03:00
2020-02-10 16:01:30 +03:00
2020-01-31 12:58:12 +03:00
2020-05-19 12:59:13 +03:00
2020-01-21 17:20:18 -08:00
2020-01-21 17:20:18 -08:00
2020-05-22 05:36:15 -06:00
2020-01-21 17:20:18 -08:00
2020-01-21 17:20:18 -08:00
2020-01-21 17:20:18 -08:00
2020-01-28 12:36:29 +03:00
2019-12-23 13:10:26 +03:00
2020-05-29 13:04:00 +03:00
2020-02-19 15:09:19 +03:00
2020-02-22 14:43:54 +03:00
2020-02-22 14:43:54 +03:00
2020-02-19 15:09:19 +03:00