[all-commits] [llvm/llvm-project] 95f4aa: [clang][bytecode] Add assert to ensure correct st...

smanna12 via All-commits all-commits at lists.llvm.org
Thu Nov 21 06:45:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95f4aa44ae660c649560fd32868fef14d7925551
      https://github.com/llvm/llvm-project/commit/95f4aa44ae660c649560fd32868fef14d7925551
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-11-21 (Thu, 21 Nov 2024)

  Changed paths:
    M clang/lib/AST/ByteCode/Interp.cpp

  Log Message:
  -----------
   [clang][bytecode] Add assert to ensure correct state restoration in CallBI function (#115496)

This commit adds an assert statement to the CallBI function to ensure
that the interpreter state (S.Current) is correctly reset to the
previous frame (FrameBefore) after InterpretBuiltin returns true. This
helps catch any potential issues during development and debugging.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list