[clang] b00d0fa - [Clang] Add -no-opaque-pointers to native powerpc test (NFC)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 11 04:15:54 PDT 2022


Author: Nikita Popov
Date: 2022-04-11T13:15:46+02:00
New Revision: b00d0fa2c7f0a187867c535b3f7006376420d58f

URL: https://github.com/llvm/llvm-project/commit/b00d0fa2c7f0a187867c535b3f7006376420d58f
DIFF: https://github.com/llvm/llvm-project/commit/b00d0fa2c7f0a187867c535b3f7006376420d58f.diff

LOG: [Clang] Add -no-opaque-pointers to native powerpc test (NFC)

Does not run on x86, so I missed this before. The test currently
has typed pointer check lines.

Added: 
    

Modified: 
    clang/test/CodeGen/PowerPC/ppc-mm-malloc.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/PowerPC/ppc-mm-malloc.c b/clang/test/CodeGen/PowerPC/ppc-mm-malloc.c
index 25711e80fffd2..e5920b76d0e3c 100644
--- a/clang/test/CodeGen/PowerPC/ppc-mm-malloc.c
+++ b/clang/test/CodeGen/PowerPC/ppc-mm-malloc.c
@@ -6,7 +6,7 @@
 // require installing target headers in build env, otherwise expecting
 // failures. So this test will focus on native build only.
 
-// RUN: %clang -target powerpc64-unknown-linux-gnu -S -emit-llvm %s -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | FileCheck %s
+// RUN: %clang -Xclang -no-opaque-pointers -target powerpc64-unknown-linux-gnu -S -emit-llvm %s -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | FileCheck %s
 
 #include <mm_malloc.h>
 


        


More information about the cfe-commits mailing list