[PATCH] D17309: [coverage] covmap section can now be emitted as 'progbits' without alloc flag set

David Li via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 09:24:51 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL261228: Stop creating covmap as note section on ELF (authored by davidxl).

Changed prior to commit:
  http://reviews.llvm.org/D17309?vs=48121&id=48341#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D17309

Files:
  llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp

Index: llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ llvm/trunk/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -155,9 +155,6 @@
 
 static unsigned getELFSectionType(StringRef Name, SectionKind K) {
 
-  if (Name == getInstrProfCoverageSectionName(false))
-    return ELF::SHT_NOTE;
-
   if (Name == ".init_array")
     return ELF::SHT_INIT_ARRAY;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17309.48341.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160218/dcac6f4b/attachment.bin>


More information about the llvm-commits mailing list