aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2023-05-09 18:55:59 +0300
committerSergei Barannikov <barannikov88@gmail.com>2023-06-17 07:14:50 +0300
commit992cb98462abb7630e87003516b75b241628f64c (patch)
tree4c0ad8d4dddeb5f82db9f63c3e0dcdf7bc9a8799 /llvm/lib/MC/MCObjectFileInfo.cpp
parent63534779b4ef1816e2961246011e2ec3be110d27 (diff)
downloadllvm-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