aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-10-28 11:14:48 -0700
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2019-10-28 12:50:46 -0700
commitc7557dd692368d8ac3fc330d698b536e78560ac4 (patch)
tree4c6ec91601156e97cdae35dcf959c678097fa8c7 /llvm/lib/MC/MCObjectFileInfo.cpp
parent209d5a12c55fe674686b5dbff8ba59cad665a56a (diff)
downloadllvm-c7557dd692368d8ac3fc330d698b536e78560ac4.zip
llvm-c7557dd692368d8ac3fc330d698b536e78560ac4.tar.gz
llvm-c7557dd692368d8ac3fc330d698b536e78560ac4.tar.bz2
[Remarks] Remove references to ELF support
There is no ELF support at the moment. Remove all the references to the `.remarks` section.
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r--llvm/lib/MC/MCObjectFileInfo.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp
index 1a9ceb0..be19592 100644
--- a/llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/llvm/lib/MC/MCObjectFileInfo.cpp
@@ -480,9 +480,6 @@ void MCObjectFileInfo::initELFMCObjectFileInfo(const Triple &T, bool Large) {
Ctx->getELFSection(".eh_frame", EHSectionType, EHSectionFlags);
StackSizesSection = Ctx->getELFSection(".stack_sizes", ELF::SHT_PROGBITS, 0);
-
- RemarksSection =
- Ctx->getELFSection(".remarks", ELF::SHT_PROGBITS, ELF::SHF_EXCLUDE);
}
void MCObjectFileInfo::initCOFFMCObjectFileInfo(const Triple &T) {