[PATCH] D51695: [MC] [AsmParser]: Ensure a new CFI frame is not opened within an existing one when using cc1as (causing a crash due to failed assert).

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 7 12:54:35 PDT 2018


rnk added a comment.

I'd suggest fixing this in `MCStreamer::EmitCFIStartProc` by having it recover in some way that doesn't lead to future assertions. Also, it should be possible to write a standalone .s test case for this.


Repository:
  rL LLVM

https://reviews.llvm.org/D51695





More information about the llvm-commits mailing list