From 24d7e2e869f70d1255062562b80ad209ca1ce835 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Thu, 31 Mar 2016 01:47:33 +0000 Subject: [PATCH] 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! llvm-svn: 264984 --- llvm/test/CodeGen/X86/dllexport.ll | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/llvm/test/CodeGen/X86/dllexport.ll b/llvm/test/CodeGen/X86/dllexport.ll index cde0955..81d686d 100644 --- a/llvm/test/CodeGen/X86/dllexport.ll +++ b/llvm/test/CodeGen/X86/dllexport.ll @@ -21,7 +21,7 @@ define dllexport void @f2() unnamed_addr { ret void } -declare dllexport void @not_defined() +declare dllexport void @notDefined() ; CHECK: .globl _stdfun@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@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@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 -- 2.7.4