[all-commits] [llvm/llvm-project] 404bc5: [Asan] Loose call stack CHECK conditions

Hau Hsu via All-commits all-commits at lists.llvm.org
Thu Jul 27 18:00:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 404bc5ca2ae5fffa45d5240dcf52b7f134988867
      https://github.com/llvm/llvm-project/commit/404bc5ca2ae5fffa45d5240dcf52b7f134988867
  Author: Hau Hsu <hau.hsu at sifive.com>
  Date:   2023-07-27 (Thu, 27 Jul 2023)

  Changed paths:
    M compiler-rt/test/asan/TestCases/Linux/syscalls.cpp
    M compiler-rt/test/asan/TestCases/Posix/bcmp_test.cpp
    M compiler-rt/test/asan/TestCases/memcmp_test.cpp

  Log Message:
  -----------
  [Asan] Loose call stack CHECK conditions

These test cases are checking specific functions in call stacks.
But if the call stack order is changed (e.g. another function is not inlined),
the frame number would be different.
This patch loose the frame number checks for those conditions.

Depends on D139827

Reviewed By: vitalybuka

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




More information about the All-commits mailing list