Changes

Summary

  1. Fix assertions disabled builds after rL374367 (details)
  2. [Codegen] Alter the default promotion for saturating adds and subs (details)
  3. Use arrays on stack and avoid use of new and delete operators. (details)
  4. Increase timeout in pexpect to lower chances of tests failing under (details)
  5. [ARM] VQSUB instruction (details)
  6. [dsymutil] Move CommonSymbols.clear() in resetParserState. (details)
  7. Add GsymCreator and GsymReader. (details)
  8. [test] Trim the symbtab test case (NFC) (details)
  9. gn build: Merge r374381 (details)
  10. Reland "[ASan] Do not misrepresent high value address dereferences as (details)
  11. [test] Pass DSYMUTIL and SDKROOT as part of the Make invocation. (details)
  12. [test] Use a different module cache for Shell and API tests. (details)
  13. [OPENMP50]Support for declare variant directive for NVPTX target. (details)
  14. [lit] Make internal diff work in pipelines (details)
  15. [lit] Clean up internal diff's encoding handling (details)
  16. [lit] Extend internal diff to support `-` argument (details)
  17. gn build: merge r374381 more (effectively a no-op) (details)
  18. [lit] Extend internal diff to support -U (details)
  19. Implement serializing scripted breakpoints and their extra args. (details)
  20. gn build: restore tablegen restat optimization after r373664 (details)
  21. Unbreak windows buildbots. (details)
  22. [DAGCombiner] fold select-of-constants to shift (details)
  23. Unbreak  llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast buildbot. (details)
  24. [clang-format] throws an incorrect assertion in consumeToken() (details)
  25. [lit] Move argument parsing/validation to separate file (details)
  26. Speed up accelerator table lookups (details)
  27. Remove CC autodetection from Makefile.rules (details)
  28. Re-land "Use -fdebug-compilation-dir to form absolute paths in coverage (details)
  29. Fix test to avoid check-not matching the temp file absolute path (details)
  30. [lit] Leverage argparse features to remove some code (details)
  31. Fix build by adding the missing dependency. (details)
  32. [libc++][test] Change IsSmallObject's calculation for std::any's small (details)
  33. Fix buildbots by using memset instead of bzero. (details)
  34. Unbreak buildbots. (details)
  35. Remove strings.h include to fix GSYM Windows build (details)
  36. Die, TABS, die, die, die, die... (details)
  37. Fix Windows build after r374381 (details)
  38. Remove merge marker :-) (details)
  39. Print quoted backslashes in LLVM IR as \\ instead of \5C (details)
  40. Update clang tests for new LLVM IR backslash printing in r374415 (details)
  41. TestFileHandle.py: fix for Python 3.6 (details)
  42. Fix one more clang test which didn't have \5C in it (details)
  43. [ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 2. (details)
  44. [NFC][PowerPC]Clean up PPCAsmPrinter for TOC related pseudo opcode (details)
  45. win: Move Parallel.h off concrt to cross-platform code (details)
  46. update SBDebugger::SetInputFile() etc to work on native Files (details)
  47. update TestRunCommandInterpreterAPI to use SBFile (details)
  48. Revert r374392: "[lit] Extend internal diff to support -U" (details)
  49. Revert r374390: "[lit] Extend internal diff to support `-` argument" (details)
  50. Revert r374389: "[lit] Clean up internal diff's encoding handling" (details)
  51. [PowerPC][docs] Update IBM official docs in Compiler Writers Info page (details)
  52. Revert r374388: "[lit] Make internal diff work in pipelines" (details)
  53. [Docs] Update testing documentaton (details)
  54. [X86] Use packusdw+vpmovuswb to implement v16i32->V16i8 that clamps (details)
  55. [lit] Bring back `--threads` option alias (details)
  56. [test] Cleanup top-level lit.cfg.py (details)
  57. [test] Add timeout to API tests. (details)
  58. [x86] reduce duplicate test assertions; NFC (details)
Commit dd37a26f6d3e206e964f1d5f6e0098c079093f42 by kadircet
Fix assertions disabled builds after rL374367
llvm-svn: 374372
The file was modifiedllvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
Commit 94d379095a9c1030582a6ab9199d67d6c64a2642 by david.green
[Codegen] Alter the default promotion for saturating adds and subs
The default promotion for the add_sat/sub_sat nodes currently does:
  1. ANY_EXTEND iN to iM
  2. SHL by M-N
  3. [US][ADD|SUB]SAT
  4. L/ASHR by M-N If the promoted add_sat or sub_sat node is not legal,
this can produce code that effectively does a lot of shifting (and
requiring large constants to be materialised) just to use the overflow
flag. It is simpler to just do the saturation manually, using the higher
bitwidth addition and a min/max against the saturating bounds. That is
what this patch attempts to do.
Differential Revision: https://reviews.llvm.org/D68643
llvm-svn: 374373
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/usub_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_vec.ll
Commit 7a6d98325cd7463868472532391ad13122479380 by sivachandra
Use arrays on stack and avoid use of new and delete operators.
Summary: Also fix an error found with LLVM_USE_SANITIZER=Address.
Reviewers: nelhage
Subscribers: libc-commits
Tags: #libc-project
Differential Revision: https://reviews.llvm.org/D68761
llvm-svn: 374374
The file was modifiedlibc/src/string/strcpy/strcpy_test.cpp
The file was modifiedlibc/src/string/strcat/strcat_test.cpp
Commit a8419b1f2767c7fd5c0d0696b76d17efb2a5b418 by Adrian Prantl
Increase timeout in pexpect to lower chances of tests failing under
ASAN.
If this doesn't actually work, I'll revert the change and just disable
the remaining thee pexpect tests under asan.
llvm-svn: 374375
The file was modifiedlldb/third_party/Python/module/pexpect-4.6/pexpect/pty_spawn.py
Commit 8628bb0491cfbef98c866110d09a5c81caed6095 by david.green
[ARM] VQSUB instruction
Same as VQADD, VQSUB can be selected from llvm.ssub.sat intrinsics.
Differential Revision: https://reviews.llvm.org/D68567
llvm-svn: 374377
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-saturating-arith.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 644abcf09d6be542983ff127041b6ae9235ada46 by Jonas Devlieghere
[dsymutil] Move CommonSymbols.clear() in resetParserState.
This seems like a more natural place to clear the vector, especially
since this method is clearing other data structures as well.
llvm-svn: 374378
The file was modifiedllvm/tools/dsymutil/MachODebugMapParser.cpp
Commit 4b6c9de868cd8135717377f56cb1c27d1ebcffb5 by clayborg
Add GsymCreator and GsymReader.
This patch adds the ability to create GSYM files with GsymCreator, and
read them with GsymReader. Full testing has been added for both new
classes.
This patch differs from the original patch
https://reviews.llvm.org/D53379 in that is uses a StringTableBuilder
class from llvm instead of a custom version. Support for big and little
endian files has been added. If the endianness matches the current host,
we use efficient extraction for the header, address table and address
info offset tables.
Differential Revision: https://reviews.llvm.org/D68744
llvm-svn: 374381
The file was modifiedllvm/lib/DebugInfo/GSYM/Header.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/Header.h
The file was addedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp
The file was addedllvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
The file was modifiedllvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/CMakeLists.txt
The file was modifiedllvm/unittests/DebugInfo/GSYM/CMakeLists.txt
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FileWriter.h
The file was addedllvm/lib/DebugInfo/GSYM/GsymReader.cpp
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
The file was addedllvm/include/llvm/DebugInfo/GSYM/GsymReader.h
Commit 5c5184be74008a8ba34d2eca477287cc96849948 by Jonas Devlieghere
[test] Trim the symbtab test case (NFC)
We don't actually need the section content for this tests.
llvm-svn: 374382
The file was modifiedlldb/test/Shell/ObjectFile/MachO/symtab.yaml
Commit dc895a325f8df7fd10663e7cbeaaa783b2a37aa6 by llvmgnsyncbot
gn build: Merge r374381
llvm-svn: 374383
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
Commit 99c9d7bd6369a7505b86d7ea75a573265436e34a by jlettner
Reland "[ASan] Do not misrepresent high value address dereferences as
null dereferences"
Updated: Removed offending TODO comment.
Dereferences with addresses above the 48-bit hardware addressable range
produce "invalid instruction" (instead of "invalid access") hardware
exceptions (there is no hardware address decoding logic for those bits),
and the address provided by this exception is the address of the
instruction (not the faulting address).  The kernel maps the "invalid
instruction" to SEGV, but fails to provide the real fault address.
Because of this ASan lies and says that those cases are null
dereferences.  This downgrades the severity of a found bug in terms of
security.  In the ASan signal handler, we can not provide the real
faulting address, but at least we can try not to lie.
rdar://50366151
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D68676
> llvm-svn: 374265
llvm-svn: 374384
The file was addedcompiler-rt/test/asan/TestCases/Posix/high-address-dereference.c
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
The file was modifiedcompiler-rt/lib/asan/asan_errors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
Commit 2d2cf936ac6c80fdc851fbd489c192e9bd8c4e9a by Jonas Devlieghere
[test] Pass DSYMUTIL and SDKROOT as part of the Make invocation.
Pass the DSYMUTIL and SDKROOT variables on the command line instead of
the environment. This makes it easier to reproduce the make invocation
during development.
Differential revision: https://reviews.llvm.org/D68812
llvm-svn: 374385
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_base.py
Commit 27c23653aec79e447193281f2f29da15d8bb1bf9 by Jonas Devlieghere
[test] Use a different module cache for Shell and API tests.
Before the test reorganization, everything was part of a single test
suite with a single module cache. Now that things are properly separated
this is no longer the case. Only the shell tests inherited the logic to
properly configure and wipe the module caches. This patch adds that
logic back for the API tests. While doing so, I noticed that we were
configuring a Clang module cache in CMake, but weren't actually using it
from dotest.py. I included a fix for that in this patch as well.
Differential revision: https://reviews.llvm.org/D68755
llvm-svn: 374386
The file was modifiedlldb/test/API/lit.site.cfg.in
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest_args.py
The file was modifiedlldb/test/CMakeLists.txt
The file was modifiedlldb/test/Shell/lit.cfg.py
The file was modifiedlldb/test/Shell/lit.site.cfg.py.in
The file was modifiedlldb/test/API/lit.cfg
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_base.py
Commit c2cd2d40aa2e657c4f7bf0bac2594c9ea9611f43 by a.bataev
[OPENMP50]Support for declare variant directive for NVPTX target.
NVPTX does not support global aliases. Instead, we have to copy the full
body of the variant function for the original function.
llvm-svn: 374387
The file was addedclang/test/OpenMP/nvptx_declare_variant_implementation_vendor_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
Commit df35ec8289eec85e9a551578b1b7ae35b214860f by jdenny.ornl
[lit] Make internal diff work in pipelines
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:
```
# RUN: program | diff file -
# RUN: not diff file1 file2 | FileCheck %s
```
Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` cannot
currently be used in pipelines and doesn't recognize `-` as a
command-line option.
To enable pipelines, this patch moves lit's `diff` implementation into
an out-of-process script, similar to lit's `cat` implementation.  A
follow-up patch will implement `-` to mean stdin.
Reviewed By: probinson, stella.stamenova
Differential Revision: https://reviews.llvm.org/D66574
llvm-svn: 374388
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was addedllvm/utils/lit/lit/builtin_commands/diff.py
Commit 19e6bb25f05fa24ea445dd455c7f44fc3b036725 by jdenny.ornl
[lit] Clean up internal diff's encoding handling
As suggested by rnk at D67643#1673043, instead of reading files multiple
times until an appropriate encoding is found, read them once as binary,
and then try to decode what was read.
For python >= 3.5, don't fail when attempting to decode the
`diff_bytes` output in order to print it.
Finally, add some tests for encoding handling.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68664
llvm-svn: 374389
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.bin
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
Commit f4edce12fffee221a16c5829b24281b3e23f423d by jdenny.ornl
[lit] Extend internal diff to support `-` argument
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:
```
# RUN: program | diff file -
```
Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` doesn't
recognize `-` as a command-line option.  This patch adds support for
`-` to mean stdin.
Reviewed By: probinson, rnk
Differential Revision: https://reviews.llvm.org/D67643
llvm-svn: 374390
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
Commit a134d3cfc9d4f3a2db0023f3a6da53d52008c5f5 by nicolasweber
gn build: merge r374381 more (effectively a no-op)
llvm-svn: 374391
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
Commit 61d7ecbf84c7deb91752216b82fbb69715b6830a by jdenny.ornl
[lit] Extend internal diff to support -U
When using lit's internal shell, RUN lines like the following
accidentally execute an external `diff` instead of lit's internal
`diff`:
```
# RUN: program | diff -U1 file -
```
Such cases exist now, in `clang/test/Analysis` for example.  We are
preparing patches to ensure lit's internal `diff` is called in such
cases, which will then fail because lit's internal `diff` doesn't
recognize `-U` as a command-line option.  This patch adds `-U` support.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68668
llvm-svn: 374392
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
Commit 47b33dcc0df8220a5708ff57210c9b44b764bb8e by jingham
Implement serializing scripted breakpoints and their extra args.
Differential Revision: https://reviews.llvm.org/D68750
llvm-svn: 374394
The file was modifiedlldb/source/Breakpoint/BreakpointResolver.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointResolverScripted.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/resolver.py
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverScripted.h
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/side_effect.py
The file was modifiedlldb/source/Target/Target.cpp
Commit 5ff60e160aed21c346d83c96581a28a8222e3da9 by nicolasweber
gn build: restore tablegen restat optimization after r373664
llvm-svn: 374395
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni
Commit 6a2eff1e68a269647b7f8e23842120738b139c11 by clayborg
Unbreak windows buildbots.
llvm-svn: 374396
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymReader.cpp
Commit 7b904ce7246b7cde2d716eefafd4ef2ce2b3234a by spatel
[DAGCombiner] fold select-of-constants to shift
This reverses the scalar canonicalization proposed in D63382.
Pre: isPowerOf2(C1)
%r = select i1 %cond, i32 C1, i32 0
=>
%z = zext i1 %cond to i32
%r = shl i32 %z, log2(C1)
https://rise4fun.com/Alive/Z50
x86 already tries to fold this pattern, but it isn't done uniformly, so
we still see a diff. AArch64 probably should enable the TLI hook to
benefit too, but that's a follow-on.
llvm-svn: 374397
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/selectcc-to-shiftand.ll
Commit 4c145df6a7fbf643dc9483c2945aae44e58f5920 by clayborg
Unbreak  llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast buildbot.
llvm-svn: 374398
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp
Commit 3b4c8f6807123c5e4d5a84f560599c9585ccb471 by mydeveloperday
[clang-format] throws an incorrect assertion in consumeToken()
formatting the MSVC stl
Summary: An incorrect assertion is thrown when clang-formatting MSVC's
STL library
``` Assertion failed: !Line.startsWith(tok::hash), file
C:/llvm/llvm-project/clang/lib/Format/TokenAnnotator.cpp, line 847 Stack
dump: 0.      Program arguments: C:\llvm\build\bin\clang-format.exe -i
-n ./stl/inc/xkeycheck.h
```
``` Enable warning C4005 to find the forbidden define.
```
Reviewers: mitchell-stellar, STL_MSFT, klimek, krasimir
Reviewed By: mitchell-stellar
Subscribers: cfe-commits
Tags: #clang-format, #clang-tools-extra, #clang
Differential Revision: https://reviews.llvm.org/D68707
llvm-svn: 374399
The file was modifiedclang/unittests/Format/FormatTest.cpp
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 715bfa4ef800d8aacc150f81ab3838332e02b08f by jlettner
[lit] Move argument parsing/validation to separate file
Reviewed By: serge-sans-paille
Differential Revision: https://reviews.llvm.org/D68529
llvm-svn: 374400
The file was modifiedllvm/utils/lit/lit/main.py
The file was addedllvm/utils/lit/lit/cl_arguments.py
Commit 418893d8f2f33693c0aedf8fcde63167a8a3101c by Adrian Prantl
Speed up accelerator table lookups
When debugging a large program like clang and doing "frame variable
*this", the ValueObject pretty printer is doing hundreds of scoped
FindTypes lookups. The ones that take longest are the ones where the
DWARFDeclContext ends in something like ::Iterator which produces many
false positives that need to be filtered out *after* extracting the
DIEs. This patch demonstrates a way to filter out false positives at the
accerator table lookup step.
With this patch
lldb clang-10 -o "b EmitFunctionStart" -o r -o "f 2" -o "fr v *this" -b
-- ... goes (in user time) from 5.6s -> 4.8s or (in wall clock) from
6.9s -> 6.0s.
Differential Revision: https://reviews.llvm.org/D68678
llvm-svn: 374401
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/a.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/TestCPPAccelerator.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/c.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/source.h
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/d.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/e.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/b.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/f.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/accelerator-table/g.cpp
Commit 6a07b99c90e5199eff2d84a32dd7b90ad143b565 by Adrian Prantl
Remove CC autodetection from Makefile.rules
Auto-detecting CC in Makefile.rules is no longer useful. Ever since
out-of-tree builds we are better off just running lldb-dotest which sets
it directly. This also makes it harder to accidentally unset CC in a
Makefile.
Differential Revision: https://reviews.llvm.org/D68731
llvm-svn: 374402
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
Commit 9d4806a387892972fd544c0dcaefb0926126220c by rnk
Re-land "Use -fdebug-compilation-dir to form absolute paths in coverage
mappings"
This reverts r374324 (git commit
62808631acceaa8b78f8ab9b407eb6b943ff5f77)
I changed the test to not rely on finding the sequence "clang, test,
CoverageMapping" in the CWD used to run the test. Instead it makes its
own internal directory hierarchy of foo/bar/baz and looks for that.
llvm-svn: 374403
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.h
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.cpp
The file was addedclang/test/CoverageMapping/debug-dir.cpp
Commit e80a2616c8dd5c6b4cae79b86184c98e186a439e by rnk
Fix test to avoid check-not matching the temp file absolute path
Fix for PR43636
llvm-svn: 374404
The file was modifiedllvm/test/tools/llvm-objdump/X86/elf-disassemble-symbol-labels-exec.test
Commit 822946ceaabbef8ce8b064e6c7aa10d2930890af by jlettner
[lit] Leverage argparse features to remove some code
Reviewed By: rnk, serge-sans-paille
Differential Revision: https://reviews.llvm.org/D68589
llvm-svn: 374405
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/tests/selecting.py
Commit a121891a553647467a67076c4e0a374c14d50a2c by michael.hliao
Fix build by adding the missing dependency.
llvm-svn: 374406
The file was modifiedllvm/lib/DebugInfo/GSYM/LLVMBuild.txt
Commit ffc83995de6db6ee49fd42c064946dee8d058bb3 by Casey
[libc++][test] Change IsSmallObject's calculation for std::any's small
object buffer
`sizeof(std::any) - sizeof(void*)` is correct for both libc++ and the
MSVC standard library.
Differential Revision: https://reviews.llvm.org/D68756
llvm-svn: 374407
The file was modifiedlibcxx/test/support/any_helpers.h
Commit d665bfcf7c8e88df0dfcbaa279a4b557d2f2ba27 by clayborg
Fix buildbots by using memset instead of bzero.
llvm-svn: 374409
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp
Commit 4ae13e2a7a14ae912032382e2f5cf66d4fe629bc by clayborg
Unbreak buildbots.
llvm-svn: 374410
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymReader.cpp
Commit f05ed6601f226047324903fdddbf71851e21f9f5 by rnk
Remove strings.h include to fix GSYM Windows build
Fifth time's the charm.
llvm-svn: 374411
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp
Commit b895f778e2d8723f0b934accd4b83d8d9e8da2c0 by jingham
Die, TABS, die, die, die, die...
Not sure how tabs got into this file, but they don't belong there.
llvm-svn: 374412
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
Commit cae2662104fe21932dcca7ddcfb4b8705c325168 by nicolasweber
Fix Windows build after r374381
llvm-svn: 374413
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymReader.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp
Commit e9529a942a76a9247fb94613c7d5ae482fe22adf by Adrian Prantl
Remove merge marker :-)
llvm-svn: 374414
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
Commit 67d440b949d6fefef53deec1e585435ffb33f4f8 by rnk
Print quoted backslashes in LLVM IR as \\ instead of \5C
This improves readability of Windows path string literals in LLVM IR.
The LLVM assembler has supported \\ in IR strings for a long time, but
the lexer doesn't tolerate escaped quotes, so they have to be printed as
\22 for now.
llvm-svn: 374415
The file was modifiedllvm/test/CodeGen/MIR/X86/global-value-operands.mir
The file was modifiedllvm/unittests/ADT/StringExtrasTest.cpp
The file was modifiedllvm/unittests/IR/MetadataTest.cpp
The file was modifiedllvm/lib/Support/StringExtras.cpp
The file was modifiedllvm/test/Assembler/source-filename-backslash.ll
The file was modifiedllvm/test/Assembler/asm-path-writer.ll
Commit 63bb6737cee932331468107f6800273fff520ab4 by rnk
Update clang tests for new LLVM IR backslash printing in r374415
llvm-svn: 374416
The file was modifiedclang/test/CodeGen/ubsan-strip-path-components.cpp
The file was modifiedclang/test/Driver/darwin-debug-flags.c
The file was modifiedclang/test/Profile/gcc-flag-compatibility.c
The file was modifiedclang/test/CodeGen/string-literal.c
The file was modifiedclang/test/CodeGen/debug-prefix-map.c
Commit 4faec5e01ad1d39d0fb7cab47a96f196b3c5685b by Lawrence D'Anna
TestFileHandle.py: fix for Python 3.6
Summary: Python 3.6 stringifies exceptions as `ExceptionClass("foo",)`
instead of `ExceptionClass("foo")`.   This patch makes the test
assertions a little more flexible so the test passes anyway.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68745
llvm-svn: 374417
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit 377fcf61b65262ca3dfa45ba921e69a260dd58d5 by rnk
Fix one more clang test which didn't have \5C in it
llvm-svn: 374418
The file was modifiedclang/test/CoverageMapping/abspath.cpp
Commit 30a96d3fcb764e078208110f6c09ea5a8a102914 by efriedma
[ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 2.
Just running -fsyntax-only over arm_neon.h doesn't cover some intrinsics
which are defined using macros.  Add more test coverage for that.
arm-neon-header.c wasn't checking the full set of available NEON target
features; change the target architecture of the test to account for
that.
Fix the generator for arm_neon.h to generate casts in more cases where
they are necessary.
Fix VFMLAL_LOW etc. to express their signatures differently, so the
builtins have the expected type. Maybe the TableGen backend should
detect intrinsics that are defined the wrong way, and produce an error.
The rules here are sort of strange.
Differential Revision: https://reviews.llvm.org/D68743
llvm-svn: 374419
The file was modifiedclang/test/Headers/arm-neon-header.c
The file was modifiedclang/test/CodeGen/aarch64-neon-intrinsics.c
The file was modifiedclang/include/clang/Basic/arm_neon.td
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
The file was modifiedclang/test/CodeGen/arm_neon_intrinsics.c
Commit 13bd3ef40d8b1586f26a022e01b21e56c91e05bd by xiangxdh
[NFC][PowerPC]Clean up PPCAsmPrinter for TOC related pseudo opcode
Add a helper function getMCSymbolForTOCPseudoMO to clean up
PPCAsmPrinter a little bit.
Differential Revision: https://reviews.llvm.org/D68721
llvm-svn: 374420
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit d49600320598a2b4e998e99f714c2e19d95197e8 by nicolasweber
win: Move Parallel.h off concrt to cross-platform code
r179397 added Parallel.h and implemented it terms of concrt in 2013.
In 2015, a cross-platform implementation of the functions has appeared
and is in use everywhere but on Windows (r232419).  r246219 hints that
<thread> had issues in MSVC2013, but r296906 suggests they've been fixed
now that we require 2015+.
So remove the concrt code. It's less code, and it sounds like concrt has
conceptual and performance issues, see PR41198.
I built blink_core.dll in a debug component build with full symbols and
in a release component build without any symbols.  I couldn't measure a
performance difference for linking blink_core.dll before and after this
patch.
Differential Revision: https://reviews.llvm.org/D68820
llvm-svn: 374421
The file was modifiedllvm/lib/Support/Parallel.cpp
The file was modifiedllvm/include/llvm/Support/Parallel.h
Commit c040b30ffc3daadd7342579ee4cca9d3d37dee58 by Lawrence D'Anna
update SBDebugger::SetInputFile() etc to work on native Files
Summary: This patch adds FileSP versions of SetInputFile(),
SetOutputFile, and SetErrorFile().   SWIG will convert native python
file objects into FileSP.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: clayborg, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68734
llvm-svn: 374422
The file was modifiedlldb/include/lldb/API/SBDebugger.h
The file was modifiedlldb/scripts/interface/SBDebugger.i
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit ab1cd65f19144f75e7a4e4ad2f1c85e5fa3ceb7d by Lawrence D'Anna
update TestRunCommandInterpreterAPI to use SBFile
Summary: If you look at what this test is doing, it's actually quite
mysterious why it works at all.   It sets the input file inside a "with
open".   As soon as the with block ends, that file will be closed.   And
yet somehow LLDB reads commands from it anyway.    What's actually
happening is that the file descriptor gets dup'd when something inside
LLDB calls File::GetStream().   I think it's fair to say that what this
test is doing is illegal and it has no right to expect it to work.
This patch updates the test with two cases.  One uses the SBFile api,
and actually transfers ownership of the original file descriptor to the
debugger.   The other just uses the old FILE* API, but in a sane way.
I also set NO_DEBUG_INFO_TESTCASE, because this test doesn't use any
debug info and doesn't need to run three times.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: labath
Subscribers: aprantl, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68738
llvm-svn: 374424
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py
Commit b5af1335be92e6fc79e6565e1bf77e0f47fcd089 by jdenny.ornl
Revert r374392: "[lit] Extend internal diff to support -U"
This breaks a Windows bot.
llvm-svn: 374425
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
Commit bdbeccb387e0dbc941a251bdf655cbe99e0d585e by jdenny.ornl
Revert r374390: "[lit] Extend internal diff to support `-` argument"
This breaks a Windows bot.
llvm-svn: 374426
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was modifiedllvm/utils/lit/tests/max-failures.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt
Commit 3e0b23d1542325b06bfaa906d0179c13f704aa66 by jdenny.ornl
Revert r374389: "[lit] Clean up internal diff's encoding handling"
This breaks a Windows bot.
llvm-svn: 374427
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.bin
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt
The file was modifiedllvm/utils/lit/lit/builtin_commands/diff.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16
The file was modifiedllvm/utils/lit/tests/max-failures.py
Commit 26cd5c93705c98fab0b58e8f52b26ac42b911552 by Jinsong Ji
[PowerPC][docs] Update IBM official docs in Compiler Writers Info page
Summary: Just realized that most of the links in this page are
deprecated. So update some important reference here:
* adding PowerISA 3.0B/2.7B
* adding P8/P9 User Manual
* ELFv2 ABI and errata
Move deprecated ones into "Other documents..".
Reviewers: #powerpc, hfinkel, nemanjai
Reviewed By: hfinkel
Subscribers: shchenz, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68817
llvm-svn: 374428
The file was modifiedllvm/docs/CompilerWriterInfo.rst
Commit a71511feb5a130ab5a0e9f62fdde0b5f9549dad6 by jdenny.ornl
Revert r374388: "[lit] Make internal diff work in pipelines"
This breaks a Windows bot.
llvm-svn: 374429
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was removedllvm/utils/lit/lit/builtin_commands/diff.py
The file was removedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt
Commit ff5640caea906c61f9ecc48e14b37eacdde3c521 by Jonas Devlieghere
[Docs] Update testing documentaton
Update the test documentation after the directory reorganization.
llvm-svn: 374430
The file was modifiedlldb/docs/resources/test.rst
Commit 0e561437c5873a0406fab6dd7e1ba8247847bb92 by craig.topper
[X86] Use packusdw+vpmovuswb to implement v16i32->V16i8 that clamps
signed inputs to be between 0 and 255 when zmm registers are disabled on
SKX.
If we've disable zmm registers, the v16i32 will need to be split. This
split will propagate through min/max the truncate. This creates two
sequences that need to be concatenated back to v16i8. We can instead use
packusdw to do part of the clamping, truncating, and concatenating all
at once. Then we can use a vpmovuswb to finish off the clamp.
Differential Revision: https://reviews.llvm.org/D68763
llvm-svn: 374431
The file was modifiedllvm/test/CodeGen/X86/min-legal-vector-width.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit b858895c859712e7c0f4e1c5e0436bd20cbe0c34 by jlettner
[lit] Bring back `--threads` option alias
Bring back `--threads` option which was lost in the move of the command
line argument parsing code to cl_arguments.py.  Update docs since
`--workers` is preferred.
llvm-svn: 374432
The file was modifiedllvm/docs/CommandGuide/lit.rst
The file was modifiedllvm/utils/lit/lit/cl_arguments.py
Commit 7cc1fac8c9a1a4c9f9b146321177b8a4cb29b558 by Jonas Devlieghere
[test] Cleanup top-level lit.cfg.py
llvm-svn: 374434
The file was modifiedlldb/test/lit.cfg.py
Commit 0a186d0f64b6d57ec50ffce41f470314cc5b2250 by Jonas Devlieghere
[test] Add timeout to API tests.
Before the reorganiziation, the API tests were inheriting the timeout
from the top-level lit file. Now that this is no longer the case, the
lldb-api test suite needs to set its own timeout.
llvm-svn: 374435
The file was modifiedlldb/test/API/lit.cfg
The file was modifiedlldb/test/Shell/lit.cfg.py
Commit 8dd16ed0c8d70e169544fd3e3732203aed55a806 by spatel
[x86] reduce duplicate test assertions; NFC
llvm-svn: 374436
The file was modifiedllvm/test/CodeGen/X86/selectcc-to-shiftand.ll