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.
LGTM