[lld] r176497 - [ELF][Hexagon] fixing test failure
Dmitri Gribenko
gribozavr at gmail.com
Tue Mar 5 10:45:05 PST 2013
On Tue, Mar 5, 2013 at 8:39 PM, Shankar Easwaran
<shankare at codeaurora.org> wrote:
> Author: shankare
> Date: Tue Mar 5 12:39:16 2013
> New Revision: 176497
>
> URL: http://llvm.org/viewvc/llvm-project?rev=176497&view=rev
> Log:
> [ELF][Hexagon] fixing test failure
>
> Modified:
> lld/trunk/test/elf/Hexagon/dynlib.test
>
> Modified: lld/trunk/test/elf/Hexagon/dynlib.test
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Hexagon/dynlib.test?rev=176497&r1=176496&r2=176497&view=diff
> ==============================================================================
> --- lld/trunk/test/elf/Hexagon/dynlib.test (original)
> +++ lld/trunk/test/elf/Hexagon/dynlib.test Tue Mar 5 12:39:16 2013
> @@ -1,11 +1,10 @@
> RUN: lld -core -target hexagon %p/Inputs/use-shared.hexagon \
> RUN: -output=%t1 -output-type=shared
> -RUN: llvm-readobj %t2 > %t3
> -RUN: FileCheck -check-prefix=DYNSYMS %s < %t3
> +RUN: llvm-readobj %t1 > %t2
> +RUN: FileCheck -check-prefix=DYNSYMS %s < %t2
>
> DYNSYMS: Dynamic Symbols:
> -DYNSYMS: Name Type Address Size FileOffset Flags
> -DYNSYMS: fn2 FUNC 148 c 21c global
> -DYNSYMS: fn1 FUNC 154 c 228 global
> -DYNSYMS: fn3 FUNC 160 14 234 global
> +CHECK: fn2 {FUNC} {{[0-9a-f]+}}
> +CHECK: fn1 {FUNC} {{[0-9a-f]+}}
> +CHECK: fn3 {FUNC} {{[0-9a-f]+}}
> DYNSYMS: Total: 3
Are these CHECK lines good for anything? The only FileCheck
invocation has DYNSYMS prefix...
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
More information about the llvm-commits
mailing list