summaryrefslogtreecommitdiffstats
path: root/llvm/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* gn build: Merge bc76dadb3cfLLVM GN Syncbot2019-12-032-1/+1
|
* [UpdateTestChecks] Fix parsing of RUN: lines with line continuationsAlex Richardson2019-12-031-1/+1
| | | | | I accidentally broke this in d9542db49e90457de62af3bfe395aaf4c47b68a5 due to incorrectly placed parentheses.
* [update_cc_test_checks.py] Use CHECK_RE from commonAlex Richardson2019-12-022-4/+2
| | | | | | | | | | | | | | | | | | | Summary: This change modifies the common.CHECK_RE regex to also handle '//' comment prefixes which allows us to share it between clang and IR tests. Using the regex from common means that *-SAME lines are also stripped now. Before this change using the --function-signature flag would result in -SAME: lines from previous runs not being removed. Reviewers: MaskRay, jdoerfert Reviewed By: jdoerfert Subscribers: jdoerfert, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70890
* [lit] Be more explicit about the state of testsJulian Lettner2019-12-021-17/+19
| | | | | | | | | | | | | | Tests go through the following stages: *) discovered *) filtered *) executed Only executed tests have a result (e.g., PASS, FAIL, XFAIL, etc.). See "result codes" in Test.py. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D70612
* [update_cc_test_checks.py] Handle extern "C" and namespacesAlex Richardson2019-12-021-9/+18
| | | | | | | | | | | | | | | | | | Summary: My change to use the clang AST JSON dump did not handle functions declared inside scopes other than the root TranslationUnitDecl. After this change update_cc_test_checks.py also works for C++ test cases that use extern "C" and namespaces. Reviewers: MaskRay Reviewed By: MaskRay Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70389
* [UpdateTestChecks] Share the code to parse RUN: lines between all scriptsAlex Richardson2019-12-027-150/+62
| | | | | | | | | | | | | | | | Summary: This commit also introduces a common.debug() function to avoid many `if args.verbose:` statements. Depends on D70428. Reviewers: xbolva00, MaskRay, jdoerfert Reviewed By: MaskRay Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70432
* gn build: Add a toggle for building against the commandline tools SDK on macOSNico Weber2019-11-281-3/+14
|
* Revert "Revert "gn build: (manually) try to merge 1689ad27af""Nico Weber2019-11-271-0/+2
| | | | | This reverts commit 88276ddbfea753ac13da5a64c2020b7b0a06617f. The original change relanded.
* gn build: Merge 19ac0eaf07eLLVM GN Syncbot2019-11-271-0/+1
|
* Update build_llvm_package.bat to build from the monorepoHans Wennborg2019-11-271-30/+26
|
* [PowerPC] [NFC] rename PPCLoopPreIncPrep.cpp to PPCLoopInstrFormPrep.cpp ↵Jinsong Ji2019-11-271-1/+1
| | | | | | | | | | | | | | | | | | | after D67088 Summary: This is NFC code clean work after D67088. In that patch, we extend loop instructions prep for ds/dq form. This patch only changes the file name PPCLoopPreIncPrep.cpp to PPCLoopInstrFormPrep.cpp for better reviewing of the content change of file PPCLoopInstrFormPrep.cpp. Reviewers: #powerpc, nemanjai, steven.zhang, shchenz Reviewed By: #powerpc, shchenz Subscribers: wuzish, mgorny, hiraditya, kbarton, shchenz, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70716
* Revert "Use InitLLVM to setup a pretty stack printer"Nico Weber2019-11-252-4/+4
| | | | | | | This reverts commit 3f76260dc0674cc0acb25f550a0f0c594cf537ea. Breaks at least these tests on Windows: Clang :: Driver/clang-offload-bundler.c Clang :: Driver/clang-offload-wrapper.c
* Use InitLLVM to setup a pretty stack printerRui Ueyama2019-11-262-4/+4
| | | | | | | | | | | | | | InitLLVM does not only save a few lines from main() but also makes the commands do the right thing for multibyte character pathnames on Windows (i.e. canonicalize argv's to UTF-8) because of the code we have in this file: https://github.com/llvm/llvm-project/blob/master/llvm/lib/Support/InitLLVM.cpp#L32 For many LLVM commands, we already have calls of InitLLVM, but there are still remainings. Differential Revision: https://reviews.llvm.org/D70702
* gn build: (manually) merge 9e676d9c7eNico Weber2019-11-251-0/+1
|
* [TableGen] Fixed 'unused but set variable' warning. NFCIDávid Bolvanský2019-11-241-2/+0
|
* Fixed -Wdeprecated-copy warnings in gtest. NFCI.Dávid Bolvanský2019-11-243-80/+81
|
* Reland 'Fixed -Wdeprecated-copy warnings. NFCI.'Dávid Bolvanský2019-11-231-0/+1
| | | | Fixed hashtable copy ctor.
* gn build: set HAVE_VCS_VERSION_INC while building Version.cppNico Weber2019-11-235-30/+101
| | | | | | | | | | And belatedly merge r353268 / r353269. test/Driver/wasm-toolchain-lto.c currently requires getLLVMRevision() to return something non-empty to pass. That's hopefully temporary, but making Version.cpp work is probalby a good idea regardless. (Note its contents will by default usually be out-of-date, because llvm_allow_tardy_revision defaults to false.)
* Revert 'Fixed -Wdeprecated-copy warnings. NFCI.'Dávid Bolvanský2019-11-231-1/+0
| | | | pdbutil's test is failing.
* Fixed -Wdeprecated-copy warnings. NFCI.Dávid Bolvanský2019-11-231-0/+1
|
* gn build: Reland c52efdc5, "gn build: (manually) merge b5913e6d2f"Peter Collingbourne2019-11-221-1/+10
| | | | Because b5913e6d2f landed again as c54959c0.
* gn build: Merge 64ada7accbcLLVM GN Syncbot2019-11-221-0/+2
|
* [TableGen] Add backend to generate command guide for tools using libOption.Jonas Devlieghere2019-11-227-72/+198
| | | | | | | | | | | | For lldb and dsymutil, the command guide is essentially a copy of its help output generated by libOption. Making sure the two stay in sync is tedious and error prone. Given that we already generate the help from a tablegen file, we might as well generate the RST as well. This adds a tablegen backend for generating Sphinx/RST command guides from the tablegen file. Differential revision: https://reviews.llvm.org/D70610
* Reland "[CMake] Support installation of InstrProfData.inc"Petr Hosek2019-11-222-0/+6
| | | | | | | | | | | This header fragment is useful on its own for any consumer that wants to use custom instruction profile runtime with the LLVM instrumentation. The concrete use case is in Fuchsia's kernel where we want to use instruction profile instrumentation, but we cannot use the compiler-rt runtime because it's not designed for use in the kernel environment. This change allows installing this header as part of compiler-rt. Differential Revision: https://reviews.llvm.org/D64532
* gn build: Merge ae8a8c2db6cLLVM GN Syncbot2019-11-222-0/+2
|
* [lit] Attempt to print test summary on CTRL+CJulian Lettner2019-11-223-20/+20
|
* gn build: Merge f7170d17a84LLVM GN Syncbot2019-11-221-1/+1
|
* gn build: Merge aa981c1802dLLVM GN Syncbot2019-11-221-0/+1
|
* gn build: Merge 95fe54931fdLLVM GN Syncbot2019-11-221-0/+1
|
* gn build: (manually) merge dep from f65cfff6Nico Weber2019-11-221-0/+1
|
* [PGO][PGSO] DAG.shouldOptForSize part.Hiroshi Yamauchi2019-11-211-0/+8
| | | | | | | | | | | | | | | Summary: (Split of off D67120) SelectionDAG::shouldOptForSize changes for profile guided size optimization. Reviewers: davidxl Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70095
* gn build: check-clang depends on llvm-cxxfilt.Peter Collingbourne2019-11-201-0/+1
|
* Cherry-pick gtest fix for asan tests.Evgenii Stepanov2019-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: https://github.com/google/googletest/commit/681454dae48f109abf68c424c9d2e6db9a092238 Clone+exec death test allocates a single page of stack to run chdir + exec on. This is not enough when gtest is built with ASan and run on particular hardware. With ASan on x86_64, ExecDeathTestChildMain has frame size of 1728 bytes. Call to chdir() in ExecDeathTestChildMain ends up in _dl_runtime_resolve_xsavec, which attempts to save register state on the stack; according to cpuid(0xd) XSAVE register save area size is 2568 on my machine. This results in something like this in all death tests: Result: died but not with expected error. ... [ DEATH ] AddressSanitizer:DEADLYSIGNAL [ DEATH ] ================================================================= [ DEATH ] ==178637==ERROR: AddressSanitizer: stack-overflow on address ... PiperOrigin-RevId: 278709790 Reviewers: pcc Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70332
* gn build: Merge a03435ec8e2LLVM GN Syncbot2019-11-201-0/+1
|
* gn build: Merge 72d2929c52aLLVM GN Syncbot2019-11-201-1/+0
|
* [update_cc_test_checks.py] Add the --function-signature flagAlex Richardson2019-11-201-2/+5
| | | | | | | | | | | | | | | | Summary: This was added to update_test_checks.py in D68819 and I believe having it in update_cc_test_checks.py is also useful. Reviewers: jdoerfert, MaskRay Reviewed By: MaskRay Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70429
* [UptestTestChecks][NFC] Share some common command line options codeAlex Richardson2019-11-207-28/+14
| | | | | | | | | | | | | | | | | | | Summary: Add a function common.parse_commandline_args() that adds options common to all tools (--verbose and --update-only) and returns the parsed commandline arguments. I plan to use the shared parsing of --verbose in a follow-up commit to remove most of the `if args.verbose:` checks in the scripts. Reviewers: xbolva00, MaskRay Reviewed By: MaskRay Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70428
* gn build: Merge 089c0f58149LLVM GN Syncbot2019-11-201-0/+1
|
* gn build: Merge ea8678d1c78LLVM GN Syncbot2019-11-201-0/+1
|
* test-release.sh: Update to fetch source from GitHubTom Stellard2019-11-191-60/+52
| | | | | | | | | | | | | | | | Summary: This also changes the test-release.sh script to build using the monorepo layout instead of copying sub-projects into llvm/tools or llvm/projects. Reviewers: jdoerfert, hans Reviewed By: hans Subscribers: hans, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70353
* gn build: Merge 7fe9435dc88LLVM GN Syncbot2019-11-191-0/+1
|
* gn build: Merge 765b1250f68LLVM GN Syncbot2019-11-192-0/+2
|
* gn build: Merge e8a4c74f115LLVM GN Syncbot2019-11-191-0/+1
|
* gn build: Merge c0fc29c4684LLVM GN Syncbot2019-11-191-0/+1
|
* gn build: Merge 39285a0f02cLLVM GN Syncbot2019-11-192-0/+2
|
* [kate] Add various missing keywordsSven van Haastregt2019-11-191-0/+14
| | | | Patch by Pedro Olsen Ferreira.
* Revert "gn build: (manually) try to merge 1689ad27af"Nico Weber2019-11-191-2/+0
| | | | | This reverts commit e4ec2ecf6d4768d681a89263c0a4d29a7b7761ad. 1689ad27af was reverted as well.
* gn build: Merge 30e7ee3c4baLLVM GN Syncbot2019-11-181-1/+0
|
* gn build: (manually) try to merge 1689ad27afNico Weber2019-11-181-0/+2
|
* gn build: Merge 2054ed052f1LLVM GN Syncbot2019-11-181-0/+1
|
OpenPOWER on IntegriCloud