[all-commits] [llvm/llvm-project] 88464a: AArch64: emit @llvm.debugtrap as `brk #0xf000` on ...

Tim Northover via All-commits all-commits at lists.llvm.org
Mon Jul 20 02:31:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 88464a55b4eda9b778a8b9ca0193d4c6c11c6053
      https://github.com/llvm/llvm-project/commit/88464a55b4eda9b778a8b9ca0193d4c6c11c6053
  Author: Tim Northover <t.p.northover at gmail.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64FastISel.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/debugtrap.ll
    R llvm/test/CodeGen/AArch64/windows-trap1.ll

  Log Message:
  -----------
  AArch64: emit @llvm.debugtrap as `brk #0xf000` on all platforms

It's useful for a debugger to be able to distinguish an @llvm.debugtrap
from a (noreturn) @llvm.trap, so this extends the existing Windows
behaviour to other platforms.




More information about the All-commits mailing list