[all-commits] [llvm/llvm-project] a2e782: [compiler-rt] Relax CHECK line in reaches_function.c

Alexander Richardson via All-commits all-commits at lists.llvm.org
Fri Mar 1 19:12:05 PST 2024


  Branch: refs/heads/users/arichardson/spr/compiler-rt-build-libfuzzer-sources-with-the-chosen-c-compiler
  Home:   https://github.com/llvm/llvm-project
  Commit: a2e7827fde0d87b7e8665926b2b9e73171e07369
      https://github.com/llvm/llvm-project/commit/a2e7827fde0d87b7e8665926b2b9e73171e07369
  Author: Alexander Richardson <alexrichardson at google.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M compiler-rt/test/dfsan/reaches_function.c

  Log Message:
  -----------
  [compiler-rt] Relax CHECK line in reaches_function.c

In my build environment, the output is a relative path:
```
test/dfsan/reaches_function.c:34 add.dfsan
test/dfsan/reaches_function.c:56 main
```

This fixes check-dfsan in my configuration:
```
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -G Ninja
-DCMAKE_C_COMPILER=$HOME/output/upstream-llvm/bin/clang
-DCMAKE_CXX_COMPILER=$HOME/output/upstream-llvm/bin/clang++
-DCOMPILER_RT_INCLUDE_TESTS=ON
-DLLVM_EXTERNAL_LIT=$HOME/build/upstream-llvm-project-build/bin/llvm-lit
-DLLVM_CMAKE_DIR=$HOME/output/upstream-llvm
-DCOMPILER_RT_DEBUG=OFF
-S $HOME/src/upstream-llvm-project/compiler-rt
-B $HOME/src/upstream-llvm-project/compiler-rt/cmake-build-all-sanitizers
```

Reviewers: browneee, vitalybuka

Reviewed By: vitalybuka

Pull Request: https://github.com/llvm/llvm-project/pull/83089


  Commit: 4e3b28ac2082ef99d94b71c0b5ff8b47a1a0018d
      https://github.com/llvm/llvm-project/commit/4e3b28ac2082ef99d94b71c0b5ff8b47a1a0018d
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:

  Log Message:
  -----------
  [𝘀𝗽𝗿] landed version

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/b0687a6047f1...4e3b28ac2082

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list