aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-26 20:20:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-26 20:20:31 +0000
commitd7c8ccae8e48dce3ab7c3e9b4d8a309998c47961 (patch)
tree4021749aae10d3953041ac80875ddf72cf1605da /lib/MC/MCELFStreamer.cpp
parentbb89710dddf967199dfc56e8bf5d28b0003f2ee6 (diff)
Add basic support for .cfi_personality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCELFStreamer.cpp')
-rw-r--r--lib/MC/MCELFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCELFStreamer.cpp b/lib/MC/MCELFStreamer.cpp
index 4636e2a1f0..2369821204 100644
--- a/lib/MC/MCELFStreamer.cpp
+++ b/lib/MC/MCELFStreamer.cpp
@@ -488,7 +488,7 @@ void MCELFStreamer::EmitInstToData(const MCInst &Inst) {
}
void MCELFStreamer::Finish() {
- if (!FrameInfos.empty())
+ if (getNumFrameInfos())
MCDwarfFrameEmitter::Emit(*this);
for (std::vector<LocalCommon>::const_iterator i = LocalCommons.begin(),