[all-commits] [llvm/llvm-project] c5ea9b: [test][asan] Make the printf-5.c test case actuall...
Patrick Walton via All-commits
all-commits at lists.llvm.org
Sun Oct 30 13:20:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c5ea9b8a51ddcd5121ec1bcad7b034c8aa692f52
https://github.com/llvm/llvm-project/commit/c5ea9b8a51ddcd5121ec1bcad7b034c8aa692f52
Author: Patrick Walton <pcwalton at fb.com>
Date: 2022-10-30 (Sun, 30 Oct 2022)
Changed paths:
M compiler-rt/test/asan/TestCases/printf-5.c
Log Message:
-----------
[test][asan] Make the printf-5.c test case actually emit a volatile memcpy.
The current test in printf-5.c appears to try to emit a volatile memcpy for the
format string, but it doesn't because the volatile qualifier is implicitly
casted away. Using a string literal instead preserves the volatile qualifier.
This is a follow-up to D137031 and is a prerequisite for D136822, which elides
memcpys in more instances and would otherwise break this test.
Differential Revision: https://reviews.llvm.org/D137042
More information about the All-commits
mailing list