[all-commits] [llvm/llvm-project] c0735c: [AMDGPU] Do not internalize ASan device library fu...

Mahesha S via All-commits all-commits at lists.llvm.org
Tue Sep 28 18:49:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0735cb9f11d84b371a1e8dddc9f8fbe333ea37f
      https://github.com/llvm/llvm-project/commit/c0735cb9f11d84b371a1e8dddc9f8fbe333ea37f
  Author: hsmahesha <mahesha.comp at gmail.com>
  Date:   2021-09-29 (Wed, 29 Sep 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    A llvm/test/Instrumentation/AddressSanitizer/AMDGPU/asan_do_not_internalize.ll

  Log Message:
  -----------
  [AMDGPU] Do not internalize ASan device library functions.

ASan device library functions (those starts with the prefix __asan_)
are at the moment undergoing through undesired optimizations due to
internalization. Hence, in order to avoid such undesired optimizations
on ASan device library functions, do not internalize them in the first
place.

Reviewed By: yaxunl

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




More information about the All-commits mailing list