Started 9 days 2 hr ago
Took 48 min on green-dragon-02

Failed Build #14377 (Jul 12, 2019 5:54:10 AM)

Revisions
  • http://llvm.org/svn/llvm-project/llvm/trunk : 365895
  • http://llvm.org/svn/llvm-project/cfe/trunk : 365887
  • http://llvm.org/svn/llvm-project/compiler-rt/trunk : 365880
  • http://llvm.org/svn/llvm-project/zorg/trunk : 365596
  • http://llvm.org/svn/llvm-project/libcxx/trunk : 365856
  • http://llvm.org/svn/llvm-project/clang-tools-extra/trunk : 365894
Changes
  1. [LIT] Emit timeout error message only if timeout was reached

    Summary:
    This improves readability of LIT output: previously
    error messages gets emitted that say that there was no error:

    error: command reached timeout: False

    Patch by Alexey Sachkov.

    Reviewers: ddunbar, mgorny, modocache

    Reviewed By: mgorny

    Subscribers: delcypher, llvm-commits

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D64240 (detail)
    by bader
  2. [clangd] Fixed toHalfOpenFileRange

    Summary:
    - Fixed toHalfOpenFileRange to work for macros as well as template
    instantiations
    - Added unit tests

    Breaking test case for older version of toHalfOpenFileRange:
    \# define FOO(X) X++
    int a = 1;
    int b = FOO(a);
    toHalfOpenFileRange for the sourceRange of VarDecl for b returned the
    wrong Range.

    Reviewers: sammccall, kadircet

    Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D64562 (detail)
    by sureyeaah
  3. [InstCombine] Fold select (icmp sgt x, -1), lshr (X, Y), ashr (X, Y) to ashr (X, Y))

    Summary:
    (select (icmp sgt x, -1), lshr (X, Y), ashr (X, Y)) -> ashr (X, Y))
    (select (icmp slt x, 1), ashr (X, Y), lshr (X, Y)) -> ashr (X, Y))

    Fixes PR41173

    Alive proof by @lebedev.ri (thanks)
    Name: PR41173
      %cmp = icmp slt i32 %x, 1
      %shr = lshr i32 %x, %y
      %shr1 = ashr i32 %x, %y
      %retval.0 = select i1 %cmp, i32 %shr1, i32 %shr
      =>
      %retval.0 = ashr i32 %x, %y

    Optimization: PR41173
    Done: 1
    Optimization is correct!

    Reviewers: lebedev.ri, spatel

    Reviewed By: lebedev.ri

    Subscribers: nikic, craig.topper, llvm-commits, lebedev.ri

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D64285 (detail)
    by xbolva00
  4. Fix test case of llvm-nm using implicit a.out (detail)
    by abrachet
  5. [test/Object, obj2yaml] - Move test cases from test/Object and cleanup.

    test/Object is not correct place to have tests that check obj2yaml
    functionality, because we have test/tools/obj2yaml folder for that.

    In this patch I merged a few test cases with their YAMLs from Inputs
    folder, converted one of binary inputs and moved them to
    tools/obj2yaml folder.

    There are still another tests that might need the same, so it is initial step.

    Differential revision: https://reviews.llvm.org/D64555 (detail)
    by grimar
  6. [tools] [llvm-nm] Default to reading from stdin not a.out

    Summary: This moves away from defaulting to a.out and uses stdin only if stdin has a file redirected to it. This has been discussed on the llvm-dev mailing list [[ https://lists.llvm.org/pipermail/llvm-dev/2019-July/133642.html | here ]].

    Reviewers: jhenderson, rupprecht, MaskRay, chrisjackson

    Reviewed By: jhenderson, MaskRay

    Subscribers: llvm-commits

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D64290 (detail)
    by abrachet
  7. [clangd] Prioritize indexing of files that share a basename with the open file.

    Summary:
    In practice, opening Foo.h will still often result in Foo.cpp making the
    second index build instead of the first, as the rebuild policy doesn't
    know to wait.

    Reviewers: kadircet

    Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, llvm-commits

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D64575 (detail)
    by sammccall
  8. [JSONCompilationDatabase] Strip distcc/ccache/gomacc wrappers from parsed commands.

    Summary:
    It's common to use compiler wrappers by setting CC="gomacc clang++".
    This results in both args appearing in compile_commands.json, and clang's driver
    can't handle this.

    This patch attempts to recognize this pattern (by looking for well-known
    wrappers) and dropping argv0 in this case.

    It conservatively ignores other cases for now:
    - wrappers with unknown names
    - wrappers that accept -flags
    - wrappers where the compiler to use is implied (usually cc or gcc)

    This is done at the JSONCompilationDatabase level rather than somewhere more
    fundamental, as (hopefully) this isn't a general conceptual problem, but a messy
    aspect of the nature of the ecosystem around compile_commands.json.
    i.e. compilation databases more tightly tied to the build system should not have
    this problem.

    Reviewers: phosek, klimek

    Subscribers: llvm-commits

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D64297 (detail)
    by sammccall
  9. Revert "[DwarfDebug] Dump call site debug info"

    A build failure was found on the SystemZ platform.

    This reverts commit 9e7e73578e54cd22b3c7af4b54274d743b6607cc. (detail)
    by djtodoro
  10. [clangd] Move the expandAuto tweak from global namespace into annoymous namespace. (detail)
    by hokein
  11. [Object/ELF] - Improve error reporting for notes.

    This patch improves the error messages reported for
    note sections and phdrs and also makes a cleanup for
    existent test case.

    Differential revision: https://reviews.llvm.org/D64470 (detail)
    by grimar
  12. [NFC][PowerPC] Added test for MachinePRE. (detail)
    by lkail
  13. [clangd] Don't run the prepare for tweaks that are disabled.

    Summary: Previously, we ran the prepare, even for the tweaks that are disabled.

    Reviewers: sammccall

    Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D64565 (detail)
    by hokein
  14. [RISCV] Allow parsing dot '.' in assembly

    Summary:
    Useful for jumps, such as `j .`.

    I am not sure who should review this. Do not hesitate to change the reviewers if needed.

    Reviewers: asb, jrtc27, lenary

    Reviewed By: lenary

    Subscribers: MaskRay, lenary, hiraditya, rbar, johnrusso, simoncook, apazos, sabuasal, niosHD, kito-cheng, shiva0217, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX, jocewei, psnobl, benna, Jim, llvm-commits

    Tags: #llvm

    Differential Revision: https://reviews.llvm.org/D63669

    Patch by John LLVM (JohnLLVM) (detail)
    by lenary
  15. Enable compiler-rt on SPARC

    This patch enables compiler-rt on SPARC targets. Most of the changes are straightforward:

    - Add 32 and 64-bit sparc to compiler-rt

    - lib/builtins/fp_lib.h needed to check if the int128_t and uint128_t types exist (which they don't on sparc)

    There's one issue of note: many asan tests fail to compile on Solaris/SPARC:

    fatal error: error in backend: Function "_ZN7testing8internal16BoolFromGTestEnvEPKcb": over-aligned dynamic alloca not supported.

    Therefore, while asan is still built, both asan and ubsan-with-asan testing is disabled. The
    goal is to check if asan keeps compiling on Solaris/SPARC. This serves asan in gcc,
    which doesn't have the problem above and works just fine.

    With this patch, sparcv9-sun-solaris2.11 test results are pretty good:

    Failing Tests (9):
        Builtins-sparc-sunos :: divtc3_test.c
        Builtins-sparcv9-sunos :: compiler_rt_logbl_test.c
        Builtins-sparcv9-sunos :: divtc3_test.c
    [...]
        UBSan-Standalone-sparc :: TestCases/TypeCheck/misaligned.cpp
        UBSan-Standalone-sparcv9 :: TestCases/TypeCheck/misaligned.cpp

    The builtin failures are due to Bugs 42493 and 42496. The tree contained a few additonal
    patches either currently in review or about to be submitted.

    Tested on sparcv9-sun-solaris2.11.

    Differential Revision: https://reviews.llvm.org/D40943 (detail)
    by ro
  16. [Sanitizers] Fix SanitizerCommon-Unit :: ./Sanitizer-*-Test/MemoryMappingLayout.DumpListOfModules on Solaris

    The MemoryMappingLayout.DumpListOfModules currently FAILs on Solaris:

      [ RUN      ] MemoryMappingLayout.DumpListOfModules
      /vol/llvm/src/compiler-rt/local/lib/sanitizer_common/tests/sanitizer_procmaps_test.cc:52: Failure
      Value of: found
        Actual: false
      Expected: true
      [  FAILED  ] MemoryMappingLayout.DumpListOfModules (22 ms)

    The problem is that the test expects the executable name from modules[i].full_name(),
    however the pr_mapname field of struct prmap is just the entry in /proc/<pid>/object,
    which is "a.out" instead of "Sanitizer-i386-Test".  Fortunately, the real name can
    be determined by looking in proc/<pid>/path where "a.out" is a symlink to the
    real path.

    Tested on x86_64-pc-solaris2.11.

    Differential Revision: https://reviews.llvm.org/D64559 (detail)
    by ro
  17. Test commit. NFC.

    Formatting fix. (detail)
    by bryant

Started by timer (5 times)

This run spent:

  • 4 hr 43 min waiting;
  • 48 min build duration;
  • 5 hr 32 min total from scheduled to completion.

Identified problems

Ninja target failed

Below is a link to the first failed ninja target.
Indication 1

Compile Error

This build failed because of a compile error. Below is a list of all errors in the build log:
Indication 2

Missing test results

The test result file Jenkins is looking for does not exist after the build.
Indication 3