[Clang] Add -no-opaque-pointers to native powerpc test (NFC)
authorNikita Popov <npopov@redhat.com>
Mon, 11 Apr 2022 11:14:49 +0000 (13:14 +0200)
committerNikita Popov <npopov@redhat.com>
Mon, 11 Apr 2022 11:15:46 +0000 (13:15 +0200)
Does not run on x86, so I missed this before. The test currently
has typed pointer check lines.

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

index 25711e8..e5920b7 100644 (file)
@@ -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>