diff options
author | Sean Silva <chisophugis@gmail.com> | 2016-03-31 01:47:33 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2016-03-31 01:47:33 +0000 |
commit | 24d7e2e869f70d1255062562b80ad209ca1ce835 (patch) | |
tree | 4c2593aebc5448dace8f1e578d97a8b99785cd7e | |
parent | f4d7688e4bccb2fda5c02ed1f75293d7f8807816 (diff) | |
download | bcm5719-llvm-24d7e2e869f70d1255062562b80ad209ca1ce835.tar.gz bcm5719-llvm-24d7e2e869f70d1255062562b80ad209ca1ce835.zip |
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
-rw-r--r-- | llvm/test/CodeGen/X86/dllexport.ll | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/dllexport.ll b/llvm/test/CodeGen/X86/dllexport.ll index cde0955410b..81d686deec2 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 |