[all-commits] [llvm/llvm-project] 97de01: [MSAN] Reintroduce libatomic load/store instrument...

Gui Andrade via All-commits all-commits at lists.llvm.org
Fri Aug 14 13:41:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 97de0188dd5d845ff90c8ac779a2ea09688b17df
      https://github.com/llvm/llvm-project/commit/97de0188dd5d845ff90c8ac779a2ea09688b17df
  Author: Gui Andrade <guiand at google.com>
  Date:   2020-08-14 (Fri, 14 Aug 2020)

  Changed paths:
    A compiler-rt/test/msan/libatomic.c
    A compiler-rt/test/msan/libatomic_load_exceptions.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    A llvm/test/Instrumentation/MemorySanitizer/libatomic.ll

  Log Message:
  -----------
  [MSAN] Reintroduce libatomic load/store instrumentation

Have the front-end use the `nounwind` attribute on atomic libcalls.
This prevents us from seeing `invoke __atomic_load` in MSAN, which
is problematic as it has no successor for instrumentation to be added.




More information about the All-commits mailing list