[compiler-rt] [win/asan] Add a test skeleton for function GetInstructionSize. (PR #116948)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 20 02:29:22 PST 2024
================
@@ -907,6 +912,11 @@ static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) {
return 0;
}
+// Unfortunately size_t is not known when compiling asan_allocator.cpp
----------------
zmodem wrote:
I guess the problem with size_t is only in the header file, interception_win.h? If so, can we use SIZE_T only there, and size_t everywhere else? (Or are they not compatible?)
We could also use `unsigned` for the test function instead of `size_t`..
https://github.com/llvm/llvm-project/pull/116948
More information about the llvm-commits
mailing list