aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-09-09 19:48:37 +0000
committerBill Wendling <isanbard@gmail.com>2013-09-09 19:48:37 +0000
commitda11df0c22f5d0ba2e2be3ae4a7076c806233db8 (patch)
tree5c6b6d725fd502b9d691276ef457b0f0aa67f9a8 /lib/MC/MCELFStreamer.cpp
parent2c9905a1f3bcf22cc2f93332cc8411d11798ba07 (diff)
downloadexternal_llvm-da11df0c22f5d0ba2e2be3ae4a7076c806233db8.zip
external_llvm-da11df0c22f5d0ba2e2be3ae4a7076c806233db8.tar.gz
external_llvm-da11df0c22f5d0ba2e2be3ae4a7076c806233db8.tar.bz2
Call generateCompactUnwindEncodings() right before we need to output the frame information.
There are more than one paths to where the frame information is emitted. Place the call to generateCompactUnwindEncodings() into the method which outputs the frame information, thus ensuring that the encoding is there for every path. This involved threading the MCAsmBackend object through to this method. <rdar://problem/13623355> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190335 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 4661d50..a04352a 100644
--- a/lib/MC/MCELFStreamer.cpp
+++ b/lib/MC/MCELFStreamer.cpp
@@ -528,7 +528,7 @@ void MCELFStreamer::EmitBundleUnlock() {
}
void MCELFStreamer::FinishImpl() {
- EmitFrames(true);
+ EmitFrames(NULL, true);
for (std::vector<LocalCommon>::const_iterator i = LocalCommons.begin(),
e = LocalCommons.end();