[all-commits] [llvm/llvm-project] 6a822e: [ASan][MSan] Remove EmptyAsm and set the CallInst ...

ZequanWu via All-commits all-commits at lists.llvm.org
Tue Jun 23 14:23:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a822e20ce700f2f98e80c6ce8dda026099c39b7
      https://github.com/llvm/llvm-project/commit/6a822e20ce700f2f98e80c6ce8dda026099c39b7
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
    M llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
    M llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll
    M llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll
    M llvm/test/Instrumentation/SanitizerCoverage/coverage.ll
    M llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll
    M llvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-comdat.ll
    M llvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-nocomdat.ll

  Log Message:
  -----------
  [ASan][MSan] Remove EmptyAsm and set the CallInst to nomerge to avoid from merging.

Summary: `nomerge` attribute was added at D78659. So, we can remove the EmptyAsm workaround in ASan the MSan and use this attribute.

Reviewers: vitalybuka

Reviewed By: vitalybuka

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list