[all-commits] [llvm/llvm-project] 5d1f77: [clang][Interp][NFC] Add Dump debug op

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Apr 8 22:56:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d1f779540517f47abb4927f4ded51cac94fd366
      https://github.com/llvm/llvm-project/commit/5d1f779540517f47abb4927f4ded51cac94fd366
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td

  Log Message:
  -----------
  [clang][Interp][NFC] Add Dump debug op

This is often useful for debugging and dumps the current stack
contents.


  Commit: acff0b03167f877f783d9386014e1ebc20db1c2f
      https://github.com/llvm/llvm-project/commit/acff0b03167f877f783d9386014e1ebc20db1c2f
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M clang/lib/AST/Interp/Disasm.cpp
    M clang/lib/AST/Interp/Record.cpp
    M clang/lib/AST/Interp/Record.h

  Log Message:
  -----------
  [clang][Interp][NFC] Improve Record debugging

Add Record::dump() and return the diagnostic name from getName()


  Commit: 11ba795565c231a95a7e34bb0e4dff099234c736
      https://github.com/llvm/llvm-project/commit/11ba795565c231a95a7e34bb0e4dff099234c736
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-04-09 (Tue, 09 Apr 2024)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h

  Log Message:
  -----------
  [clang][Interp][NFC] Add sanity checks to This op

The instance pointer must be casted to the right base.


Compare: https://github.com/llvm/llvm-project/compare/c7db450e5c1a...11ba795565c2

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