SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [clang] prevent crash for nonnull attribut in constant context (Bug (details)
  2. [update_cc_test_checks] Support 'clang | opt | FileCheck' (details)
  3. Recommit "[Clang] Pragma vectorize_width() implies vectorize(enable)" (details)
  4. [lldb][NFC] Use unique_ptr in DiagnosticManager to express ownership (details)
  5. Improve error message for bad SHF_MERGE sections (details)
  6. [LLD] [MinGW] Add a testcase for -l:name style library options. NFC. (details)
  7. [LLD] [MinGW] Look for other library patterns with -l (details)
  8. [UBSan][clang][compiler-rt] Applying non-zero offset to nullptr is (details)
  9. Remove rest of time-trace message as it is inconsistent style (details)
  10. Use error instead of fatal to report usage errors (details)
  11. [UBSan] Revisit nullptr-and-nonzero-offset-variable.cpp test to (details)
  12. s/@expectedFailure/@expectedFailureAll in TestFileHandle (details)
  13. [IfCvt][ARM] Optimise diamond if-conversion for code size (details)
  14. [UBSan] Split nullptr-and-nonzero-offset-variable.cpp into C and C++ (details)
  15. [lldb][NFC] Use llvm::all_of instead of std::all_of in (details)
  16. Revert "[ASan] Do not misrepresent high value address dereferences as (details)
  17. [UBSan] Split nullptr-and-nonzero-offset-variable.c in another direction (details)
  18. [lldb] Fix out of bounds read in DataExtractor::GetCStr and add unit (details)
  19. [lldb][NFC] Remove strange bool parameter from Searcher::SearchCallback (details)
  20. [COFF] Wrap definitions in namespace lld { namespace coff {. NFC (details)
  21. [Sanitizers] Porting getrandom/getentropy interceptors to FreeBSD (details)
  22. [UBSan] Appease linter (details)
  23. [test] Use system locale for mri-utf8.test (details)
  24. [Mips] Fix 374055 (details)
  25. Fix sanitizer lint check after r374315 (details)
  26. TestFileHandle.py: relax exception type checks (details)
  27. Revert "Use -fdebug-compilation-dir to form absolute paths in coverage (details)
  28. [Windows] Introduce a switch for the `lldb-server` mode on Windows (details)
  29. Fix -Wparentheses warning. NFCI. (details)
  30. [ADR] ArrayRefTest: disable SizeTSizedOperations test - it's UB. (details)
  31. [AST] ASTReader::ReadSLocEntry(): move computation of FirstDecl into the (details)
  32. [lld] getErrPlace(): don't perform arithmetics on maybe-null pointer (details)
  33. [Alignment][NFC] Make VectorUtils uas llvm::Align (details)
  34. File: Handle more cases in GetOptionsFromMode (details)
  35. Make nullptr check more robust (details)
  36. [Sanitizers] Fix getrandom test (details)
  37. [AArch64][x86] add tests for (v)select bit magic; NFC (details)
  38. [lldb] Make sure import-std-module/sysroot actually passes for the right (details)
  39. [ARM] VQADD instructions (details)
  40. MinidumpYAML: Add support for the memory info list stream (details)
  41. [LV][NFC] Factor out calculation of "best" estimated trip count. (details)
  42. [FileCheck] Implement --ignore-case option. (details)
  43. [DAGCombine] Match more patterns for half word bswap (details)
  44. Fix some dangling else warnings (details)
  45. Fix the unwinding plan augmentation from x86 assembly (details)
  46. [Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj). (details)
  47. [llvm-readelf] - Do not enter an infinite loop when printing histogram. (details)
  48. [DAG][X86] Add isNegatibleForFree/GetNegatedExpression override (details)
  49. Fix OCaml/core.ml fneg check (details)
  50. Revert "[AMDGPU] Run `unreachable-mbb-elimination` after isel to clean (details)
  51. Revert "[test] Use system locale for mri-utf8.test" (details)
  52. [lldb] Add log output for the support files we pass to the (details)
  53. [X86] combineFMADDSUB - Convert to use (details)
  54. [lldb] Fix minidebuginfo-set-and-hit-breakpoint.test (details)
  55. unwind-via-stack-win.yaml: update for changes in yaml format (details)
  56. Revert "[IRBuilder] Update IRBuilder::CreateFNeg(...) to return a (details)
  57. Fix OCaml/core.ml fneg check (try 2) (details)
  58. [X86] combineFMA - Convert to use (details)
  59. Revert "Fix OCaml/core.ml fneg check" (details)
  60. Revert "[Tests] Output of od can be lower or upper case (details)
  61. Revert "[FileCheck] Implement --ignore-case option." (details)
  62. [MCA] Show aggregate over Average Wait times for the whole snippet (details)
  63. [LLD][ELF] Fix stale comments about doing ICF (details)
  64. [OPENMP50]Register vendor name only once in vendor context selector. (details)
  65. Fix Wdocumentation warnings. NFCI. (details)
  66. [AMDGPU] Fixed dpp_combine.mir with expensive checks. NFC. (details)
  67. In openFileForRead don't cache erroneous entries if the error relates to (details)
  68. [BPF] Remove relocation for patchable externs (details)
  69. [Alignment][NFC] Use llv::Align in GISelKnownBits (details)
  70. [DAGCombiner] reduce code duplication; NFC (details)
  71. Increase timeout in gdbclientutils.py to decrease chance of test failing (details)
  72. Fix assertions disabled builds after rL374367 (details)
  73. [Codegen] Alter the default promotion for saturating adds and subs (details)
  74. Use arrays on stack and avoid use of new and delete operators. (details)
  75. Increase timeout in pexpect to lower chances of tests failing under (details)
  76. [ARM] VQSUB instruction (details)
  77. [dsymutil] Move CommonSymbols.clear() in resetParserState. (details)
  78. Add GsymCreator and GsymReader. (details)
  79. [test] Trim the symbtab test case (NFC) (details)
  80. gn build: Merge r374381 (details)
  81. Reland "[ASan] Do not misrepresent high value address dereferences as (details)
  82. [test] Pass DSYMUTIL and SDKROOT as part of the Make invocation. (details)
  83. [test] Use a different module cache for Shell and API tests. (details)
  84. [OPENMP50]Support for declare variant directive for NVPTX target. (details)
  85. [lit] Make internal diff work in pipelines (details)
  86. [lit] Clean up internal diff's encoding handling (details)
  87. [lit] Extend internal diff to support `-` argument (details)
  88. gn build: merge r374381 more (effectively a no-op) (details)
  89. [lit] Extend internal diff to support -U (details)
  90. Implement serializing scripted breakpoints and their extra args. (details)
  91. gn build: restore tablegen restat optimization after r373664 (details)
  92. Unbreak windows buildbots. (details)
  93. [DAGCombiner] fold select-of-constants to shift (details)
  94. Unbreak  llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast buildbot. (details)
  95. [clang-format] throws an incorrect assertion in consumeToken() (details)
Commit 59c6df9b2c52807d16123e6cef64d5d937b4e697 by tyker1
[clang] prevent crash for nonnull attribut in constant context (Bug
43601)
Summary:
bug : https://bugs.llvm.org/show_bug.cgi?id=43601
Reviewers: rnk
Reviewed By: rnk
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68716
llvm-svn: 374285
The file was modifiedclang/test/SemaCXX/attr-nonnull.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit 109c773ab50c8f4d2ba51d309d5f5bfe82a1e5eb by simon.tatham
[update_cc_test_checks] Support 'clang | opt | FileCheck'
Some clang lit tests use a pipeline of the form
// RUN: %clang [args] -O0 %s | opt [specific optimizations] | FileCheck
%s
to make the expected test output depend on as few optimization phases as
possible, for stability. But when you write a RUN line of this form, you
lose the ability to use update_cc_test_checks.py to automatically
generate the expected output, because it only supports two-stage
pipelines consisting of '%clang | FileCheck' (or %clang_cc1).
This change extends the set of supported RUN lines so that pipelines
with an invocation of `opt` in the middle can still be automatically
handled.
To implement it, I've adjusted `get_function_body()` so that it can cope
with an arbitrary sequence of intermediate pipeline commands. But the
code that decides which RUN lines to consider is more conservative: it
only adds clang | opt | FileCheck to the set of supported lines, because
I didn't want to accidentally include some other kind of line that
doesn't output IR at all.
(Also in this commit is the minimal change to make this script work at
all, after r373912 added an extra parameter to `add_ir_checks`.)
Reviewers: MaskRay, xbolva00
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68406
llvm-svn: 374287
The file was modifiedllvm/utils/update_cc_test_checks.py
Commit 80371c74ae63d2f260bcc75408be9c6f81e38465 by sjoerd.meijer
Recommit "[Clang] Pragma vectorize_width() implies vectorize(enable)"
This was further discussed at the llvm dev list:
http://lists.llvm.org/pipermail/llvm-dev/2019-October/135602.html
I think the brief summary of that is that this change is an improvement,
this is the behaviour that we expect and promise in ours docs, and also
as a result there are cases where we now emit diagnostics whereas before
pragmas were silently ignored. Two areas where we can improve: 1) the
diagnostic message itself, and 2) and in some cases (e.g. -Os and -Oz)
the vectoriser is (quite understandably) not triggering.
Original commit message:
Specifying the vectorization width was supposed to implicitly enable
vectorization, except that it wasn't really doing this. It was only
setting the vectorize.width metadata, but not vectorize.enable.
This should fix PR27643.
llvm-svn: 374288
The file was modifiedclang/lib/CodeGen/CGLoopInfo.cpp
The file was modifiedclang/test/CodeGenCXX/pragma-loop-predicate.cpp
The file was modifiedclang/test/CodeGenCXX/pragma-loop.cpp
Commit 7c47b4a113047af971252da41548b2162e5dcbe3 by Raphael Isemann
[lldb][NFC] Use unique_ptr in DiagnosticManager to express ownership
llvm-svn: 374289
The file was modifiedlldb/include/lldb/Expression/DiagnosticManager.h
The file was modifiedlldb/source/Expression/DiagnosticManager.cpp
The file was modifiedlldb/unittests/Expression/DiagnosticManagerTest.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Commit d7ead5b58daf2f3a3a13a2d48e497b817010120b by ruiu
Improve error message for bad SHF_MERGE sections
This patch adds a section name to error messages.
Differential Revision: https://reviews.llvm.org/D68758
llvm-svn: 374290
The file was removedlld/test/ELF/writable-merge.s
The file was modifiedlld/test/ELF/invalid/merge-invalid-size.s
The file was modifiedlld/ELF/InputFiles.h
The file was addedlld/test/ELF/invalid/merge-writable.s
The file was modifiedlld/ELF/InputFiles.cpp
Commit e742794ffa430d7b50f5c69841546deef100ca14 by martin
[LLD] [MinGW] Add a testcase for -l:name style library options. NFC.
Differential Revision: https://reviews.llvm.org/D68688
llvm-svn: 374291
The file was modifiedlld/test/MinGW/lib.test
Commit 0226c35262df380dafb701df999e1b77bcf8f7f9 by martin
[LLD] [MinGW] Look for other library patterns with -l
GNU ld looks for a number of other patterns than just lib<name>.dll.a
and lib<name>.a.
GNU ld does support linking directly against a DLL without using an
import library. If that's the only match for a -l argument, point out
that the user needs to use an import library, instead of leaving the
user with a puzzling message about the -l argument not being found at
all.
Also convert an existing case of fatal() into error().
Differential Revision: https://reviews.llvm.org/D68689
llvm-svn: 374292
The file was modifiedlld/test/MinGW/lib.test
The file was modifiedlld/MinGW/Driver.cpp
Commit 536b0ee40ab97f2878dc124a321cf9108ee3d233 by lebedev.ri
[UBSan][clang][compiler-rt] Applying non-zero offset to nullptr is
undefined behaviour
Summary: Quote from http://eel.is/c++draft/expr.add#4:
``` 4     When an expression J that has integral type is added to or
subtracted
     from an expression P of pointer type, the result has the type of P.
(4.1) If P evaluates to a null pointer value and J evaluates to 0,
     the result is a null pointer value.
(4.2) Otherwise, if P points to an array element i of an array object x
with n
     elements ([dcl.array]), the expressions P + J and J + P
     (where J has the value j) point to the (possibly-hypothetical)
array
     element i+j of x if 0≤i+j≤n and the expression P - J points to the
     (possibly-hypothetical) array element i−j of x if 0≤i−j≤n.
(4.3) Otherwise, the behavior is undefined.
```
Therefore, as per the standard, applying non-zero offset to `nullptr`
(or making non-`nullptr` a `nullptr`, by subtracting pointer's integral
value from the pointer itself) is undefined behavior. (*if* `nullptr` is
not defined, i.e. e.g. `-fno-delete-null-pointer-checks` was *not*
specified.)
To make things more fun, in C (6.5.6p8), applying *any* offset to null
pointer is undefined, although Clang front-end pessimizes the code by
not lowering that info, so this UB is "harmless".
Since rL369789 (D66608 `[InstCombine] icmp eq/ne (gep inbounds P,
Idx..), null -> icmp eq/ne P, null`) LLVM middle-end uses those
guarantees for transformations. If the source contains such UB's, said
code may now be miscompiled. Such miscompilations were already observed:
*
https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190826/687838.html
* https://github.com/google/filament/pull/1566
Surprisingly, UBSan does not catch those issues
... until now. This diff teaches UBSan about these UB's.
`getelementpointer inbounds` is a pretty frequent instruction, so this
does have a measurable impact on performance; I've addressed most of the
obvious missing folds (and thus decreased the performance impact by
~5%), and then re-performed some performance measurements using my [[
https://github.com/darktable-org/rawspeed | RawSpeed ]] benchmark:
(all measurements done with LLVM ToT, the sanitizer never fired.)
* no sanitization vs. existing check: average `+21.62%` slowdown
* existing check vs. check after this patch: average `22.04%` slowdown
* no sanitization vs. this patch: average `48.42%` slowdown
Reviewers: vsk, filcab, rsmith, aaron.ballman, vitalybuka, rjmccall,
#sanitizers
Reviewed By: rsmith
Subscribers: kristof.beyls, nickdesaulniers, nikic, ychen, dtzWill,
xbolva00, dberris, arphaman, rupprecht, reames, regehr, llvm-commits,
cfe-commits
Tags: #clang, #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D67122
llvm-svn: 374293
The file was addedcompiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-constants.cpp
The file was addedcompiler-rt/test/ubsan_minimal/TestCases/nullptr-and-nonzero-offset.c
The file was modifiedcompiler-rt/lib/ubsan/ubsan_checks.inc
The file was modifiedcompiler-rt/test/ubsan/TestCases/Pointer/unsigned-index-expression.cpp
The file was addedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.c
The file was addedcompiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-summary.cpp
The file was modifiedcompiler-rt/test/ubsan/TestCases/Pointer/index-overflow.cpp
The file was addedclang/test/CodeGen/catch-pointer-overflow-volatile.c
The file was modifiedcompiler-rt/lib/ubsan/ubsan_handlers.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
The file was addedclang/test/CodeGenCXX/catch-nullptr-and-nonzero-offset-in-offsetof-idiom.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_suppressions.h
The file was addedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-blacklist.c
The file was addedcompiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/docs/UndefinedBehaviorSanitizer.rst
The file was addedclang/test/CodeGen/catch-pointer-overflow.c
The file was addedclang/test/CodeGen/catch-nullptr-and-nonzero-offset-when-nullptr-is-defined.c
The file was addedclang/test/CodeGen/ubsan-pointer-overflow.c
The file was addedclang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/test/CodeGen/ubsan-pointer-overflow.m
Commit 9d9ac46a08d7c4081ef3ff89ceecd3ab9ec69a14 by russell.gallop
Remove rest of time-trace message as it is inconsistent style
Other options which create output files don't produce output messages.
Improve documentation to help find trace file.
Differential Revision: https://reviews.llvm.org/D68710
llvm-svn: 374294
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/tools/driver/cc1_main.cpp
Commit 37bf9bb405ffcbd2dbca8d645ec2251ba34ac230 by ruiu
Use error instead of fatal to report usage errors
Differential Revision: https://reviews.llvm.org/D68768
llvm-svn: 374297
The file was modifiedlld/MinGW/Driver.cpp
The file was modifiedlld/test/MinGW/driver.test
Commit 3de28b83c26b5d88ee3f77066ecdb46d44f1ac94 by lebedev.ri
[UBSan] Revisit nullptr-and-nonzero-offset-variable.cpp test to
hopefully make it pass on sanitizer-windows BB
llvm-svn: 374298
The file was modifiedcompiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp
Commit c92a75fec0adb8569e81c35817e0e27a1cdb7959 by pavel
s/@expectedFailure/@expectedFailureAll in TestFileHandle
The test isn't using @expectedFailure correctly, which causes weird
errors, at least with python2, at least with linux. Possibly that
function shouldn't even be public as it's main use is as a backed for
other decorators.
llvm-svn: 374299
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit 4f454b227545016665e4dbdc237ffe8e49f240aa by oliver.stannard
[IfCvt][ARM] Optimise diamond if-conversion for code size
Currently, the heuristics the if-conversion pass uses for diamond
if-conversion are based on execution time, with no consideration for
code size. This adds a new set of heuristics to be used when optimising
for code size.
This is mostly target-independent, because the if-conversion pass can
see the code size of the instructions which it is removing. For thumb,
there are a few passes (insertion of IT instructions, selection of
narrow branches, and selection of CBZ instructions) which are run after
if conversion and affect these heuristics, so I've added target hooks to
better predict the code-size effect of a proposed if-conversion.
Differential revision: https://reviews.llvm.org/D67350
llvm-svn: 374301
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/IfConversion.cpp
The file was addedllvm/test/CodeGen/ARM/ifcvt-size.mir
Commit 5d59f20cc0d0b5e44b7e5b173decc77d87ad283d by lebedev.ri
[UBSan] Split nullptr-and-nonzero-offset-variable.cpp into C and C++
variants
I do not understand the BB failire, it fully passes locally.
llvm-svn: 374306
The file was modifiedcompiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp
The file was addedcompiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.c
Commit 186f1c58c5ea62b0149d47b2b7b5b3396589fdb0 by Raphael Isemann
[lldb][NFC] Use llvm::all_of instead of std::all_of in
CppModuleConfiguration
llvm-svn: 374307
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp
Commit c48e0873af43eb245cdcca7b9822d2ff8646231c by russell.gallop
Revert "[ASan] Do not misrepresent high value address dereferences as
null dereferences"
As it was breaking bots running sanitizer lint check
This reverts r374265 (git b577efe4567f1f6a711ad36e1d17280dd1c4f009)
llvm-svn: 374308
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
The file was modifiedcompiler-rt/lib/asan/asan_errors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was removedcompiler-rt/test/asan/TestCases/Posix/high-address-dereference.c
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
Commit eb8b6fe74525dbdc014f1f03881a77046a6cb052 by lebedev.ri
[UBSan] Split nullptr-and-nonzero-offset-variable.c in another direction
llvm-svn: 374309
The file was modifiedcompiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.cpp
The file was removedcompiler-rt/test/ubsan/TestCases/Pointer/nullptr-and-nonzero-offset-variable.c
Commit 067bb1f546efdb9cae33262b684aeb340798ff57 by Raphael Isemann
[lldb] Fix out of bounds read in DataExtractor::GetCStr and add unit
test that function.
Summary: The `if (*cstr_end == '\0')` in the previous code checked if
the previous loop terminated because it found a null terminator or
because it reached the end of the data. However, in the case that we hit
the end of the data before finding a null terminator, `cstr_end` points
behind the last byte in our data and `*cstr_end` reads the memory behind
the array (which may be uninitialised)
This patch just rewrites that function use `std::find` and adds the
relevant unit tests.
Reviewers: labath
Reviewed By: labath
Subscribers: abidh, JDevlieghere, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68773
llvm-svn: 374311
The file was modifiedlldb/source/Utility/DataExtractor.cpp
The file was modifiedlldb/unittests/Utility/DataExtractorTest.cpp
Commit 95e264fc8a9335acec624c64a8352fb87a0dfa01 by Raphael Isemann
[lldb][NFC] Remove strange bool parameter from Searcher::SearchCallback
Summary: The SearchCallback has a bool parameter that we always set to
false, we never use in any callback implementation and that also changes
its name from one file to the other (either `containing` and
`complete`). It was added in the original LLDB check in, so there isn't
any history what this was supposed to be, so let's just remove it.
Reviewers: jingham, JDevlieghere, labath
Reviewed By: jingham, labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68696
llvm-svn: 374313
The file was modifiedlldb/source/Breakpoint/BreakpointResolverAddress.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointResolverScripted.cpp
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
The file was modifiedlldb/source/Target/LanguageRuntime.cpp
The file was modifiedlldb/include/lldb/Core/AddressResolverFileLine.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverAddress.h
The file was modifiedlldb/source/Breakpoint/BreakpointResolverFileLine.cpp
The file was modifiedlldb/include/lldb/Core/FileLineResolver.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverName.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileLine.h
The file was modifiedlldb/include/lldb/Core/SearchFilter.h
The file was modifiedlldb/include/lldb/Core/AddressResolverName.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverFileRegex.h
The file was modifiedlldb/source/Core/AddressResolverName.cpp
The file was modifiedlldb/source/Core/SearchFilter.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointResolverFileRegex.cpp
The file was modifiedlldb/source/Core/FileLineResolver.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointResolverScripted.h
The file was modifiedlldb/source/Breakpoint/BreakpointResolverName.cpp
The file was modifiedlldb/source/Core/AddressResolverFileLine.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.h
Commit d79c3be6187248b1a158911dc162f06a86d4c612 by maskray
[COFF] Wrap definitions in namespace lld { namespace coff {. NFC
Similar to D67323, but for COFF. Many lld/COFF/ files already use
`namespace lld { namespace coff {`. Only a few need changing.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D68772
llvm-svn: 374314
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedlld/COFF/MinGW.cpp
The file was modifiedlld/COFF/MapFile.cpp
The file was modifiedlld/COFF/LTO.cpp
The file was modifiedlld/COFF/PDB.cpp
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/DebugTypes.cpp
Commit 90c8b59cfc6ea5c1b1f6e024c3a31b990b1b0e66 by David CARLIER
[Sanitizers] Porting getrandom/getentropy interceptors to FreeBSD
- Available from 12.x branch, by the time it lands next year in FreeBSD
tree, the 11.x's might be EOL.
- Intentionally changed the getrandom test to C code as with 12.0 (might
be fixed in CURRENT since), there is a linkage issue in C++ context.
Reviewers: emaste, dim, vitalybuka
Reviewed-By: vitalybuka
Differential Revision: https://reviews.llvm.org/D68451
llvm-svn: 374315
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Posix/getrandom.c
The file was removedcompiler-rt/test/sanitizer_common/TestCases/Linux/getrandom.cpp
Commit 6430adbe647a1837c0476f2c9ecc1c0ef5cba14c by lebedev.ri
[UBSan] Appease linter
llvm-svn: 374316
The file was modifiedcompiler-rt/lib/ubsan/ubsan_checks.inc
Commit b6f1d1fa0e3ee0e25f22414bf97c05276b934507 by thomasp
[test] Use system locale for mri-utf8.test
Summary: llvm-ar's mri-utf8.test test relies on the en_US.UTF-8 locale
to be installed for its last RUN line to work. If not installed, the
unicode string gets encoded (interpreted) as ascii which fails since the
most significant byte is non zero. This commit changes the test to only
rely on the system being able to encode the pound sign in its default
encoding (e.g. UTF-16 for Microsoft Windows) by always opening the file
via input/output redirection. This avoids forcing a given locale to be
present and supported. A Byte Order Mark is also added to help
recognizing the encoding of the file and its endianness.
Reviewers: gbreynoo, MaskRay, rupprecht, JamesNagurne, jfb
Subscribers: dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68472
llvm-svn: 374318
The file was removedllvm/test/tools/llvm-ar/mri-utf8.test
The file was addedllvm/test/tools/llvm-ar/mri-nonascii.test
Commit c2e481679bc15a3ef15c9d9c94e4e56620f43d6f by Mirko.Brkusanin
[Mips] Fix 374055
EXPENSIVE_CHECKS build was failing on new test. This is fixed by marking
$ra register as undef. Test now has -verify-machineinstrs to check for
operand flags.
llvm-svn: 374320
The file was modifiedllvm/test/CodeGen/Mips/mcount.ll
The file was modifiedllvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp
Commit 38ac46b4bc1697f796efc73450814c69c36bc81c by russell.gallop
Fix sanitizer lint check after r374315
llvm-svn: 374321
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
Commit 44506cd7f2b0758d37611d405beb6eb1f6f90f17 by pavel
TestFileHandle.py: relax exception type checks
the exceptions returned differ between swig4 (TypeError) and swig<=3
(NotImplementedError). Just check for the base Exception class instead.
Theoretically we could switch on the swig version and expect the precise
type directly, but checking the exact type does not seem that important.
Thanks to Raphael for helping me figure this out.
llvm-svn: 374322
The file was modifiedlldb/packages/Python/lldbsuite/test/python_api/file_handle/TestFileHandle.py
Commit 62808631acceaa8b78f8ab9b407eb6b943ff5f77 by kadircet
Revert "Use -fdebug-compilation-dir to form absolute paths in coverage
mappings"
This reverts commit f6777964bde28c349d3e289ea37ecf5f5eeedbc4.
Because the absolute path check relies on temporary path containing
"clang", "test" and "CoverageMapping" as a subsequence, which is not
necessarily true on all systems(breaks internal integrates). Wanted to
fix it by checking for a leading "/" instead, but then noticed that it
would break windows tests, so leaving it to the author instead.
llvm-svn: 374324
The file was removedclang/test/CoverageMapping/debug-dir.cpp
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.cpp
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.h
Commit 0891366571b2cf3e4e27d40af228fe5bd9e4e755 by aleksandr.urakov
[Windows] Introduce a switch for the `lldb-server` mode on Windows
Summary: This patch introduces a switch, based on the environment
variable
`LLDB_USE_LLDB_SERVER`, to determine whether to use the `ProcessWindows`
plugin
(the old way) or the `lldb-server` way for debugging on Windows.
Reviewers: labath, amccarth, asmith, stella.stamenova
Reviewed By: labath, amccarth
Subscribers: mstorsjo, abidh, JDevlieghere, lldb-commits,
leonid.mashinskiy
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68258
llvm-svn: 374325
The file was modifiedlldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
Commit 788ba15113276a5bde7a8a0c92230d8cf0aeb053 by llvm-dev
Fix -Wparentheses warning. NFCI.
llvm-svn: 374326
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Commit abb34df4ee3cee9270723bcf857bb913ad123790 by lebedev.ri
[ADR] ArrayRefTest: disable SizeTSizedOperations test - it's UB.
This test is not defined.
FAIL: LLVM-Unit :: ADT/./ADTTests/ArrayRefTest.SizeTSizedOperations (178
of 33926)
******************** TEST 'LLVM-Unit ::
ADT/./ADTTests/ArrayRefTest.SizeTSizedOperations' FAILED
******************** Note: Google Test filter =
ArrayRefTest.SizeTSizedOperations
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ArrayRefTest
[ RUN      ] ArrayRefTest.SizeTSizedOperations
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32:
runtime error: applying non-zero offset 9223372036854775806 to null
pointer
   #0 0x5ae8dc in llvm::ArrayRef<char>::slice(unsigned long, unsigned
long) const
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32
   #1 0x5ae44c in (anonymous
namespace)::ArrayRefTest_SizeTSizedOperations_Test::TestBody()
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/unittests/ADT/ArrayRefTest.cpp:85:3
   #2 0x928a96 in testing::Test::Run()
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2474:5
   #3 0x929793 in testing::TestInfo::Run()
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2656:11
   #4 0x92a152 in testing::TestCase::Run()
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:2774:28
   #5 0x9319d2 in testing::internal::UnitTestImpl::RunAllTests()
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4649:43
   #6 0x931416 in testing::UnitTest::Run()
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/src/gtest.cc:4257:10
   #7 0x920ac3 in RUN_ALL_TESTS
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/googletest/include/gtest/gtest.h:2233:46
   #8 0x920ac3 in main
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/unittest/UnitTestMain/TestMain.cpp:50:10
   #9 0x7f66135b72e0 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
   #10 0x472c19 in _start
(/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/unittests/ADT/ADTTests+0x472c19)
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/include/llvm/ADT/ArrayRef.h:180:32
in llvm-svn: 374327
The file was modifiedllvm/unittests/ADT/ArrayRefTest.cpp
Commit bf4f1e0ec07aec70aeba0cf706222ed084df8d51 by lebedev.ri
[AST] ASTReader::ReadSLocEntry(): move computation of FirstDecl into the
branch where it's used
The existing code is not defined, you are not allowed to produce
non-null pointer from null pointer (F->FileSortedDecls here). That being
said, i'm not really confident this is fix-enough, but we'll see.
FAIL: Clang :: Modules/no-module-map.cpp (6879 of 16079)
******************** TEST 'Clang :: Modules/no-module-map.cpp' FAILED
******************** Script:
--
: 'RUN: at line 1'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang
-cc1 -internal-isystem
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include
-nostdsysteminc -fmodules-ts -fmodule-name=ab -x c++-header
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map/a.h
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map/b.h
-emit-header-module -o
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm
: 'RUN: at line 2'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang
-cc1 -internal-isystem
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include
-nostdsysteminc -fmodules-ts
-fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp
-I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map
-verify
: 'RUN: at line 3'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang
-cc1 -internal-isystem
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include
-nostdsysteminc -fmodules-ts
-fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp
-I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map
-verify -DA
: 'RUN: at line 4'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang
-cc1 -internal-isystem
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include
-nostdsysteminc -fmodules-ts
-fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp
-I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map
-verify -DB
: 'RUN: at line 5'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang
-cc1 -internal-isystem
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include
-nostdsysteminc -fmodules-ts
-fmodule-file=/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp
-I/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/Inputs/no-module-map
-verify -DA -DB
: 'RUN: at line 7'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang
-cc1 -internal-isystem
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include
-nostdsysteminc -E
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm
-o - |
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp
: 'RUN: at line 8'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang
-cc1 -internal-isystem
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/lib/clang/10.0.0/include
-nostdsysteminc -frewrite-imports -E
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/clang/test/Modules/Output/no-module-map.cpp.tmp.pcm
-o - |
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/test/Modules/no-module-map.cpp
-- Exit Code: 2
Command Output (stderr):
--
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50:
runtime error: applying non-zero offset 8 to null pointer
   #0 0x3a9bd0c in clang::ASTReader::ReadSLocEntry(int)
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50
   #1 0x328b6f8 in clang::SourceManager::loadSLocEntry(unsigned int,
bool*) const
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Basic/SourceManager.cpp:461:28
   #2 0x328b351 in
clang::SourceManager::initializeForReplay(clang::SourceManager const&)
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Basic/SourceManager.cpp:399:11
   #3 0x3996c71 in
clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&,
clang::FrontendInputFile const&)
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/FrontendAction.cpp:581:27
   #4 0x394f341 in
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:956:13
   #5 0x3a8a92b in
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:290:25
   #6 0xaf8d62 in cc1_main(llvm::ArrayRef<char const*>, char const*,
void*)
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/cc1_main.cpp:250:15
   #7 0xaf1602 in ExecuteCC1Tool
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:309:12
   #8 0xaf1602 in main
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/tools/driver/driver.cpp:382:12
   #9 0x7f2c1eecc2e0 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
   #10 0xad57f9 in _start
(/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/clang-10+0xad57f9)
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/clang/lib/Serialization/ASTReader.cpp:1526:50
in llvm-svn: 374328
The file was modifiedclang/lib/Serialization/ASTReader.cpp
Commit 1508fbad79d9d3004b28c2962361681141e609c7 by lebedev.ri
[lld] getErrPlace(): don't perform arithmetics on maybe-null pointer
isecLoc there can be null, but at the same time isec->getSize() may be
non-null. It is UB to offset a nullptr.The most straight-forward fix
here appears to perform casts+normal integral arithmetics.
FAIL: lld :: ELF/invalid/invalid-relocation-aarch64.test (1158 of 2217)
******************** TEST 'lld ::
ELF/invalid/invalid-relocation-aarch64.test' FAILED ********************
Script:
--
: 'RUN: at line 2'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/yaml2obj
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/test/ELF/invalid/invalid-relocation-aarch64.test
-o
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/lld/test/ELF/invalid/Output/invalid-relocation-aarch64.test.tmp.o
: 'RUN: at line 3';   not
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/lld/test/ELF/invalid/Output/invalid-relocation-aarch64.test.tmp.o
-o /dev/null 2>&1 |
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/test/ELF/invalid/invalid-relocation-aarch64.test
-- Exit Code: 1
Command Output (stderr):
--
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/test/ELF/invalid/invalid-relocation-aarch64.test:4:10:
error: CHECK: expected string not found in input
# CHECK: error: unknown relocation (1024) against symbol foo
        ^
<stdin>:1:1: note: scanning from here
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/ELF/Target.cpp:100:41:
runtime error: applying non-zero offset 24 to null pointer
^
<stdin>:1:118: note: possible intended match here
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/ELF/Target.cpp:100:41:
runtime error: applying non-zero offset 24 to null pointer
                                                                       
                                           ^
--
******************** Testing:  0.. 10.. 20.. 30.. 40.. 50. FAIL: lld ::
ELF/invalid/invalid-relocation-x64.test (1270 of 2217)
******************** TEST 'lld ::
ELF/invalid/invalid-relocation-x64.test' FAILED ********************
Script:
--
: 'RUN: at line 2'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/yaml2obj
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/test/ELF/invalid/invalid-relocation-x64.test
-o
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/lld/test/ELF/invalid/Output/invalid-relocation-x64.test.tmp1.o
: 'RUN: at line 3';   echo ".global foo; foo:" >
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/lld/test/ELF/invalid/Output/invalid-relocation-x64.test.tmp2.s
: 'RUN: at line 4'; 
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llvm-mc
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/lld/test/ELF/invalid/Output/invalid-relocation-x64.test.tmp2.s
-o
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/lld/test/ELF/invalid/Output/invalid-relocation-x64.test.tmp2.o
-filetype=obj -triple x86_64-pc-linux
: 'RUN: at line 5';   not
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/lld/test/ELF/invalid/Output/invalid-relocation-x64.test.tmp1.o
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/tools/lld/test/ELF/invalid/Output/invalid-relocation-x64.test.tmp2.o
-o /dev/null 2>&1 |
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/test/ELF/invalid/invalid-relocation-x64.test
-- Exit Code: 1
Command Output (stderr):
--
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/test/ELF/invalid/invalid-relocation-x64.test:6:10:
error: CHECK: expected string not found in input
# CHECK: error: unknown relocation (152) against symbol foo
        ^
<stdin>:1:1: note: scanning from here
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/ELF/Target.cpp:100:41:
runtime error: applying non-zero offset 24 to null pointer
^
<stdin>:1:118: note: possible intended match here
/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/lld/ELF/Target.cpp:100:41:
runtime error: applying non-zero offset 24 to null pointer
                                                                       
                                           ^
--
******************** Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
80.. 90.. Testing Time: 20.73s
******************** Failing Tests (2):
   lld :: ELF/invalid/invalid-relocation-aarch64.test
   lld :: ELF/invalid/invalid-relocation-x64.test
llvm-svn: 374329
The file was modifiedlld/ELF/Target.cpp
Commit 837a1b84ced64b3cf3dfdedb98fdcc187582892d by gchatelet
[Alignment][NFC] Make VectorUtils uas llvm::Align
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: hiraditya, rogfer01, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68784
llvm-svn: 374330
The file was modifiedllvm/lib/Analysis/VectorUtils.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/include/llvm/Analysis/VectorUtils.h
Commit 342b1b2e9b376835f17630d9697be4b78a019389 by pavel
File: Handle more cases in GetOptionsFromMode
The "b" (binary) flag is meaningless most of the time, but the relevant
standars allow it. The standards permit one to spell it both as "r+b"
and "rb+", so handle both cases.
This fixes TestFileHandle.test_binary_inout with python2.
llvm-svn: 374331
The file was modifiedlldb/source/Host/common/File.cpp
Commit 9adea6e4fae349564a946db22f8c5759567d30d1 by ruiu
Make nullptr check more robust
The only condition that isecLoc becomes null is
  Out::bufferStart == nullptr,
isec->getParent()->offset == 0, and
isec->outSecOff == 0.
We can check the first condition only once.
llvm-svn: 374332
The file was modifiedlld/ELF/Target.cpp
Commit 69c9c223a0af0844a986de2926248616fd761003 by David CARLIER
[Sanitizers] Fix getrandom test
llvm-svn: 374333
The file was modifiedcompiler-rt/test/sanitizer_common/TestCases/Posix/getrandom.c
Commit 3370d4d2b7661f31f2b37c7189cbfbc851d8069c by spatel
[AArch64][x86] add tests for (v)select bit magic; NFC
llvm-svn: 374334
The file was modifiedllvm/test/CodeGen/X86/selectcc-to-shiftand.ll
The file was modifiedllvm/test/CodeGen/AArch64/selectcc-to-shiftand.ll
Commit f5b2b76008dca191c327c5c8c070e5f089608329 by Raphael Isemann
[lldb] Make sure import-std-module/sysroot actually passes for the right
reasons
This test was previously passing because myabs was actually emitted into
the debug information and we called that. The test itself was broken as
it didn't use the libc++ directory structure (the /v1/ directory was
just called /include/).
This patch gives myabs a default argument which we can't get from debug
information and inlines the function to make sure we can't call it from
LLDB without loading the C++ module.
llvm-svn: 374335
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/root/usr/include/c++/include/algorithm
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/Makefile
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/root/usr/include/c++/v1/algorithm
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/TestStdModuleSysroot.py
The file was removedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/root/usr/include/c++/include/module.modulemap
The file was addedlldb/packages/Python/lldbsuite/test/commands/expression/import-std-module/sysroot/root/usr/include/c++/v1/module.modulemap
Commit 39596ec2fee06d90907e9efce9a230b2da8eacd2 by david.green
[ARM] VQADD instructions
This selects MVE VQADD from the vector llvm.sadd.sat or llvm.uadd.sat
intrinsics.
Differential Revision: https://reviews.llvm.org/D68566
llvm-svn: 374336
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-saturating-arith.ll
Commit 3aa7e76677f191a2c104db8ef7bd1c06cb5e43d1 by pavel
MinidumpYAML: Add support for the memory info list stream
Summary: The implementation is fairly straight-forward and uses the same
patterns as the existing streams. The yaml form does not attempt to
preserve the data in the "gaps" that can be created by setting a
larger-than-required header or entry size in the stream header, because
the existing consumer
(lldb) does not make use of the information in the gap in any way, and
attempting to preserve that would make the implementation more
complicated.
Reviewers: amccarth, jhenderson, clayborg
Subscribers: llvm-commits, lldb-commits, markmentovai, zturner,
JosephTremoulet
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68645
llvm-svn: 374337
The file was modifiedllvm/include/llvm/BinaryFormat/Minidump.h
The file was modifiedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/lib/ObjectYAML/MinidumpYAML.cpp
The file was modifiedllvm/test/tools/obj2yaml/basic-minidump.yaml
The file was modifiedllvm/include/llvm/ObjectYAML/MinidumpYAML.h
Commit a3ca7acb4fa2656aa93dcf6f36568f87b6ac9c01 by flo
[LV][NFC] Factor out calculation of "best" estimated trip count.
This is just small refactoring to minimize changes in upcoming patch. In
the next path I'm going to introduce changes into heuristic for
vectorization of "tiny trip count" loops.
Patch by Evgeniy Brevnov <evgueni.brevnov@gmail.com>
Reviewers: hsaito, Ayal, fhahn, reames
Reviewed By: hsaito
Differential Revision: https://reviews.llvm.org/D67690
llvm-svn: 374338
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit dfd2b6f07fc40a190335f580d8a965bbebfe94df by kai.nacke
[FileCheck] Implement --ignore-case option.
The FileCheck utility is enhanced to support a `--ignore-case` option.
This is useful in cases where the output of Unix tools differs in case
(e.g. case not specified by Posix).
Reviewers: Bigcheese, jakehehrlich, rupprecht, espindola, alexshap,
jhenderson, MaskRay
Differential Revision: https://reviews.llvm.org/D68146
llvm-svn: 374339
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was addedllvm/test/FileCheck/check-ignore-case.txt
The file was modifiedllvm/lib/Support/FileCheckImpl.h
The file was modifiedllvm/include/llvm/Support/FileCheck.h
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst
Commit aaf050789664a5e5067b5a14ef31ed9eb89dc360 by deadalnix
[DAGCombine] Match more patterns for half word bswap
Summary: It ensures that the bswap is generated even when a part of the
subtree already matches a bswap transform.
Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68250
llvm-svn: 374340
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/bswap_tree.ll
Commit c8c71e6f7620bf2d4919011f0f1779f1f23040c4 by pavel
Fix some dangling else warnings
EXPECT_EQ contains an if-else statement. It also contains some magic to
suppress the dangling else warnings, but it seems that some new
compilers can see through that...
llvm-svn: 374341
The file was modifiedlldb/unittests/Process/minidump/RegisterContextMinidumpTest.cpp
Commit 5070322332441beb04951e22c1972f3e0113d47e by pavel
Fix the unwinding plan augmentation from x86 assembly
Unwind plan augmentation should compute the plan row at offset x from
the instruction before offset x, but currently we compute it from the
instruction at offset x. Note that this behavior is a regression
introduced when moving the x86 assembly inspection engine to its own
file
(https://github.com/llvm/llvm-project/commit/1c9858b298d79ce82c45a2954096718b39550109#diff-375a2be066db6f34bb9a71442c9b71fcL913);
the original version handled this properly by copying the previous
instruction out before advancing the instruction pointer.
The relevant bug with more info is here:
https://bugs.llvm.org/show_bug.cgi?id=43561
Differential Revision: https://reviews.llvm.org/D68454 Patch by Jaroslav
Sevcik <jarin@google.com>.
llvm-svn: 374342
The file was modifiedlldb/unittests/UnwindAssembly/x86/Testx86AssemblyInspectionEngine.cpp
The file was modifiedlldb/source/Plugins/UnwindAssembly/x86/x86AssemblyInspectionEngine.cpp
Commit 819f01d917fbb89af0614e10a0a513d294c9b098 by kai.nacke
[Tests] Output of od can be lower or upper case (llvm-objcopy/yaml2obj).
The command `od -t x` is used to dump data in hex format. The LIT tests
assumes that the hex characters are in lowercase. However, there are
also platforms which use uppercase letter.
To solve this issue the tests are updated to use the new
`--ignore-case` option of FileCheck.
Reviewers: Bigcheese, jakehehrlich, rupprecht, espindola, alexshap,
jhenderson
Differential Revision: https://reviews.llvm.org/D68693
llvm-svn: 374343
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/basic-binary-copy.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-sections.test
The file was modifiedllvm/test/tools/yaml2obj/elf-override-shoffset.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-paddr.test
The file was modifiedllvm/test/tools/yaml2obj/elf-override-shsize.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/check-addr-offset-align-binary.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/dump-section.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-no-paddr.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-segment-layout.test
Commit 55f1be09967e816be49fefce45211b8f7222c044 by grimar
[llvm-readelf] - Do not enter an infinite loop when printing histogram.
This is similar to D68086. We are entering an infinite loop when dumping
a histogram for a specially crafted
.hash section with a loop in a chain.
Differential revision: https://reviews.llvm.org/D68771
llvm-svn: 374344
The file was modifiedllvm/test/tools/llvm-readobj/elf-hash-histogram.test
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 08c2f530ec0b7e07a03301cf945fa81be019a68e by llvm-dev
[DAG][X86] Add isNegatibleForFree/GetNegatedExpression override
placeholders. NFCI.
Continuing to undo the rL372756 reversion.
Differential Revision: https://reviews.llvm.org/D67557
llvm-svn: 374345
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.h
Commit fbf8b0bc0defe2d2ebd77990e3189fc044ddf445 by llvm-dev
Fix OCaml/core.ml fneg check
llvm-svn: 374346
The file was modifiedllvm/test/Bindings/OCaml/core.ml
Commit 765055658cd7ec4e1eec8e0e90f0fc9fcc90ce31 by jay.foad
Revert "[AMDGPU] Run `unreachable-mbb-elimination` after isel to clean
up PHIs."
Summary: This has been superseded by "[AMDGPU]: PHI Elimination hooks
added for custom COPY insertion."
This reverts the code changes from commit
53f967f2bdb6aa7b08596880c3689d1ecad6f0ff but keeps the test case.
Reviewers: hliao, arsenm, tpr, dstuttard
Subscribers: kzhuravl, jvesely, wdng, nhaehnle, yaxunl, t-tye,
hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68769
llvm-svn: 374347
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Commit 48edae336bc701054e28e4723ff70d45af9fbfc2 by thomasp
Revert "[test] Use system locale for mri-utf8.test"
This reverts commit r374318 / b6f1d1fa0e3ee0e25f22414bf97c05276b934507.
llvm-svn: 374349
The file was addedllvm/test/tools/llvm-ar/mri-utf8.test
The file was removedllvm/test/tools/llvm-ar/mri-nonascii.test
Commit ccd54a1349fc67f1ffbc298e8dadc5c6a0f215ce by Raphael Isemann
[lldb] Add log output for the support files we pass to the
CppModuleConfiguration
CppModuleConfiguration is the most likely point of failure when we have
weird setups where we fail to load a C++ module. With this logging it
should be easier to figure out why we can't find a valid configuration
as the configuration only depends on the list of file paths.
llvm-svn: 374350
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Commit f096443a9812a472de1d7b899b19f844120fb125 by llvm-dev
[X86] combineFMADDSUB - Convert to use
isNegatibleForFree/GetNegatedExpression.
Split off from D67557, fixes the compile time regression mentioned in
rL372756
llvm-svn: 374351
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit ffe170c6e26075839d9d82da2c65fc4ba252cffd by Raphael Isemann
[lldb] Fix minidebuginfo-set-and-hit-breakpoint.test
This was failing for me because of this error: llvm-objcopy: error:
'build/tools/lldb/test/ObjectFile/ELF/Output/minidebuginfo-set-and-hit-breakpoint.test.tmp.mini_debuginfo':
section '.dynsym' cannot be removed because it is referenced by the
section '.hash'
Patch by Konrad Kleine!
llvm-svn: 374352
The file was modifiedlldb/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test
Commit 390accea83c099b256c48f218fac0900478b761b by pavel
unwind-via-stack-win.yaml: update for changes in yaml format
llvm-svn: 374353
The file was modifiedlldb/test/Shell/SymbolFile/Breakpad/Inputs/unwind-via-stack-win.yaml
Commit eaf6dd482b0ae461c29822c04f9637df97c96ff3 by gribozavr
Revert "[IRBuilder] Update IRBuilder::CreateFNeg(...) to return a
UnaryOperator"
This reverts commit r374240. It broke OCaml tests:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19014
llvm-svn: 374354
The file was modifiedclang/test/CodeGen/fma-builtins.c
The file was modifiedclang/test/CodeGen/zvector.c
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
The file was modifiedclang/test/CodeGen/avx512f-builtins.c
The file was modifiedllvm/test/Transforms/InstCombine/select-crash.ll
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/test/CodeGen/zvector2.c
The file was modifiedclang/test/CodeGen/aarch64-neon-intrinsics.c
The file was modifiedclang/test/CodeGen/aarch64-neon-misc.c
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics.c
The file was modifiedclang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c
The file was modifiedclang/test/CodeGen/fp16-ops.c
The file was modifiedllvm/test/CodeGen/AMDGPU/divrem24-assume.ll
The file was modifiedllvm/test/Transforms/InstCombine/fmul.ll
The file was modifiedllvm/unittests/IR/InstructionsTest.cpp
The file was modifiedclang/test/CodeGen/aarch64-neon-fma.c
The file was modifiedclang/test/CodeGen/builtins-ppc-vsx.c
The file was modifiedclang/test/CodeGen/exprs.c
The file was modifiedclang/test/CodeGen/aarch64-neon-2velem.c
The file was modifiedllvm/test/Transforms/InstCombine/cos-1.ll
The file was modifiedclang/test/CodeGen/avx512vl-builtins.c
The file was modifiedclang/test/CodeGen/complex-math.c
The file was modifiedclang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c
The file was modifiedllvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
The file was modifiedclang/test/CodeGen/fma4-builtins.c
The file was modifiedllvm/test/Transforms/InstCombine/fast-math.ll
The file was modifiedclang/test/CodeGen/arm-v8.2a-neon-intrinsics.c
The file was modifiedclang/test/CodeGen/arm_neon_intrinsics.c
Commit fdc0917b463df3a792d74735f30a0554e64d5351 by llvm-dev
Fix OCaml/core.ml fneg check (try 2)
llvm-svn: 374355
The file was modifiedllvm/test/Bindings/OCaml/core.ml
Commit 6a38474f77bbf8e2606cb2adaf0957e7a7e912c6 by llvm-dev
[X86] combineFMA - Convert to use
isNegatibleForFree/GetNegatedExpression.
Split off from D67557.
llvm-svn: 374356
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath2.ll
The file was modifiedllvm/test/CodeGen/X86/recip-fastmath.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 43fcbcb4e8e5bd725f27bd665deadad9b646f322 by gribozavr
Revert "Fix OCaml/core.ml fneg check"
This reverts commit r374346. It attempted to fix OCaml tests, but is
does not actually fix them.
llvm-svn: 374357
The file was modifiedllvm/test/Bindings/OCaml/core.ml
Commit a89e5a41ec7c2c7358fa1d85023cb1c4f3f5d136 by gribozavr
Revert "[Tests] Output of od can be lower or upper case
(llvm-objcopy/yaml2obj)."
This reverts commit r374343. It broke tests:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19066
llvm-svn: 374358
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/check-addr-offset-align-binary.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-sections.test
The file was modifiedllvm/test/tools/yaml2obj/elf-override-shsize.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-all-gnu.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-no-paddr.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-segment-layout.test
The file was modifiedllvm/test/tools/yaml2obj/elf-override-shoffset.yaml
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/basic-binary-copy.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/dump-section.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/preserve-segment-contents.test
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/binary-paddr.test
Commit d3aed7fc7986971ea15313871e7ffe8b4a5efa18 by gribozavr
Revert "[FileCheck] Implement --ignore-case option."
This reverts commit r374339. It broke tests:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/19066
llvm-svn: 374359
The file was removedllvm/test/FileCheck/check-ignore-case.txt
The file was modifiedllvm/include/llvm/Support/FileCheck.h
The file was modifiedllvm/docs/CommandGuide/FileCheck.rst
The file was modifiedllvm/lib/Support/FileCheck.cpp
The file was modifiedllvm/lib/Support/FileCheckImpl.h
The file was modifiedllvm/utils/FileCheck/FileCheck.cpp
Commit a5e65c1cf793b36836d0939574488a2f9530ea85 by lebedev.ri
[MCA] Show aggregate over Average Wait times for the whole snippet
(PR43219)
Summary: As disscused in https://bugs.llvm.org/show_bug.cgi?id=43219, i
believe it may be somewhat useful to show //some// aggregates over all
the sea of statistics provided.
Example:
``` Average Wait times (based on the timeline view):
[0]: Executions
[1]: Average time spent waiting in a scheduler's queue
[2]: Average time spent waiting in a scheduler's queue while ready
[3]: Average time elapsed from WB until retire stage
      [0]    [1]    [2]    [3] 0.     3     1.0    1.0    4.7     
vmulps     %xmm0, %xmm1, %xmm2 1.     3     2.7    0.0    2.3     
vhaddps    %xmm2, %xmm2, %xmm3 2.     3     6.0    0.0    0.0     
vhaddps    %xmm3, %xmm3, %xmm4
      3     3.2    0.3    2.3       <total>
``` I.e. we average the averages.
Reviewers: andreadb, mattd, RKSimon
Reviewed By: andreadb
Subscribers: gbedwell, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68714
llvm-svn: 374361
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/zero-idioms-avx-256.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/xop-super-registers-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Haswell/zero-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/read-after-ld-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-6.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/load-throughput.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/avx512-super-registers-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-pcmpgt.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/one-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/partial-reg-update-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/fma3-read-after-ld-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-pcmpeq.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/pipes-fpu.s
The file was modifiedllvm/test/tools/llvm-mca/X86/bextr-read-after-ld.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/read-advance-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/xchg.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-pcmpeq.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeClient/zero-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-sbb-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dependent-pmuld-paddd.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/register-files-5.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-pcmpgt.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/one-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/pr37790.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/dot-product.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-6.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/load-store-throughput.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/store-throughput.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/pipes-fpu.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/register-files-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/zero-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/one-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/store-throughput.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/clear-super-register-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/read-advance-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/sqrt-rsqrt-rcp-memop.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/rank.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-6.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/partial-reg-update-6.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/int-to-fpu-forwarding-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/vbroadcast-operand-latency.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-cmp.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/clear-super-register-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Broadwell/zero-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-1.s
The file was modifiedllvm/tools/llvm-mca/Views/TimelineView.h
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/read-advance-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/read-advance-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/read-advance-2.s
The file was modifiedllvm/test/tools/llvm-mca/SystemZ/stm-lm.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-pcmpgt.s
The file was modifiedllvm/test/tools/llvm-mca/ARM/vld1-index-update.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/load-throughput.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-pcmpeq.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-7.s
The file was modifiedllvm/test/tools/llvm-mca/X86/read-after-ld-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/read-advance-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/register-files-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/memcpy-like-test.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-sbb-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/vec-logic-read-after-ld-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/xadd.s
The file was modifiedllvm/test/tools/llvm-mca/X86/read-after-ld-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-sbb-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/zero-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/bottleneck-hints-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/hadd-read-after-ld-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-6.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dot-product.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/avx512-super-registers-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/clear-super-register-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/hadd-read-after-ld-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/rank.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/partial-reg-update-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/xop-super-registers-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/dependency-breaking-cmp.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/vbroadcast-operand-latency.s
The file was modifiedllvm/tools/llvm-mca/Views/TimelineView.cpp
The file was modifiedllvm/docs/CommandGuide/llvm-mca.rst
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/zero-idioms-avx-256.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/clear-super-register-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-5.s
The file was modifiedllvm/test/tools/llvm-mca/X86/bzhi-read-after-ld.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/add-sequence.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/reg-move-elimination-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/add-sequence.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/read-advance-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/int-to-fpu-forwarding-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-cmp.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/partial-reg-update.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/register-files-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/partial-reg-update.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/clear-super-register-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/dependent-pmuld-paddd.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/partial-reg-update-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/reg-move-elimination-5.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/partial-reg-update-7.s
The file was modifiedllvm/test/tools/llvm-mca/X86/fma3-read-after-ld-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/clear-super-register-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-2.s
The file was modifiedllvm/test/tools/llvm-mca/ARM/memcpy-ldm-stm.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/pr37790.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-6.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/avx512-super-registers-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/partial-reg-update.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/zero-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/load-store-alias.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/xop-super-registers-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/vec-logic-read-after-ld-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/cmpxchg-read-advance.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/xop-super-registers-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/bottleneck-hints-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/load-store-throughput.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/zero-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-7.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/partial-reg-update-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/zero-idioms.s
The file was modifiedllvm/test/tools/llvm-mca/X86/variable-blend-read-after-ld-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/variable-blend-read-after-ld-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/memcpy-like-test.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/load-store-alias.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/dependency-breaking-sbb-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/register-files-5.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/int-to-fpu-forwarding-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/clear-super-register-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/read-advance-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/reg-move-elimination-5.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/partial-reg-update-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/read-advance-3.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/register-files-1.s
Commit 6d6ec1b869cfd82d475a82161ab7a03047b739cb by russell.gallop
[LLD][ELF] Fix stale comments about doing ICF
Differential Revision: https://reviews.llvm.org/D68396
llvm-svn: 374362
The file was modifiedlld/ELF/Driver.cpp
Commit 4513e93f9a79e7790cc40084388e91afce4c5b39 by a.bataev
[OPENMP50]Register vendor name only once in vendor context selector.
No need to store multiple copies of the same vendor names in the context
selector, keep only single copy.
llvm-svn: 374363
The file was modifiedclang/test/OpenMP/declare_variant_ast_print.cpp
The file was modifiedclang/test/OpenMP/declare_variant_ast_print.c
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
Commit f7aee61be20830dd35450eae019084b07d010c7c by llvm-dev
Fix Wdocumentation warnings. NFCI.
llvm-svn: 374364
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit cbe55c7caf4c53fa8f9cc0f7ae7c2ff7f7c16585 by Stanislav.Mekhanoshin
[AMDGPU] Fixed dpp_combine.mir with expensive checks. NFC.
llvm-svn: 374365
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir
Commit 4abac53302775af3c5ed396883207b5b45ba030f by kousikk
In openFileForRead don't cache erroneous entries if the error relates to
them being directories. Add tests.
Summary: It seems that when the CachingFileSystem is first given a file
to open that is actually a directory, it incorrectly caches that path to
be errenous and throws an error when subsequently a directory open call
is made for the same path. This change makes it so that we do NOT cache
a path if it turns out we asked for a file when its a directory.
Reviewers: arphaman
Subscribers: dexonsmith, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68193
llvm-svn: 374366
The file was addedclang/test/ClangScanDeps/Inputs/headerwithdirnamefollowedbyinclude.json
The file was modifiedclang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp
The file was addedclang/test/ClangScanDeps/headerwithdirnamefollowedbyinclude.cpp
The file was modifiedclang/include/clang/Tooling/DependencyScanning/DependencyScanningFilesystem.h
Commit d46a6a9e6865ef71f754d8bcaae5205cf484856d by yhs
[BPF] Remove relocation for patchable externs
Previously, patchable extern relocations are introduced to patch
external variables used for multi versioning in compile once, run
everywhere use case. The load instruction will be converted into a move
with an patchable immediate which can be changed by bpf loader on the
host.
The kernel verifier has evolved and is able to load and propagate
constant values, so compiler relocation becomes unnecessary. This patch
removed codes related to this.
Differential Revision: https://reviews.llvm.org/D68760
llvm-svn: 374367
The file was modifiedllvm/lib/Target/BPF/BPFAbstractMemberAccess.cpp
The file was modifiedllvm/test/CodeGen/BPF/BTF/func-func-ptr.ll
The file was removedllvm/test/CodeGen/BPF/CORE/patchable-extern-ulonglong.ll
The file was modifiedllvm/lib/Target/BPF/BTF.h
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-struct-array.ll
The file was modifiedllvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
The file was modifiedllvm/test/CodeGen/BPF/BTF/func-typedef.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-basic.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-struct-anonymous.ll
The file was modifiedllvm/lib/Target/BPF/BTFDebug.h
The file was modifiedllvm/test/CodeGen/BPF/BTF/func-void.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/func-source.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/func-unused-arg.ll
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-union.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/filename.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/binary-format.ll
The file was modifiedllvm/lib/Target/BPF/BPFCORE.h
The file was removedllvm/test/CodeGen/BPF/CORE/patchable-extern-char.ll
The file was modifiedllvm/test/CodeGen/BPF/CORE/offset-reloc-multilevel.ll
The file was removedllvm/test/CodeGen/BPF/CORE/patchable-extern-uint.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/func-non-void.ll
Commit ff054b9e32307960fbbfde5dbb04a8b79be26fc4 by gchatelet
[Alignment][NFC] Use llv::Align in GISelKnownBits
Summary: This is patch is part of a series to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: courbet
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68786
llvm-svn: 374369
The file was modifiedllvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/GISelKnownBits.h
Commit 7f0e7c0b1ca25dfe571acebdbdf7a32cf4e72459 by spatel
[DAGCombiner] reduce code duplication; NFC
llvm-svn: 374370
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit cba575e8ffb052266ab93c0623f44b383ee793ff by Adrian Prantl
Increase timeout in gdbclientutils.py to decrease chance of test failing
under ASAN.
llvm-svn: 374371
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
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/test/CodeGen/AArch64/ssub_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_vec.ll
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_vec.ll
The file was modifiedllvm/test/CodeGen/ARM/usub_sat.ll
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/X86/uadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat.ll
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat.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/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-saturating-arith.ll
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
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 addedllvm/lib/DebugInfo/GSYM/GsymCreator.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/Header.cpp
The file was addedllvm/include/llvm/DebugInfo/GSYM/GsymReader.h
The file was modifiedllvm/lib/DebugInfo/GSYM/FunctionInfo.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/Header.h
The file was modifiedllvm/unittests/DebugInfo/GSYM/CMakeLists.txt
The file was modifiedllvm/lib/DebugInfo/GSYM/CMakeLists.txt
The file was addedllvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
The file was addedllvm/lib/DebugInfo/GSYM/GsymReader.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FileWriter.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 modifiedcompiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
The file was modifiedcompiler-rt/lib/asan/asan_errors.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_win.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common.h
The file was addedcompiler-rt/test/asan/TestCases/Posix/high-address-dereference.c
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/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/test/Shell/lit.cfg.py
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
The file was modifiedlldb/test/CMakeLists.txt
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_base.py
The file was modifiedlldb/test/API/lit.site.cfg.in
The file was modifiedlldb/packages/Python/lldbsuite/test/make/Makefile.rules
The file was modifiedlldb/test/API/lit.cfg
The file was modifiedlldb/test/Shell/lit.site.cfg.py.in
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest_args.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 modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was addedclang/test/OpenMP/nvptx_declare_variant_implementation_vendor_codegen.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
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/lit/builtin_commands/diff.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt
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/lit/builtin_commands/diff.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16
The file was modifiedllvm/utils/lit/tests/max-failures.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-encodings.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8
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 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 addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt
The file was modifiedllvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.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/max-failures.py
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/lit/builtin_commands/diff.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt
The file was modifiedllvm/utils/lit/tests/shtest-shell.py
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/include/lldb/Breakpoint/BreakpointResolverScripted.h
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointResolver.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/TestBreakpointSerialization.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/resolver.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/serialize/side_effect.py
The file was modifiedlldb/source/Breakpoint/BreakpointResolverScripted.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/test/CodeGen/X86/selectcc-to-shiftand.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
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