Add CFIStartSections to the asm printer. Add an assert that at least
one of the sections is created.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131124 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/MC/MCStreamer.cpp b/lib/MC/MCStreamer.cpp
index 689e408..9b644a9 100644
--- a/lib/MC/MCStreamer.cpp
+++ b/lib/MC/MCStreamer.cpp
@@ -178,6 +178,7 @@
 }
 
 void MCStreamer::EmitCFISections(bool EH, bool Debug) {
+  assert(EH || Debug);
   EmitEHFrame = EH;
   EmitDebugFrame = Debug;
 }