Started 8 mo 0 days ago
Took 3 min 47 sec on green-dragon-15

Failed Build #304 (Feb 19, 2019 7:40:13 AM)

Revisions
  • http://llvm.org/svn/llvm-project/llvm/trunk : 354338
  • http://llvm.org/svn/llvm-project/cfe/trunk : 354337
  • http://llvm.org/svn/llvm-project/compiler-rt/trunk : 354290
  • http://llvm.org/svn/llvm-project/debuginfo-tests/trunk : 346271
  • http://llvm.org/svn/llvm-project/libcxx/trunk : 354212
  • http://llvm.org/svn/llvm-project/clang-tools-extra/trunk : 354330
Changes
  1. [yaml2obj][obj2yaml] - Support SHT_GNU_versym (.gnu.version) section.

    This patch adds support for parsing dumping the .gnu.version section.
    Description of the section is: https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/symversion.html#SYMVERTBL

    Differential revision: https://reviews.llvm.org/D58280 (detail/ViewSVN)
    by grimar
  2. [OpenCL] Change type of block pointer for OpenCL

    Summary:

    For some reason OpenCL blocks in LLVM IR are represented as function pointers.
    These pointers do not point to any real function and never get called. Actually
    they point to some structure, which in turn contains pointer to the real block
    invoke function.
    This patch changes represntation of OpenCL blocks in LLVM IR from function
    pointers to pointers to `%struct.__block_literal_generic`.
    Such representation allows to avoid unnecessary bitcasts and simplifies
    further processing (e.g. translation to SPIR-V ) of the module for targets
    which do not support function pointers.

    Patch by: Alexey Sotkin.

    Reviewers: Anastasia, yaxunl, svenvh

    Reviewed By: Anastasia

    Subscribers: alexbatashev, cfe-commits

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D58277 (detail/ViewSVN)
    by bader
  3. Recommit r354328, r354329 "[obj2yaml][yaml2obj] - Add support of parsing/dumping of the .gnu.version_r section."

    Fix:
    Replace
    assert(!IO.getContext() && "The IO context is initialized already");
    with
    assert(IO.getContext() && "The IO context is not initialized");
    (this was introduced in r354329, where I tried to quickfix the darwin BB
    and seems copypasted the assert from the wrong place).

    Original commit message:

    The section is described here:
    https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/symverrqmts.html

    Patch just teaches obj2yaml/yaml2obj to dump and parse such sections.

    We did the finalization of string tables very late,
    and I had to move the logic to make it a bit earlier.
    That was needed in this patch since .gnu.version_r adds strings to .dynstr.
    This might also be useful for implementing other special sections.

    Everything else changed in this patch seems to be straightforward.

    Differential revision: https://reviews.llvm.org/D58119 (detail/ViewSVN)
    by grimar
  4. [RISCV][NFC] Move some std::string to StringRef (detail/ViewSVN)
    by asb
  5. Revert r354328, r354329 "[obj2yaml][yaml2obj] - Add support of parsing/dumping of the .gnu.version_r section."

    Something went wrong. Bots are unhappy:
    http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/44113/steps/test/logs/stdio (detail/ViewSVN)
    by grimar
  6. [clangd] Handle unresolved scope specifier when fixing includes.

    Summary:
    In the following examples, "clangd" is unresolved, and the fixer will try to fix
    include for `clang::clangd`; however, clang::clangd::X is usually intended. So
    when handling a qualifier that is unresolved, we change the unresolved name and
    scopes so that the fixer will fix "clang::clangd::X" in the following example.
    ```
      namespace clang {
      clangd::X
    ~~~~~~
      }
      // or
      clang::clangd::X
             ~~~~~~
    ```

    Reviewers: sammccall

    Reviewed By: sammccall

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

    Tags: #clang

    Differential Revision: https://reviews.llvm.org/D58185 (detail/ViewSVN)
    by ioeric
  7. Fix BB after r354328.

    Bot:
    http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/30188/steps/build_Lld/logs/stdio

    Error:
    /Users/buildslave/as-bldslv9_new/lld-x86_64-darwin13/llvm.src/lib/ObjectYAML/ELFYAML.cpp:1013:15: error: unused variable 'Object' [-Werror,-Wunused-variable]
      const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
                  ^
    /Users/buildslave/as-bldslv9_new/lld-x86_64-darwin13/llvm.src/lib/ObjectYAML/ELFYAML.cpp:1023:15: error: unused variable 'Object' [-Werror,-Wunused-variable]
      const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());

    Fix:
    change
      const auto *Object = static_cast<ELFYAML::Object *>(IO.getContext());
      assert(Object && "The IO context is not initialized");
    to
      assert(!IO.getContext() && "The IO context is initialized already"); (detail/ViewSVN)
    by grimar
  8. [obj2yaml][yaml2obj] - Add support of parsing/dumping of the .gnu.version_r section.

    The section is described here:
    https://refspecs.linuxfoundation.org/LSB_1.3.0/gLSB/gLSB/symverrqmts.html

    Patch just teaches obj2yaml/yaml2obj to dump and parse such sections.

    We did the finalization of string tables very late,
    and I had to move the logic to make it a bit earlier.
    That was needed in this patch since .gnu.version_r adds strings to .dynstr.
    This might also be useful for implementing other special sections.

    Everything else changed in this patch seems to be straightforward.

    Differential revision: https://reviews.llvm.org/D58119 (detail/ViewSVN)
    by grimar
  9. [RISCV] Re-organise calling convention tests

    Re-organise calling convention tests to prepare for ilp32f and ilp32d hard
    float ABI tests. It's also clear that we need to introduce similar tests for
    lp64. (detail/ViewSVN)
    by asb
  10. Fix BB after r354319 "[yaml2obj] - Do not skip zeroes blocks if there are relocations against them."

    Fix: move the test to x86 folder.
    Seems it is needed, because llvm-objdump invocation used in test has -D (disasm) flag.

    BB: http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/23016

    /local/buildbot/slaves/hexagon-build-02/clang-hexagon-elf/stage1/bin/llvm-objdump:
    error: '/local/buildbot/slaves/hexagon-build-02/clang-hexagon-elf/stage1/test/tools/llvm-objdump/Output/disasm-zeroes-relocations.test.tmp':
    can't find target: : error: unable to get target for 'x86_64--', see --version and --triple.
    . (detail/ViewSVN)
    by grimar
  11. [yaml2obj] - Do not skip zeroes blocks if there are relocations against them.

    This is for -D -reloc combination.

    With this patch, we do not skip the zero bytes that have a relocation against
    them when -reloc is used. If -reloc is not used, then the behavior will be the same.

    Differential revision: https://reviews.llvm.org/D58174 (detail/ViewSVN)
    by grimar
  12. [yaml2obj] - Do not ignore explicit addresses for .dynsym and .dynstr

    This fixes https://bugs.llvm.org/show_bug.cgi?id=40339

    Previously if the addresses were set in YAML they were ignored for
    .dynsym and .dynstr sections. The patch fixes that.

    Differential revision: https://reviews.llvm.org/D58168 (detail/ViewSVN)
    by grimar
  13. Fix obsolete comment. NFC

    Both files mentioned in the comment now include TargetOpcodes.def. Just
    mention that directly. (detail/ViewSVN)
    by rovka
  14. [NFC] API for signaling that the current loop is being deleted

    We are planning to be able to delete the current loop in LoopSimplifyCFG
    in the future. Add API to notify the loop pass manager that it happened. (detail/ViewSVN)
    by mkazantsev
  15. [NFC] Store loop header in a local to keep it available after the loop is deleted (detail/ViewSVN)
    by mkazantsev
  16. [ARM GlobalISel] Support G_PHI for Thumb2

    Same as arm mode. (detail/ViewSVN)
    by rovka

Started by upstream project Clang Stage 2: cmake, R -g Asan&UBSan, using Stage 1 RA, Phase 1 build number 6149
originally caused by:

This run spent:

  • 5.9 sec waiting;
  • 3 min 47 sec build duration;
  • 3 min 53 sec total from scheduled to completion.

Identified problems

Missing test results

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

CMake Error

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