[all-commits] [llvm/llvm-project] 5f5832: [HWASan] Build separate LAM runtime on x86_64.

Matt Morehouse via All-commits all-commits at lists.llvm.org
Mon May 17 09:19:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f58322368b070b63fe2b2559a54f646cb97e2c4
      https://github.com/llvm/llvm-project/commit/5f58322368b070b63fe2b2559a54f646cb97e2c4
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2021-05-17 (Mon, 17 May 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M compiler-rt/lib/hwasan/CMakeLists.txt
    M compiler-rt/lib/hwasan/hwasan.h
    M compiler-rt/lib/hwasan/hwasan_allocator.h
    M compiler-rt/lib/hwasan/hwasan_dynamic_shadow.cpp
    M compiler-rt/lib/hwasan/hwasan_linux.cpp

  Log Message:
  -----------
  [HWASan] Build separate LAM runtime on x86_64.

Since we have both aliasing mode and Intel LAM on x86_64, we need to
choose the mode at either run time or compile time.  This patch
implements the plumbing to build both and choose between them at
compile time.

Reviewed By: vitalybuka, eugenis

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




More information about the All-commits mailing list