Fangrui Song 16c30c3c23 [ELF] Change --shuffle-sections=<seed> to --shuffle-sections=<section-glob>=<seed>
`--shuffle-sections=<seed>` applies to all sections.  The new
`--shuffle-sections=<section-glob>=<seed>` makes shuffling selective.  To the
best of my knowledge, the option is only used as debugging, so just drop the
original form.

`--shuffle-sections '.init_array*=-1'` `--shuffle-sections '.fini_array*=-1'`.
reverses static constructors/destructors of the same priority.
Useful to detect some static initialization order fiasco.

`--shuffle-sections '.data*=-1'`
reverses `.data*` sections. Useful to detect unfunded pointer comparison results
of two unrelated objects.

If certain sections have an intrinsic order, the old form cannot be used.

Differential Revision: https://reviews.llvm.org/D98679
2021-03-18 10:18:19 -07:00
..
2021-02-08 08:55:29 -08:00
2021-02-08 08:55:29 -08:00
2021-02-08 08:55:29 -08:00
2021-02-08 08:55:29 -08:00
2021-02-08 08:55:29 -08:00
2018-07-05 16:03:20 +00:00
2020-06-01 10:19:41 -07:00
2020-03-27 11:56:02 -07:00
2020-03-31 12:41:18 +01:00
2020-07-23 08:16:01 -07:00
2019-09-07 10:42:11 +00:00
2021-01-22 19:07:02 -08:00
2020-04-13 19:32:44 -05:00
2018-08-08 14:50:33 +00:00
2018-08-08 14:50:33 +00:00
2018-08-08 14:50:33 +00:00
2020-08-07 22:08:44 -07:00
2021-02-05 09:37:37 -08:00
2020-06-01 10:19:41 -07:00
2019-07-25 07:12:23 +00:00
2019-09-07 10:42:11 +00:00
2020-06-01 10:19:41 -07:00
2019-09-07 10:42:11 +00:00
2020-06-01 10:19:41 -07:00
2020-12-01 08:59:54 -08:00
2019-02-06 01:00:49 +00:00
2018-04-24 23:03:58 +00:00
2019-09-07 10:42:11 +00:00