[all-commits] [llvm/llvm-project] 3531c4: [AsmWriter] Don't crash when printing addrspace an...

vporpo via All-commits all-commits at lists.llvm.org
Tue Jan 10 15:15:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3531c41168e01bf1750b436036c9b9db7e8ee5d5
      https://github.com/llvm/llvm-project/commit/3531c41168e01bf1750b436036c9b9db7e8ee5d5
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/unittests/IR/AsmWriterTest.cpp

  Log Message:
  -----------
  [AsmWriter] Don't crash when printing addrspace and the operand is null

This helps print instructions with detached operands in the debugger.

Differential Revision: https://reviews.llvm.org/D141343




More information about the All-commits mailing list