aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorNeumann Hon <neumann.hon@ibm.com>2023-04-28 19:06:17 -0400
committerNeumann Hon <neumann.hon@ibm.com>2023-04-28 19:06:17 -0400
commit55da527ad822382bb4156c5ff9295209e0bccc5c (patch)
treead36e6e73c8545eeea4383661339ff4a90bf79ef /llvm/lib/Object/ObjectFile.cpp
parent5b2423183cb35703723ec91ce5b93b99cec36fb2 (diff)
downloadllvm-55da527ad822382bb4156c5ff9295209e0bccc5c.zip
llvm-55da527ad822382bb4156c5ff9295209e0bccc5c.tar.gz
llvm-55da527ad822382bb4156c5ff9295209e0bccc5c.tar.bz2
Revert "[SystemZ][z/OS] Add GOFFObjectFile class support for HDR, ESD and END records"
This reverts commit 5b2423183cb35703723ec91ce5b93b99cec36fb2.
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
-rw-r--r--llvm/lib/Object/ObjectFile.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Object/ObjectFile.cpp b/llvm/lib/Object/ObjectFile.cpp
index c953a56..56a1d09 100644
--- a/llvm/lib/Object/ObjectFile.cpp
+++ b/llvm/lib/Object/ObjectFile.cpp
@@ -130,10 +130,6 @@ Triple ObjectFile::makeTriple() const {
TheTriple.setOS(Triple::AIX);
TheTriple.setObjectFormat(Triple::XCOFF);
}
- else if (isGOFF()) {
- TheTriple.setOS(Triple::ZOS);
- TheTriple.setObjectFormat(Triple::GOFF);
- }
return TheTriple;
}