This is an archive of the discontinued LLVM Phabricator instance.

[MC] - Don't crash on unclosed frame.
ClosedPublic

Authored by grimar on Feb 19 2018, 3:32 AM.

Details

Summary

llvm-mc can crash when
there is cfi_startproc without cfi_end_proc:

.text
.globl foo
foo:
 .cfi_startproc

Testcase shows the issue, patch fixes it.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar updated this revision to Diff 134883.Feb 19 2018, 3:32 AM
grimar created this revision.
  • Add forgotten code change.
This revision is now accepted and ready to land.Feb 19 2018, 8:52 AM
This revision was automatically updated to reflect the committed changes.