Hi There,

 

The attached patch adds -emit-llvm option to the following clang tests.

 

CodeGenCXX/vtable-debug-info.cpp

Driver/objc++-cpp-output.mm

Driver/objc-cpp-output.m

 

The object file output doesn't seem necessary for the purpose of these tests
but causes them to fail for Hexagon.

 

Please let me know if it's okay to commit.

 

Thanks,

Jyotsna

--

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation

 

>From 4ffbafda4145b5807161b7188fae053367d0c663 Mon Sep 17 00:00:00 2001
From: Jyotsna Verma <[email protected]>
Date: Thu, 11 Apr 2013 13:45:13 -0500
Subject: [PATCH] Use -emit-llvm for the following tests to stop them from
 failing for Hexagon:

CodeGenCXX/vtable-debug-info.cpp
Driver/objc++-cpp-output.mm
Driver/objc-cpp-output.m

Object file output not required for these tests.
---
 test/CodeGenCXX/vtable-debug-info.cpp |    2 +-
 test/Driver/objc++-cpp-output.mm      |    4 ++--
 test/Driver/objc-cpp-output.m         |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/CodeGenCXX/vtable-debug-info.cpp 
b/test/CodeGenCXX/vtable-debug-info.cpp
index 9294d20..8b6b08d 100644
--- a/test/CodeGenCXX/vtable-debug-info.cpp
+++ b/test/CodeGenCXX/vtable-debug-info.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang -c -g %s -o /dev/null
+// RUN: %clang -emit-llvm -c -g %s -o /dev/null
 // Radar 8730409
 // XFAIL: win32
 
diff --git a/test/Driver/objc++-cpp-output.mm b/test/Driver/objc++-cpp-output.mm
index 63b15d8..ccc4a68 100644
--- a/test/Driver/objc++-cpp-output.mm
+++ b/test/Driver/objc++-cpp-output.mm
@@ -1,5 +1,5 @@
-// RUN: %clang -x objc++-cpp-output -c %s -o /dev/null
-// RUN: %clang -x objc++-cpp-output -c %s -o /dev/null -### 2>&1 | FileCheck %s
+// RUN: %clang -emit-llvm -x objc++-cpp-output -c %s -o /dev/null
+// RUN: %clang -emit-llvm -x objc++-cpp-output -c %s -o /dev/null -### 2>&1 | 
FileCheck %s
 
 // PR13820
 // REQUIRES: LP64
diff --git a/test/Driver/objc-cpp-output.m b/test/Driver/objc-cpp-output.m
index 8c174f7..6239419 100644
--- a/test/Driver/objc-cpp-output.m
+++ b/test/Driver/objc-cpp-output.m
@@ -1,4 +1,4 @@
-// RUN: %clang -x objc-cpp-output -c %s -o /dev/null
+// RUN: %clang -emit-llvm -x objc-cpp-output -c %s -o /dev/null
 
 // PR13820
 // REQUIRES: LP64
-- 
1.7.6.4

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to