commit | 713c4bfc36260bfc9273d414b14757bd7819f9b1 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue May 10 13:39:48 2011 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue May 10 13:39:48 2011 +0000 |
tree | 3dfa639483346de56c16191a54119c14c0287827 | |
parent | 0d1097078934744fd223b3825dc94799e93ef775 [diff] [blame] |
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; }