aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-08-29 09:04:52 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-08-29 09:04:52 +0000
commit9fbecc97ae8d94465e496cff6e0d13f576dbe681 (patch)
tree469dcced24dd91965151597553d1ec8cc941ad37 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentb3caadf5f405d82ad9dbd94a35c5c375afd83ece (diff)
downloadllvm-9fbecc97ae8d94465e496cff6e0d13f576dbe681.zip
llvm-9fbecc97ae8d94465e496cff6e0d13f576dbe681.tar.gz
llvm-9fbecc97ae8d94465e496cff6e0d13f576dbe681.tar.bz2
Revert r340904 "[llvm-mc] - Allow to set custom flags for debug sections."
It broke PPC64 BB: http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/23252 llvm-svn: 340906
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 6944c53..7a5fd29 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -424,9 +424,6 @@ static SectionKind getELFKindForNamedSection(StringRef Name, SectionKind K) {
Name.startswith(".llvm.linkonce.tb."))
return SectionKind::getThreadBSS();
- if (Name.startswith(".debug_"))
- return SectionKind::getMetadata();
-
return K;
}