[all-commits] [llvm/llvm-project] 7b2355: Fix-forward ASan on Windows.

Mitch Phillips via All-commits all-commits at lists.llvm.org
Mon Jun 27 15:53:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b2355277950e5b42f04c0bdbc7fb8a2c4f5e308
      https://github.com/llvm/llvm-project/commit/7b2355277950e5b42f04c0bdbc7fb8a2c4f5e308
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2022-06-27 (Mon, 27 Jun 2022)

  Changed paths:
    M compiler-rt/test/asan/TestCases/debug_locate.cpp
    M compiler-rt/test/asan/TestCases/describe_address.cpp
    M compiler-rt/test/asan/TestCases/global-demangle.cpp
    M compiler-rt/test/asan/TestCases/global-location-nodebug.cpp

  Log Message:
  -----------
  Fix-forward ASan on Windows.

D127911 deleted llvm.asan.globals. This had a side effect that we no
longer generated the `name` field for the `__asan_global` descriptor
from clang's decscription of the name, but the demangled name from the
LLVM IR. On Linux, this is the same as the clang-provided name. On
Windows, this includes the type, as the name in the IR is the mangled
name.

Attempt #1 to fix-forward the Windows bots by making the tests glob both
sides of the global name, thereby allowing types in the descriptor name.




More information about the All-commits mailing list