[llvm] [Asan] Provide TTI hook to provide memory reference infromation of target intrinsics. (PR #97070)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 21:07:06 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast` running on `gribozavr4` while building `llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/4356
Here is the relevant piece of the build log for the reference:
```
Step 5 (build-unified-tree) failure: build (failure)
...
/// \param CondTy Conditional type for the Select instruction.
^~~~~~
6 warnings generated.
91.751 [240/37/5686] Building OCaml stub object file SystemZ_ocaml.o
91.818 [239/37/5687] Building OCaml library llvm_SystemZ
91.879 [238/37/5688] Building OCaml documentation for llvm_SystemZ
91.905 [237/37/5689] Running utility command for ocaml_llvm_SystemZ
93.303 [237/36/5690] Linking CXX executable bin/clang-tidy
93.391 [237/35/5691] Building CXX object tools/llvm-reduce/CMakeFiles/llvm-reduce.dir/deltas/ReduceUsingSimplifyCFG.cpp.o
93.551 [237/34/5692] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUAsanInstrumentation.cpp.o
FAILED: lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUAsanInstrumentation.cpp.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/b/1/clang-x86_64-debian-fast/llvm.obj/lib/Target/AMDGPU -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AMDGPU -I/b/1/clang-x86_64-debian-fast/llvm.obj/include -I/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include -std=c++11 -Wdocumentation -Wno-documentation-deprecated-sync -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fvisibility=hidden -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUAsanInstrumentation.cpp.o -MF lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUAsanInstrumentation.cpp.o.d -o lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUAsanInstrumentation.cpp.o -c /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.cpp
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.cpp:9:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h:24:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:64:14: warning: parameter 'Do' not found in the function declaration [-Wdocumentation]
/// @param Do these weights come from __builtin_expect*
^~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:64:14: note: did you mean 'IsExpected'?
/// @param Do these weights come from __builtin_expect*
^~
IsExpected
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:78:14: warning: parameter 'Do' not found in the function declaration [-Wdocumentation]
/// @param Do these weights come from __builtin_expect*
^~
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/IR/MDBuilder.h:78:14: note: did you mean 'IsExpected'?
/// @param Do these weights come from __builtin_expect*
^~
IsExpected
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.cpp:9:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h:55:21: error: use of undeclared identifier 'InterestingMemoryOperand'
SmallVectorImpl<InterestingMemoryOperand> &Interesting);
^
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.cpp:184:21: error: use of undeclared identifier 'InterestingMemoryOperand'; did you mean 'getInterestingMemoryOperands'?
SmallVectorImpl<InterestingMemoryOperand> &Interesting) {
^~~~~~~~~~~~~~~~~~~~~~~~
getInterestingMemoryOperands
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h:53:6: note: 'getInterestingMemoryOperands' declared here
void getInterestingMemoryOperands(
^
2 warnings and 2 errors generated.
93.779 [237/33/5693] Building CXX object lib/Target/AMDGPU/CMakeFiles/LLVMAMDGPUCodeGen.dir/AMDGPUUnifyDivergentExitNodes.cpp.o
94.323 [237/32/5694] Building CXX object lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86CodeGenPassBuilder.cpp.o
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/X86/X86CodeGenPassBuilder.cpp:13:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/lib/Target/X86/X86ISelDAGToDAG.h:12:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/CodeGen/SelectionDAGISel.h:19:
In file included from /b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/CodeGen/SelectionDAG.h:33:
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:2189:10: warning: HTML start tag prematurely ended, expected attribute name or '>' [-Wdocumentation]
/// "<a, a+n, a+2n, a+3n, ...>" where a is integer and n is a non-zero integer,
^
```
https://github.com/llvm/llvm-project/pull/97070
More information about the llvm-commits
mailing list