llvm-project/bolt/lib
Nicolai Hähnle f7872cdce1 CommandLine: add and use cl::SubCommand::get{All,TopLevel}
Prefer using these accessors to access the special sub-commands
corresponding to the top-level (no subcommand) and all sub-commands.

This is a preparatory step towards removing the use of ManagedStatic:
with a subsequent change, these global instances will be moved to
be regular function-scope statics.

It is split up to give downstream projects a (albeit short) window in
which they can switch to using the accessors in a forward-compatible
way.

Differential Revision: https://reviews.llvm.org/D129118
2022-08-02 23:49:16 +02:00
..
Core Fold assert-used variable into assert 2022-08-01 21:57:11 +00:00
Passes Use drop_begin (NFC) 2022-07-31 15:17:09 -07:00
Profile [BOLT] Remove redundaunt string initialization (NFC) 2022-07-31 15:17:05 -07:00
Rewrite [BOLT][DWARF] Fix handling of multiple DW_OP_addrx in an expression 2022-08-01 14:38:47 -07:00
RuntimeLibs [BOLT][NFC] Use range-based STL wrappers 2022-06-23 22:16:27 -07:00
Target [bolt] Remove redundaunt virtual specifiers (NFC) 2022-07-30 10:35:51 -07:00
Utils CommandLine: add and use cl::SubCommand::get{All,TopLevel} 2022-08-02 23:49:16 +02:00
CMakeLists.txt Rebase: [NFC] Refactor sources to be buildable in shared mode 2021-10-08 11:47:10 -07:00