[all-commits] [llvm/llvm-project] edfcac: [clang][bytecode] Refactor backtrace param printin...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Jun 8 23:46:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edfcac6a5a4c63ee7b7414956031ad87ca635ae8
      https://github.com/llvm/llvm-project/commit/edfcac6a5a4c63ee7b7414956031ad87ca635ae8
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/Context.h
    M clang/lib/AST/ByteCode/EvalEmitter.cpp
    M clang/lib/AST/ByteCode/Function.h
    M clang/lib/AST/ByteCode/InterpFrame.cpp

  Log Message:
  -----------
  [clang][bytecode] Refactor backtrace param printing (#202325)

Instead of `classify()`ing the parameter types here, just use the saved
`PrimType` in the `ParamDescriptor`.

This also fixed an oddity with `interp::Context`: `Pointer::toRValue()`
takes an `interp::Context`, but some call sites passed an `ASTContext`
instead, which worked because of the implicit constructor. Make it
explicit.



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