[llvm] r264984 - Fix case confusion.
Sean Silva via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 18:47:34 PDT 2016
Author: silvas
Date: Wed Mar 30 20:47:33 2016
New Revision: 264984
URL: http://llvm.org/viewvc/llvm-project?rev=264984&view=rev
Log:
Fix case confusion.
The test case was defining and using a function 'notExported()', but
the FileCheck checks were checking for the name 'not_exported'. This
changes the test to use 'notExported' across the board. Also, the test
defined a function 'not_defined()', but doesn't have any checks related
to it. For consistency, this name is changed to 'notDefined'. A later
commit will add checks for 'notDefined'.
Patch by Warren Ristow!
Modified:
llvm/trunk/test/CodeGen/X86/dllexport.ll
Modified: llvm/trunk/test/CodeGen/X86/dllexport.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/dllexport.ll?rev=264984&r1=264983&r2=264984&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/dllexport.ll (original)
+++ llvm/trunk/test/CodeGen/X86/dllexport.ll Wed Mar 30 20:47:33 2016
@@ -21,7 +21,7 @@ define dllexport void @f2() unnamed_addr
ret void
}
-declare dllexport void @not_defined()
+declare dllexport void @notDefined()
; CHECK: .globl _stdfun at 0
define dllexport x86_stdcallcc void @stdfun() nounwind {
@@ -89,7 +89,7 @@ define weak_odr dllexport void @weak1()
@weak_alias = weak_odr dllexport alias void(), void()* @f1
; CHECK: .section .drectve
-; CHECK-CL-NOT: not_exported
+; CHECK-CL-NOT: notExported
; CHECK-CL: /EXPORT:_f1
; CHECK-CL-SAME: /EXPORT:_f2
; CHECK-CL-SAME: /EXPORT:_stdfun at 0
@@ -107,8 +107,8 @@ define weak_odr dllexport void @weak1()
; CHECK-CL-SAME: /EXPORT:_alias2
; CHECK-CL-SAME: /EXPORT:_alias3
; CHECK-CL-SAME: /EXPORT:_weak_alias"
-; CHECK-CL-NOT: not_exported
-; CHECK-GCC-NOT: not_exported
+; CHECK-CL-NOT: notExported
+; CHECK-GCC-NOT: notExported
; CHECK-GCC: -export:f1
; CHECK-GCC-SAME: -export:f2
; CHECK-GCC-SAME: -export:stdfun at 0
@@ -126,4 +126,4 @@ define weak_odr dllexport void @weak1()
; CHECK-GCC-SAME: -export:alias2
; CHECK-GCC-SAME: -export:alias3
; CHECK-GCC-SAME: -export:weak_alias"
-; CHECK-GCC-NOT: not_exported
+; CHECK-GCC-NOT: notExported
More information about the llvm-commits
mailing list