Convert assert(0) to llvm_unreachable
[oota-llvm.git] / include / llvm / MC / MCSection.h
index b741216f94a4a265d774ef1a483c4aae96a24606..57008177b6d31e867347bc533eb65a13cd299919 100644 (file)
@@ -14,7 +14,6 @@
 #ifndef LLVM_MC_MCSECTION_H
 #define LLVM_MC_MCSECTION_H
 
-#include <string>
 #include "llvm/ADT/StringRef.h"
 #include "llvm/MC/SectionKind.h"
 #include "llvm/Support/Casting.h"
@@ -64,6 +63,10 @@ namespace llvm {
     // "optimized nops" to fill instead of 0s.
     virtual bool UseCodeAlign() const = 0;
 
+    /// isVirtualSection - Check whether this section is "virtual", that is
+    /// has no actual object file contents.
+    virtual bool isVirtualSection() const = 0;
+
     static bool classof(const MCSection *) { return true; }
   };