diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2023-05-09 18:55:59 +0300 |
---|---|---|
committer | Sergei Barannikov <barannikov88@gmail.com> | 2023-06-17 07:14:50 +0300 |
commit | 992cb98462abb7630e87003516b75b241628f64c (patch) | |
tree | 4c0ad8d4dddeb5f82db9f63c3e0dcdf7bc9a8799 /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | 63534779b4ef1816e2961246011e2ec3be110d27 (diff) | |
download | llvm-992cb98462abb7630e87003516b75b241628f64c.zip llvm-992cb98462abb7630e87003516b75b241628f64c.tar.gz llvm-992cb98462abb7630e87003516b75b241628f64c.tar.bz2 |
[clang][CodeGen] Break up TargetInfo.cpp [8/8]
This commit breaks up CodeGen/TargetInfo.cpp into a set of *.cpp files,
one file per target. There are no functional changes, mostly just code moving.
Non-code-moving changes are:
* A virtual destructor has been added to DefaultABIInfo to pin the vtable to a cpp file.
* A few methods of ABIInfo and DefaultABIInfo were split into declaration + definition
in order to reduce the number of transitive includes.
* Several functions that used to be static have been placed in clang::CodeGen
namespace so that they can be accessed from other cpp files.
RFC: https://discourse.llvm.org/t/rfc-splitting-clangs-targetinfo-cpp/69883
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D148094
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions