[clang] 3da69fb - [Clang][AArch64][ARM] Unaligned Access Test Fix
Mubashar Ahmad via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 20 07:30:10 PST 2022
Author: Mubashar Ahmad
Date: 2022-01-20T15:29:53Z
New Revision: 3da69fb5a26c7bf83320b3b4ad0859be9b47b3fb
URL: https://github.com/llvm/llvm-project/commit/3da69fb5a26c7bf83320b3b4ad0859be9b47b3fb
DIFF: https://github.com/llvm/llvm-project/commit/3da69fb5a26c7bf83320b3b4ad0859be9b47b3fb.diff
LOG: [Clang][AArch64][ARM] Unaligned Access Test Fix
Test fixed for the unaligned access warning.
Added:
Modified:
clang/test/Sema/test-wunaligned-access.c
Removed:
################################################################################
diff --git a/clang/test/Sema/test-wunaligned-access.c b/clang/test/Sema/test-wunaligned-access.c
index 55c2149634d1a..909cda45f489b 100644
--- a/clang/test/Sema/test-wunaligned-access.c
+++ b/clang/test/Sema/test-wunaligned-access.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -triple=armv7-none-none-eabi -verify -Wunaligned-access -S -emit-llvm
+// RUN: %clang_cc1 %s -triple=armv7-none-none-eabi -verify -Wunaligned-access -S -emit-llvm -o %t
// REQUIRES: arm-registered-target
//
// This test suite tests the warning triggered by the -Wunaligned-access option.
More information about the cfe-commits
mailing list