1. 13 Jan, 2022 2 commits
  2. 10 Jan, 2022 2 commits
    • Branislav Rankov's avatar
      Fix the write_source_info after merge. · 1229c11b
      Branislav Rankov authored
      The write_source_info got broken in the case when there is no
      PATCHES.json file. Skipped listing patches if this file is missing.
      Change-Id: If531120c9d8d2dbd4504a2ad0e08e3d1c1c39b3e
    • Branislav Rankov's avatar
      Merge toolchain r433403 into 'morello/master'. · a80608b8
      Branislav Rankov authored
      This merges the revision used in aosp toolchain r433403 into the
      morelo/master branch.
      Change-Id: If49ef4425d027ebc7565d94f02760a9c71dc07e5
  3. 16 Sep, 2021 1 commit
    • Kevin Brodsky's avatar
      Optimise Git revision resolution · 11761a79
      Kevin Brodsky authored
      Since c3112d89 ("Use git_llvm_rev.py to compute SVN revision"),
      _get_llvm_remote_and_branch_info() inspects all remote branches to
      find the "best match" upstream branch. This operation can take quite
      a bit of time, and we can avoid it.
      Indeed, if we are on a branch that has an upstream branch, then we
      can simply use that branch. Otherwise, it is reasonable to fall back
      to the remote branch configured in the repo manifest (accessible via
      the "fake" `m` remote).
      Another modification this change introduces is that we no longer
      require the upstream branch to be behind (or equal to) HEAD. This is
      not necessarily the case after a `git fetch` (for instance).
      Instead, we simply count the number of commits on top of the
      upstream branch, disregarding the number of commits we are behind.
      Change-Id: I910ed71ae84cdd4f96819f41b5d01fa4d1a13769
  4. 28 Aug, 2021 2 commits
  5. 27 Aug, 2021 1 commit
  6. 26 Aug, 2021 2 commits
  7. 25 Aug, 2021 2 commits
    • Pirama Arumuga Nainar's avatar
      Do not build LLVM gold plugin · 8543526f
      Pirama Arumuga Nainar authored
      If LLVM_BINUTILS_INCDIR is not set, the plugin doesn't get built.  ld.gold
      is no longer needed for Android platform and has been removed from the
      NDK as well.
      The immediate need is to ignore tests in
      llvm-project/llvm/tools/test/gold, which require a newer gold.
      Test: llvm-toolchain-testing:linux in Forrest
      Change-Id: I609f689afe72fa69a1b0eb0af2b938d0eacdfd70
    • Yi Kong's avatar
      Cherrypick two fixes for r433402 · d0ecf791
      Yi Kong authored
      [UPSTREAM] [clang] Do not warn unused -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
      [UPSTREAM] [clang] Don't generate warn-stack-size when the warning is ignored
      Test: presubmit
      Bug: 197490353
      Bug: 197177755
      Bug: 197230471
      Change-Id: I29892f9dc4abcfc05710e3ca12015f71768dff7b
  8. 24 Aug, 2021 3 commits
  9. 23 Aug, 2021 3 commits
  10. 22 Aug, 2021 1 commit
    • Chih-Hung Hsieh's avatar
      Run tests after stage2 or stage1 · f6003c4e
      Chih-Hung Hsieh authored
      * Default call stage2.test() unless --skip-tests or skip stage2.
        * Replace {no-}run-tests option with --skip-tests.
        * More clang/llvm tests could be added later.
      * With --run-tests-stage1,
        * build clang-tools-extra in stage1,
        * do not set CLANG_ENABLE_STATIC_ANALYZER,
        * call stage1.test() unless --skip-tests.
      * Mark expected failed tests:
        * Add Mark-XFAIL-tests.patch to label known failed tests.
        * Add cmake LLVM_INCLUDE_GO_TESTS=OFF.
      * Quick test for stage1 clang/llvm/clang-tidy patches:
        ./build.py --run-tests-stage1 --skip=stage2 --skip-runtime --no-build=windows,lldb --skip-package
      Change-Id: I33eb848a90b9e0c637356260d9e5c771ded9031b
  11. 20 Aug, 2021 2 commits
  12. 19 Aug, 2021 1 commit
    • Yi Kong's avatar
      Resolve merge conflict of local patch · ff4978a1
      Yi Kong authored
      Upstream change r429854 modified the test files and requires manual
      Test: build with TOT llvm
      Bug: 197230471
      Change-Id: I93da446b8754bfd54202592e0f8329c9a4ace413
  13. 17 Aug, 2021 1 commit
  14. 13 Aug, 2021 1 commit
  15. 12 Aug, 2021 3 commits
    • Pirama Arumuga Nainar's avatar
      Disable LTO by default and add a '--lto' option · 50f46c0d
      Pirama Arumuga Nainar authored
      For developer convenience, disable LTO by default and add a --lto option
      to be used in build servers.
      NB: LTO will be off in the official builds until we add `--lto` to the
      build commands.
      Test: run with and without --lto and verify default behavior.
      Change-Id: I89e78492d3085203b463a2cd4b5e2fe111b5159f
    • Chih-Hung Hsieh's avatar
      Add check-clang-tools to the test list. · 85a3cbc5
      Chih-Hung Hsieh authored
      * This will run clang-tidy and other tests.
      Test: ./build.py --run-tests
      Bug: None
      Change-Id: Ic8e6dbd2aafe7d6c93e6f55ce7a740540c630521
    • Pirama Arumuga Nainar's avatar
      Switch '#!' lines to python3 for some scripts · 41e3d765
      Pirama Arumuga Nainar authored
      Python is removed from gLinux.  These scripts are invoked using the
      default python on build servers (e.g. python build.py) so the '#!' line
      is a no-op there.
      Test: presubmit
      Change-Id: Ic76abddad6e887dfdfcfb6ce2db9ef8af66da2e3
  16. 10 Aug, 2021 1 commit
  17. 09 Aug, 2021 1 commit
  18. 06 Aug, 2021 1 commit
  19. 04 Aug, 2021 5 commits
  20. 03 Aug, 2021 2 commits
    • Pirama Arumuga Nainar's avatar
      [patches] Remove obsolete coverage-related patches · 9b951170
      Pirama Arumuga Nainar authored
      These are no longer needed.  Upstream now uses "associated metadata" to
      link coverage metadata with the corresponding functions.  This allows
      the linker `--gc-sections` flag to drop the metadata if the
      corresponding functions get discarded.
      Test: Build coverage targets
      Change-Id: I0c1fe1f57f272107167276d0b72dde3f60a19a23
    • Dan Albert's avatar
      Add check-llvm to the test list. · dcadc416
      Dan Albert authored
      Has three more failing tests:
      Failed Tests (3):
        LLVM :: Bindings/Go/go.test
        LLVM :: CodeGen/X86/extractelement-fp.ll
        LLVM :: CodeGen/X86/fp-round.ll
      Testing Time: 50.51s
        Unsupported      : 12256
        Passed           : 31561
        Expectedly Failed:    65
        Failed           :     3
      Test: ./build.py --run-tests
      Bug: None
      Change-Id: Ib44f2ce9202f8554da9573041f1d739a2ebd647f
  21. 30 Jul, 2021 2 commits
    • Dan Albert's avatar
      Add support for running the Clang tests. · ae506add
      Dan Albert authored
      These don't currently pass, but that seems to be unrelated to the
      infrastructure here.
      Failed Tests (3):
        Clang :: CodeGenCXX/builtins.cpp
        Clang :: CodeGenCXX/unknown-anytype.cpp
        Clang :: Sema/builtin-setjmp.c
      Testing Time: 47.72s
        Skipped          :     3
        Unsupported      :   740
        Passed           : 27237
        Expectedly Failed:    26
        Failed           :     3
      Change-Id: I214b383abb8daba14ac9ed997e865d8f946823b3
    • Stephen Hines's avatar
      Fix the `--bug` option to handle non-numeric links · b391ddfc
      Stephen Hines authored
      This code assumes that the argument to `--bug` is always a numeric id
      from buganizer. Sometimes we want to reference a different issue
      tracker, so make it handle non-buganizer links appropriately.
      Test: N/A
      Change-Id: I2f3e8b8fd28fb98ace02532d6adf092a823ed1cc
  22. 29 Jul, 2021 1 commit