[all-commits] [llvm/llvm-project] 5ee902: [compiler-rt][asan] Add noinline to use-after-scop...

jsji via All-commits all-commits at lists.llvm.org
Wed May 27 07:10:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ee902bb5f3a843230f45dcd7b8101de71da7c83
      https://github.com/llvm/llvm-project/commit/5ee902bb5f3a843230f45dcd7b8101de71da7c83
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M compiler-rt/test/asan/TestCases/use-after-scope-dtor-order.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-temp.cpp
    M compiler-rt/test/asan/TestCases/use-after-scope-temp2.cpp

  Log Message:
  -----------
  [compiler-rt][asan] Add noinline to use-after-scope testcases

Some testcases are unexpectedly passing with NPM.
This is because the target functions are inlined in NPM.

I think we should add noinline attribute to keep these test points.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list