mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-17 00:27:31 +00:00
Set the encoding to '0' if we don't have an MAB.
llvm-svn: 190354
This commit is contained in:
parent
48ec8d3046
commit
833f07563f
@ -74,11 +74,10 @@ raw_ostream &MCStreamer::GetCommentOS() {
|
||||
}
|
||||
|
||||
void MCStreamer::generateCompactUnwindEncodings(MCAsmBackend *MAB) {
|
||||
if (!MAB) return;
|
||||
for (std::vector<MCDwarfFrameInfo>::iterator I = FrameInfos.begin(),
|
||||
E = FrameInfos.end(); I != E; ++I)
|
||||
I->CompactUnwindEncoding =
|
||||
MAB->generateCompactUnwindEncoding(I->Instructions);
|
||||
(MAB ? MAB->generateCompactUnwindEncoding(I->Instructions) : 0);
|
||||
}
|
||||
|
||||
void MCStreamer::EmitDwarfSetLineAddr(int64_t LineDelta,
|
||||
|
Loading…
Reference in New Issue
Block a user