[all-commits] [llvm/llvm-project] 1822bc: Remove `__cdecl` from _ReturnAddress (#72919)
nicole mazzuca via All-commits
all-commits at lists.llvm.org
Wed Nov 22 10:11:24 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1822bc15cb378458e942e405ae7da32ee75b8c5b
https://github.com/llvm/llvm-project/commit/1822bc15cb378458e942e405ae7da32ee75b8c5b
Author: nicole mazzuca <nicole at strega-nil.co>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M compiler-rt/include/sanitizer/common_interface_defs.h
A compiler-rt/test/asan/TestCases/Windows/msvc/gz.cpp
Log Message:
-----------
Remove `__cdecl` from _ReturnAddress (#72919)
As an intrinsic, `_ReturnAddress` does not need it; additionally,
if someone else declares `_ReturnAddress` without `__cdecl` (for
example, `<intrin.h>`)
Additionally, actually add a test for this change. I've tested it
locally with both LLVM and MSVC.
More information about the All-commits
mailing list