[llvm] Add a support for per function CIE (PR #192727)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 13:49:56 PDT 2026


================
@@ -1979,7 +1979,8 @@ void MCDwarfFrameEmitter::emit(MCObjectStreamer &Streamer, bool IsEH) {
       continue;
 
     CIEKey Key(Frame);
-    if (!LastCIEStart || (IsEH && Key != LastKey)) {
----------------
jaewookshin701 wrote:

That is true only if `IsEH` is true. Fix is to add another condition in an OR condition so that it generate a CIE even when IsEH is false.

https://github.com/llvm/llvm-project/pull/192727


More information about the llvm-commits mailing list