[all-commits] [llvm/llvm-project] 99eca1: [Driver] Enable kernel address and memory sanitize...

Mark Johnston via All-commits all-commits at lists.llvm.org
Thu Apr 15 09:49:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99eca1bd9c7ac8de4caba0733c3079ff93b65deb
      https://github.com/llvm/llvm-project/commit/99eca1bd9c7ac8de4caba0733c3079ff93b65deb
  Author: Mark Johnston <markj at FreeBSD.org>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/test/Driver/fsanitize.c

  Log Message:
  -----------
  [Driver] Enable kernel address and memory sanitizers on FreeBSD

Test Plan: using kernel ASAN and MSAN implementations in FreeBSD

Reviewed By: emaste, dim, arichardson

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


  Commit: f511dc75e4c130abda77a30299402abaf04d8238
      https://github.com/llvm/llvm-project/commit/f511dc75e4c130abda77a30299402abaf04d8238
  Author: Mark Johnston <markjdb at gmail.com>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp

  Log Message:
  -----------
  [asan] Add an offset for the kernel address sanitizer on FreeBSD

This is based on a port of the sanitizer runtime to the FreeBSD kernel
that has been commited as https://cgit.freebsd.org/src/commit/?id=38da497a4dfcf1979c8c2b0e9f3fa0564035c147
and the following commits.

Reviewed By: emaste, dim
Differential Revision: https://reviews.llvm.org/D98285


Compare: https://github.com/llvm/llvm-project/compare/f28cb01be071...f511dc75e4c1


More information about the All-commits mailing list