[all-commits] [llvm/llvm-project] 8fa570: [WebAssembly] Fix incorrect DW_TAG_pointer_type si...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Mar 31 01:33:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fa570c96908a459d3b067a815b7c307f4555556
      https://github.com/llvm/llvm-project/commit/8fa570c96908a459d3b067a815b7c307f4555556
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M llvm/test/MC/WebAssembly/debug-info64.ll

  Log Message:
  -----------
  [WebAssembly] Fix incorrect DW_TAG_pointer_type size in test

It should be 64 bits not 32 for wasm64-unknown-unknown. I noticed this
because this test was failing in our CHERI fork of LLVM due to a larger
.debug_abbrev section size. It turns out this happens because we add
DW_AT_byte_size for non-default pointer sizes to allow debugging our
hybrid compilation mode where we can have two different kinds of pointers.

Reviewed By: aardappel

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


  Commit: ce193ea9e8430f15d19dd60d73f13a66e4f374ac
      https://github.com/llvm/llvm-project/commit/ce193ea9e8430f15d19dd60d73f13a66e4f374ac
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Posix/asan-sigbus.cpp

  Log Message:
  -----------
  [asan] Remove FreeBSD XFAIL from asan-sigbus.cpp test

This test passes for me on FreeBSD 12.2 and was probably fixed by
https://svnweb.freebsd.org/base?view=revision&revision=352807.

Reviewed By: emaste

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


  Commit: 44ce487bfe8badc3e3718e7cc81c289540e6725d
      https://github.com/llvm/llvm-project/commit/44ce487bfe8badc3e3718e7cc81c289540e6725d
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M llvm/utils/TableGen/CodeGenDAGPatterns.cpp

  Log Message:
  -----------
  [TableGen] Emit more helpful error messages on empty type set

I have seen this error quite frequently in our out-of-tree CHERI backends
and the lack of location information sometimes makes it quite difficult
to track down the actual source of the error.
This patch changes the llvm_unreachable() to a PrintFatalError() so that
tablegen prints a stack of source locations.

Reviewed By: craig.topper

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


Compare: https://github.com/llvm/llvm-project/compare/43b9fa3ce0dd...44ce487bfe8b


More information about the All-commits mailing list