r277473 - [analyzer] Hotfix for buildbot failure due to unspecified triple in r277449

Artem Dergachev via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 2 08:16:06 PDT 2016


Author: dergachev
Date: Tue Aug  2 10:16:06 2016
New Revision: 277473

URL: http://llvm.org/viewvc/llvm-project?rev=277473&view=rev
Log:
[analyzer] Hotfix for buildbot failure due to unspecified triple in r277449

If a target triple is not specified, the default host triple is used,
which is not good for compiling inline assembler code.

Patch by Raphael Isemann!

Modified:
    cfe/trunk/test/Analysis/copypaste/asm.cpp

Modified: cfe/trunk/test/Analysis/copypaste/asm.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/copypaste/asm.cpp?rev=277473&r1=277472&r2=277473&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/copypaste/asm.cpp (original)
+++ cfe/trunk/test/Analysis/copypaste/asm.cpp Tue Aug  2 10:16:06 2016
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -analyze -std=c++11 -analyzer-checker=alpha.clone.CloneChecker -verify %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -analyze -analyzer-checker=alpha.clone.CloneChecker -verify %s
 
 // expected-no-diagnostics
 




More information about the cfe-commits mailing list