diff options
author | Reid Kleckner <rnk@google.com> | 2019-11-07 09:39:13 -0800 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-11-07 09:39:13 -0800 |
commit | 2cb3bfe9759a134a2e85207643109b69a86c4bf7 (patch) | |
tree | b421fa7abeb9dff7a2d52342169cf7b276ae5256 /llvm/lib/Object/XCOFFObjectFile.cpp | |
parent | c989993ba1a666f04f7aee7df51d9f4de0588b71 (diff) | |
download | bcm5719-llvm-2cb3bfe9759a134a2e85207643109b69a86c4bf7.tar.gz bcm5719-llvm-2cb3bfe9759a134a2e85207643109b69a86c4bf7.zip |
Revert "[XCOFF] Fix link errors from explicit template instantiation"
This reverts commit c989993ba1a666f04f7aee7df51d9f4de0588b71.
maskray already fixed the explicit instantiation definition in the .cpp
file, and these extern template declarations seem to be causing
warnings that I don't understand.
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/XCOFFObjectFile.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp index 3ea42bb8b0e..5ca2a6a03f0 100644 --- a/llvm/lib/Object/XCOFFObjectFile.cpp +++ b/llvm/lib/Object/XCOFFObjectFile.cpp @@ -61,10 +61,6 @@ bool XCOFFSectionHeader<T>::isReservedSectionType() const { return getSectionType() & SectionFlagsReservedMask; } -// Explictly instantiate template classes. -template struct XCOFFSectionHeader<XCOFFSectionHeader32>; -template struct XCOFFSectionHeader<XCOFFSectionHeader64>; - bool XCOFFRelocation32::isRelocationSigned() const { return Info & XR_SIGN_INDICATOR_MASK; } |