aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFImportFile.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2023-02-17 08:24:07 +0900
committerNAKAMURA Takumi <geek4civic@gmail.com>2023-03-21 16:21:27 +0900
commit4178ef43b2f12171639e3ef2bf02e5b7efd34688 (patch)
treeaa08ded6209a0ff2e4aa8a2f085b49e3e56f6d05 /llvm/lib/Object/COFFImportFile.cpp
parentf675ec6165ab6add5e57cd43a2e9fa1a9bc21d81 (diff)
downloadllvm-4178ef43b2f12171639e3ef2bf02e5b7efd34688.zip
llvm-4178ef43b2f12171639e3ef2bf02e5b7efd34688.tar.gz
llvm-4178ef43b2f12171639e3ef2bf02e5b7efd34688.tar.bz2
TableGen: Introduce `llvm::TableGen::Emitter` to register backends
`Opt(flag, func, desc)` registers an option into `Action`. `OptClass<EmitterC>` is also available if `EmitterC(RK).run(OS)` is capable. `Action` is defined as `ManagedStatic<cl::opt>` to guarantee to be created when each registration of emitter is invoked. `llvm::TableGenMain(argv0, MainFn)` invokes `Action` instead of `MainFn` Differential Revision: https://reviews.llvm.org/D144351
Diffstat (limited to 'llvm/lib/Object/COFFImportFile.cpp')
0 files changed, 0 insertions, 0 deletions