aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorpaperchalice <liujunchang97@outlook.com>2023-12-12 09:22:01 +0800
committerGitHub <noreply@github.com>2023-12-12 09:22:01 +0800
commit4d8bf6ea7fa8f68f46b6f0b6d0ae7d114904914a (patch)
treec5e87c2a5cfb0753147eba967b45a48007dc99e9 /llvm/lib/Object/COFFObjectFile.cpp
parent62b21c6ced918c7fec97b557e3087e3ffdf71494 (diff)
downloadllvm-4d8bf6ea7fa8f68f46b6f0b6d0ae7d114904914a.zip
llvm-4d8bf6ea7fa8f68f46b6f0b6d0ae7d114904914a.tar.gz
llvm-4d8bf6ea7fa8f68f46b6f0b6d0ae7d114904914a.tar.bz2
[CodeGen][GC] Remove `GCInfoPrinter` (#75033)
This pass is broken and looks like no one uses it for the last 15+ years. ```c++ bool Printer::runOnFunction(Function &F) { if (F.hasGC()) return false; GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F); ``` ```c++ GCFunctionInfo &GCModuleInfo::getFunctionInfo(const Function &F) { assert(!F.isDeclaration() && "Can only get GCFunctionInfo for a definition!"); assert(F.hasGC()); // Equivalent to `assert(false);` when called by `Printer::runOnFunction` ``` See also #74972.
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions