diff options
author | Walter Erquinigo <wallace@fb.com> | 2022-07-26 11:44:50 -0700 |
---|---|---|
committer | Walter Erquinigo <wallace@fb.com> | 2022-07-26 12:05:23 -0700 |
commit | 0538e5431afdb1fa05bdcedf70ee502ccfcd112a (patch) | |
tree | 30a4194beb91394aebaf798c7cedcaa2119bedde /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4f676c2599eb9c5c57528ebad93269a9ee30d7ca (diff) | |
download | llvm-0538e5431afdb1fa05bdcedf70ee502ccfcd112a.zip llvm-0538e5431afdb1fa05bdcedf70ee502ccfcd112a.tar.gz llvm-0538e5431afdb1fa05bdcedf70ee502ccfcd112a.tar.bz2 |
Move GetControlFlowKind's logic to DisassemblerLLVMC.cpp
This diff move the logic of `GetControlFlowKind()` from Disassembler.cpp to DisassemblerLLVMC.cpp.
Here's details:
- Actual logic of GetControlFlowKind() move to `DisassemblerLLVMC.cpp`, and we can check underlying architecture using `DisassemblerScope` there.
- With this change, passing 'triple' to `GetControlFlowKind()` is no more required.
Reviewed By: wallace
Differential Revision: https://reviews.llvm.org/D130320
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions