aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kirth <paulkirth@google.com>2025-01-10 13:04:15 -0800
committerPaul Kirth <paulkirth@google.com>2025-01-10 13:04:15 -0800
commit0a419a5cbb4f2c811726a85f55a4beed00a3fa56 (patch)
tree2c882415b130c186ff4c25a241db84a12237522a
parent813bacf729bbcbd8d6d37093dfaf95a4f45d623b (diff)
downloadllvm-users/ilovepi/spr/main.libunwindcmake-compile-_unwind-routines-with-fexceptions.zip
llvm-users/ilovepi/spr/main.libunwindcmake-compile-_unwind-routines-with-fexceptions.tar.gz
llvm-users/ilovepi/spr/main.libunwindcmake-compile-_unwind-routines-with-fexceptions.tar.bz2
Created using spr 1.3.6-beta.1 [skip ci]
-rw-r--r--compiler-rt/lib/rtsan/tests/rtsan_test_functional.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/rtsan/tests/rtsan_test_functional.cpp b/compiler-rt/lib/rtsan/tests/rtsan_test_functional.cpp
index 40c4f3b..e05d7ae 100644
--- a/compiler-rt/lib/rtsan/tests/rtsan_test_functional.cpp
+++ b/compiler-rt/lib/rtsan/tests/rtsan_test_functional.cpp
@@ -146,8 +146,7 @@ TEST(TestRtsan, LaunchingAThreadDiesWhenRealtime) {
namespace {
void InvokeStdFunction(std::function<void()> &&function) { function(); }
-template <typename T>
-void HideMemoryFromCompiler(T* memory) {
+template <typename T> void HideMemoryFromCompiler(T *memory) {
// Pass the pointer to an empty assembly block as an input, and inform
// the compiler that memory is read to and possibly modified. This should not
// be architecture specific, since the asm block is empty.