[llvm] r248096 - [obj2yaml] Fix "time of check to time of use" bug. Add a test.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 19 13:55:22 PDT 2015


On Sat, Sep 19, 2015 at 1:49 PM, Davide Italiano via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: davide
> Date: Sat Sep 19 15:49:34 2015
> New Revision: 248096
>
> URL: http://llvm.org/viewvc/llvm-project?rev=248096&view=rev
> Log:
> [obj2yaml] Fix "time of check to time of use" bug. Add a test.
>
> Modified:
>     llvm/trunk/test/Object/obj2yaml.test
>     llvm/trunk/tools/obj2yaml/obj2yaml.cpp
>
> Modified: llvm/trunk/test/Object/obj2yaml.test
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/obj2yaml.test?rev=248096&r1=248095&r2=248096&view=diff
> ==============================================================================
> --- llvm/trunk/test/Object/obj2yaml.test (original)
> +++ llvm/trunk/test/Object/obj2yaml.test Sat Sep 19 15:49:34 2015
> @@ -414,3 +414,6 @@ ELF-X86-64-UNWIND-NEXT:   Type:
>  ELF-X86-64-UNWIND-NEXT:   Flags:           [ SHF_ALLOC ]
>  ELF-X86-64-UNWIND-NEXT:   AddressAlign:    0x0000000000000001
>  ELF-X86-64-UNWIND-NEXT:   Content:         ''
> +
> +RUN: not llvm-cxxdump %t.blah 2>&1 | FileCheck --check-prefix=ENOENT %s
> +ENOENT: {{.*}}.blah: {{[Nn]}}o such file or directory
>

Sorry, I committed the wrong testcase.
r248097 should fix.

-- 
Davide

"There are no solved problems; there are only problems that are more
or less solved" -- Henri Poincare


More information about the llvm-commits mailing list