[compiler-rt] r324548 - Remove extra space.

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 17:33:34 PST 2018


Hi Rafael,

This change seems to have broken our internal Windows build bot:

clang-7.0: warning: -ldl: 'linker' input unused [-Wunused-command-line-argument]
/home/siadmin/jenkins/w/opensource/opensource_build/llvm/projects/compiler-rt/test/profile/instrprof-reset-counters.c:15:18: error: expected string not found in input
 // CHECK-LABEL: define{{(dso_local)?}} void @foo(
                 ^
<stdin>:1:1: note: scanning from here
; ModuleID = '/home/siadmin/jenkins/w/opensource/opensource_build/llvm/projects/compiler-rt/test/profile/instrprof-reset-counters.c'
^
<stdin>:18:1: note: possible intended match here
define dso_local void @foo(i32 %N) #0 !prof !30 {

It seems that on Windows at least the extra space is needed.

Douglas Yung

> -----Original Message-----
> From: llvm-commits [mailto:llvm-commits-bounces at lists.llvm.org] On Behalf Of
> Rafael Espindola via llvm-commits
> Sent: Wednesday, February 07, 2018 16:39
> To: llvm-commits at lists.llvm.org
> Subject: [compiler-rt] r324548 - Remove extra space.
> 
> Author: rafael
> Date: Wed Feb  7 16:39:19 2018
> New Revision: 324548
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=324548&view=rev
> Log:
> Remove extra space.
> 
> Should fix the ppc bots.
> 
> Modified:
>     compiler-rt/trunk/test/profile/instrprof-reset-counters.c
> 
> Modified: compiler-rt/trunk/test/profile/instrprof-reset-counters.c
> URL: http://llvm.org/viewvc/llvm-project/compiler-
> rt/trunk/test/profile/instrprof-reset-
> counters.c?rev=324548&r1=324547&r2=324548&view=diff
> ==============================================================================
> --- compiler-rt/trunk/test/profile/instrprof-reset-counters.c (original)
> +++ compiler-rt/trunk/test/profile/instrprof-reset-counters.c Wed Feb  7
> 16:39:19 2018
> @@ -12,7 +12,7 @@ int main(void) {
>    return 0;
>  }
>  void foo(int N) {
> -  // CHECK-LABEL: define {{(dso_local)?}} void @foo(
> +  // CHECK-LABEL: define{{(dso_local)?}} void @foo(
>    // CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[FOO:[0-
> 9]+]]
>    if (N) {}
>  }
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits


More information about the llvm-commits mailing list