]> granicus.if.org Git - clang/commitdiff
Add __nodebug__ attribute to functions in arm_neon.h
authorBob Wilson <bob.wilson@apple.com>
Fri, 14 Oct 2011 16:55:33 +0000 (16:55 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 14 Oct 2011 16:55:33 +0000 (16:55 +0000)
This matches what we do for Intel vector intrinsics. <rdar://problem/10280207>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141958 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/NeonEmitter.cpp

index 0b5665fdc2b5bae3861c7d380675bd70e9d47eda..66845ccacb32f4dea8be170ed02f1cbe3fc7272f 100644 (file)
@@ -1165,7 +1165,7 @@ void NeonEmitter::run(raw_ostream &OS) {
     }
   }
 
-  OS << "#define __ai static __attribute__((__always_inline__))\n\n";
+  OS<<"#define __ai static __attribute__((__always_inline__, __nodebug__))\n\n";
 
   std::vector<Record*> RV = Records.getAllDerivedDefinitions("Inst");