SuccessChanges

Summary

  1. [TableGen] Include ValueTypes.td directly into the intrinsic-varargs.td (details)
  2. [MVT] Add v16f16 and v32f16 vectors. (details)
  3. [WebAssembly] Handle aliases in WebAssemblyFixFunctionBitcasts (details)
  4. Revert r367389 (and follow-up r368404); it caused PR43073. (details)
  5. [clang-tidy] Check for dynamically initialized statics in headers. (details)
  6. Revert r369549 as it broke the bots. (details)
  7. [GVN] Do PHI translations across all edges between the load and the (details)
  8. gn build: Make sync script not exit 1 if it writes changes (details)
  9. gn build: Merge r369568 (details)
  10. Fix -Werror=unused-variable error after r369528. (details)
  11. [analyzer] Mention whether an event is about a condition in a bug report (details)
  12. [Attributor] Use existing unreachable instead of introducing new ones (details)
  13. [Attributor][NFC] Remove leftover semicolon (details)
  14. [Attributor][NFC] Fix copy & paste error (details)
  15. Fix documentation build after rL369568 (details)
  16. [BinaryFormat] Teach identify_magic about Tapi files. (details)
  17. [RISCV] Fix use of side-effects in asserts in decoder functions (details)
  18. Use C++14 heteregenous lookup for a couple of std::map<std::string, ...> (details)
  19. Add char8_t support (C++20) (details)
  20. [analyzer][NFC] Add different interestingness kinds (details)
  21. When building file without debug info, include the architecture setting (details)
  22. NFCI: Simplify SourceManager::translateFile by removing code path that (details)
  23. [Attributor][NFCI] Introduce tight iteration bounds in the tests (details)
  24. Add FileWriter to GSYM and encode/decode functions to AddressRange and (details)
  25. [Attributor] Fix: Gracefully handle non-instruction users (details)
  26. [analyzer] Don't make ConditionBRVisitor events prunable when the (details)
  27. [RISCV] Remove fix introduced by r369573, superseded by r369580 (details)
  28. [LifetimeAnalysis] Support more STL idioms (template forward declaration (details)
  29. [Attributor] FIX: Try to make bots happy (details)
  30. gn build: Merge r369587 (details)
  31. gn build: Merge r369591 (details)
  32. [test] Update test so it matches the Windows output (details)
  33. [analyzer] Mention whether an event is about a condition in a bug report (details)
  34. libcxx: Rename last two .hpp files in libcxx to .h (details)
  35. [X86] Replace a couple hardcoded '5's with X86::AddrNumOperands for (details)
  36. [X86] Correct the scheduler classes for TAILJMP and TCRETURN CodeGenOnly (details)
  37. [Object] Add tapi files to object (details)
  38. [TSan] #include header instead of forward declaring interceptees (details)
  39. [Object] FIX: update PlatformKind name in TapiFile (details)
  40. gn build: Merge r369600 (details)
  41. [analyzer] TrackConstraintBRVisitor: Do not track unknown values (details)
  42. [analyzer] CastValueChecker: Store the dynamic types and casts (details)
  43. [GWP-ASan] Remove c++ standard lib dependency. (details)
  44. [analyzer] CastValueChecker: Rewrite dead header hotfix (details)
  45. gn build: Merge r369605 (details)
  46. [analyzer] CastValueChecker: Try to fix the buildbots (details)
  47. [COFF] Fix section name for constants larger than 64 bits on Windows (details)
Commit 8d5fbecf8ba7a2ef98d003e5d1f85c023b761ad2 by craig.topper
[TableGen] Include ValueTypes.td directly into the intrinsic-varargs.td
test.
This prevents needing to keep the test in sync with ValueTypes.td
This is not the only test that includes ValueTypes.td.
llvm-svn: 369564
The file was modifiedllvm/test/TableGen/intrinsic-varargs.td
Commit 3f59bfd5be39687cd3a853aaffe8ef2d84ab2ff8 by craig.topper
[MVT] Add v16f16 and v32f16 vectors.
I might look at improving PR43065 which will require being able to mark
a 256 and 512 bit vector of f16 as Legal.
Differential Revision: https://reviews.llvm.org/D66515
llvm-svn: 369565
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td
Commit dde8a25a4bd0b8e194ebb9277d656f6069c26449 by sbc
[WebAssembly] Handle aliases in WebAssemblyFixFunctionBitcasts
Fixes: https://github.com/emscripten-core/emscripten/issues/8770
Differential Revision: https://reviews.llvm.org/D66508
llvm-svn: 369566
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/function-bitcasts.ll
Commit ed18e70c86f6de353cebe0a8faa961a341c74d27 by nicolasweber
Revert r367389 (and follow-up r368404); it caused PR43073.
llvm-svn: 369567
The file was removedllvm/test/CodeGen/ARM/ParallelDSP/blocks.ll
The file was modifiedllvm/lib/Target/ARM/ARMParallelDSP.cpp
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/smlad12.ll
The file was removedllvm/test/CodeGen/ARM/ParallelDSP/overlapping.ll
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was removedllvm/test/CodeGen/ARM/ParallelDSP/exchange.ll
Commit f24c1e6b515ed7aec632b5e4c6019e7dd0972efa by Yuanfang Chen
[clang-tidy] Check for dynamically initialized statics in headers.
Finds instances where variables with static storage are initialized
dynamically in header files.
Reviewed By: aaron.ballman, alexfh
Patch by Charles Zhang!
Differential Revision: https://reviews.llvm.org/D62829
llvm-svn: 369568
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was addedclang-tools-extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.h
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was addedclang-tools-extra/test/clang-tidy/bugprone-dynamic-static-initializers.hpp
The file was addedclang-tools-extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
Commit 6a29ff175490d8832f7807c3050dfed4ae202ae7 by aaron
Revert r369549 as it broke the bots.
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/13605/
llvm-svn: 369569
The file was modifiedllvm/include/llvm/Support/Compiler.h
The file was modifiedllvm/lib/Support/regcomp.c
Commit b5e52bfd83a230c59f00a896a1002feec51dcfa2 by flo
[GVN] Do PHI translations across all edges between the load and the
unavailable pred.
Currently we do not properly translate addresses with PHIs if LoadBB !=
LI->getParent(), because PHITranslateAddr expects a direct predecessor
as argument, because it considers all instructions outside of the
current block to not requiring translation.
The amount of cases that trigger this should be very low, as most single
predecessor blocks should be folded into their predecessor by GVN before
we actually start with value numbering. It is still not guaranteed to
happen, so we should do PHI translation along all edges between the
loads' block and the predecessor where we have to place a load.
There are a few test cases showing current limits of the PHI
translation, which could be improved later.
Reviewers: spatel, reames, efriedma, john.brawn
Reviewed By: efriedma
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65020
llvm-svn: 369570
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/test/Transforms/GVN/PRE/rle.ll
Commit fe7eca239bfb966dc92561313aa11b3ad3de5709 by nicolasweber
gn build: Make sync script not exit 1 if it writes changes
llvm-svn: 369571
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit d7887cf8494e1b7c424a679748f63f4b7f972f00 by nicolasweber
gn build: Merge r369568
llvm-svn: 369572
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
Commit b73cd3362577476e8ca8225ccc0e4b09f8500521 by richard-llvm
Fix -Werror=unused-variable error after r369528.
llvm-svn: 369573
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Commit da648ab8de3638ff82d6b9349c603b854a0224d6 by dkszelethus
[analyzer] Mention whether an event is about a condition in a bug report
part 1
Can't add much more to the title! This is part 1, the case where the
collapse point isn't in the condition point is the responsibility of
ConditionBRVisitor, which I'm addressing in part 2.
Differential Revision: https://reviews.llvm.org/D65575
llvm-svn: 369574
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Commit d410805d578b6425475dd852aac9610522f816e8 by jdoerfert
[Attributor] Use existing unreachable instead of introducing new ones
So far we split the unreachable off and placed a new one, this is not
necessary.
llvm-svn: 369575
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
Commit 2db8528fb47692b39b7b8b4346adf0acd0bcbc38 by jdoerfert
[Attributor][NFC] Remove leftover semicolon
llvm-svn: 369576
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 5427aa843bbe3c887e47a558442759fde0470185 by jdoerfert
[Attributor][NFC] Fix copy & paste error
llvm-svn: 369577
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 08ff5df49c61a4d6bd297ac34c5b7815bcc83624 by Yuanfang Chen
Fix documentation build after rL369568
llvm-svn: 369578
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst
Commit 359840a6e4ae062f984c2ce91ab37c084755c158 by cyndy_ishida
[BinaryFormat] Teach identify_magic about Tapi files.
Summary: Tapi files are YAML files that start with the !tapi tag. The
only execption are TBD v1 files, which don't have a tag. In that case we
have to scan a little further and check if the first key "archs" exists.
This is the first patch in a series of patches to add libObject support
for text-based dynamic library (.tbd) files.
This patch is practically exactly the same as D37820, that was never
pushed to master, and is needed for future commits related to reading
tbd files for llvm-nm
Reviewers: ributzka, steven_wu, bollu, espindola, jfb, shafik, jdoerfert
Reviewed By: steven_wu
Subscribers: dexonsmith, llvm-commits
Tags: #llvm, #clang, #sanitizers, #lldb, #libc, #openmp
Differential Revision: https://reviews.llvm.org/D66149
llvm-svn: 369579
The file was modifiedllvm/lib/Object/Binary.cpp
The file was modifiedllvm/lib/BinaryFormat/Magic.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Magic.h
The file was modifiedllvm/unittests/BinaryFormat/TestFileMagic.cpp
The file was modifiedllvm/lib/Object/ObjectFile.cpp
The file was modifiedllvm/lib/Object/SymbolicFile.cpp
Commit 4f488b594ae11a39260f1b347be4a79c72bd3f35 by luismarques
[RISCV] Fix use of side-effects in asserts in decoder functions
llvm-svn: 369580
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Commit 81faa5e6a26cc1b92301438a8e8ec8ce6bf5e574 by benny.kra
Use C++14 heteregenous lookup for a couple of std::map<std::string, ...>
These call find with a StringRef, heterogenous lookup saves a temporary
std::string there.
llvm-svn: 369581
The file was modifiedllvm/include/llvm/TableGen/Record.h
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedllvm/include/llvm/IR/Attributes.h
Commit c46d39b9e80e89d5b2200b884d79279a82793791 by Jonas Devlieghere
Add char8_t support (C++20)
This patch adds support for the char8_t type introduced in C++20
char8_t. The original patch was submitted by James Blachly  on the LLDB
mailing list [1]. I modified the patch a bit and added a test.
[1] http://lists.llvm.org/pipermail/lldb-dev/2019-August/015393.html
Differential revision: https://reviews.llvm.org/D66447
llvm-svn: 369582
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/main.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.h
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/Makefile
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/TestCxxChar8_t.py
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/include/lldb/lldb-enumerations.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit fff01c8ec2b030d723f724254ce4780bba475cbb by dkszelethus
[analyzer][NFC] Add different interestingness kinds
We defined (on the mailing list and here on phabricator) 2 different
cases where retrieving information about a control dependency condition
is very important:
* When the condition's last write happened in a different stack frame
* When the collapse point of the condition (when we can constrain it to
be true/false) didn't happen in the actual condition.
It seems like we solved this problem with the help of expression value
tracking, and have started working on better diagnostics notes about
this process.
Expression value tracking is nothing more than registering a variety of
visitors to construct reports about it. Each of the registered visitors
(ReturnVisitor, FindLastStoreVisitor, NoStoreFuncVisitor, etc) have
something to go by: a MemRegion, an SVal, an ExplodedNode, etc. For this
reason, better explaining a last write is super simple, we can always
just pass on some more information to the visitor in question (as seen
in D65575).
ConditionBRVisitor is a different beast, as it was built for a different
purpose. It is responsible for constructing events at, well, conditions,
and is registered only once, and isn't a part of the "expression value
tracking family". Unfortunately, it is also the visitor to tinker with
for constructing better diagnostics about the collapse point problem.
This creates a need for alternative way to communicate with
ConditionBRVisitor that a specific condition is being tracked for for
the reason of being a control dependency. Since at almost all
PathDiagnosticEventPiece construction the visitor checks
interestingness, it makes sense to pair interestingness with a reason as
to why we marked an entity as such.
Differential Revision: https://reviews.llvm.org/D65723
llvm-svn: 369583
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
Commit f79f594bd25995517ab9f84b662caca5b65f2413 by Jason Molenda
When building file without debug info, include the architecture setting
in the cflags on Darwin systems.
llvm-svn: 369584
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objcxx/class-name-clash/Makefile
Commit 06abd696954153b7de9ffaa0c04800f5f35ed49e by Alex Lorenz
NFCI: Simplify SourceManager::translateFile by removing code path that
should never be taken
I noticed that SourceManager::translateFile has code that doesn't really
make sense. In particular, if it fails to find a FileID by comparing
FileEntry * values, it tries to look through files that have the same
filename, to see if they have a matching inode to try to find the right
FileID. However, the inode comparison seem redundant, as Clang's
FileManager already deduplicates FileEntry * values by inode. Thus the
comparisons between inodes should never actually succeed, and the
comparison between FileEntry * values should be sufficient here.
Differential Revision: https://reviews.llvm.org/D65481
llvm-svn: 369585
The file was modifiedclang/lib/Basic/SourceManager.cpp
Commit a41b239081c19c4f36d9a616d9f502a5c87c5deb by jdoerfert
[Attributor][NFCI] Introduce tight iteration bounds in the tests
Summary: To be able to track how many iterations we need to manifest all
information we check for we now make the maximum iteration count
explicit. The count is set tightly now and should be kept that way.
Reviewers: uenoku, sstefan1
Subscribers: bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66554
llvm-svn: 369586
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_async.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nounwind.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/fn_noreturn.ll
Commit bf9ee07afa3f1a15277018f60787a1a205ec08d8 by clayborg
Add FileWriter to GSYM and encode/decode functions to AddressRange and
AddressRanges
The full GSYM patch started with: https://reviews.llvm.org/D53379
This patch add the ability to encode data using the new
llvm::gsym::FileWriter class.
FileWriter is a simplified binary data writer class that doesn't require
targets, target definitions, architectures, or require any other
optional compile time libraries to be enabled via the build process.
This class needs the ability to seek to different spots in the binary
data that it produces to fix up offsets and sizes in GSYM data. It
currently uses std::ostream over llvm::raw_ostream because
llvm::raw_ostream doesn't support seeking which is required when
encoding and decoding GSYM data.
AddressRange objects are encoded and decoded to be relative to a base
address. This will be the FunctionInfo's start address if the
AddressRange is directly contained in a FunctionInfo, or a base address
of the containing parent AddressRange or AddressRanges. This allows
address ranges to be efficiently encoded using ULEB128 encodings as we
encode the offset and size of each range instead of full addresses. This
also makes encoded addresses easy to relocate as we just need to
relocate one base address.
Differential Revision: https://reviews.llvm.org/D63828
llvm-svn: 369587
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/Range.h
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/StringTable.h
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/LineEntry.h
The file was modifiedllvm/lib/DebugInfo/GSYM/Range.cpp
The file was modifiedllvm/lib/DebugInfo/GSYM/CMakeLists.txt
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FileEntry.h
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
The file was addedllvm/lib/DebugInfo/GSYM/FileWriter.cpp
The file was addedllvm/include/llvm/DebugInfo/GSYM/FileWriter.h
Commit d98f975089e3dd8a2a0dc298d3f76b0463610d2c by jdoerfert
[Attributor] Fix: Gracefully handle non-instruction users
Function can have users that are not instructions, e.g., bitcasts. For
now, we simply give up when we see them.
llvm-svn: 369588
The file was addedllvm/test/Transforms/FunctionAttrs/misc.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 49ac7ece163f6e5985ba07dbd4ddabcc5e3449e5 by dkszelethus
[analyzer] Don't make ConditionBRVisitor events prunable when the
condition is an interesting field
Exactly what it says on the tin! Note that we're talking about
interestingness in general, hence this isn't a
control-dependency-tracking specific patch.
Differential Revision: https://reviews.llvm.org/D65724
llvm-svn: 369589
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
Commit f7cdff4ffdc34226d85727e00bf66b3a6001e915 by luismarques
[RISCV] Remove fix introduced by r369573, superseded by r369580
llvm-svn: 369590
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Commit b1c78012900ba43cf0a636b8392ee84d7122122a by M.Gehre
[LifetimeAnalysis] Support more STL idioms (template forward declaration
and DependentNameType)
Summary: This fixes inference of gsl::Pointer on std::set::iterator with
libstdc++ (the typedef for iterator on the template is a
DependentNameType - we can only put the gsl::Pointer attribute on the
underlaying record after instantiation)
inference of gsl::Pointer on std::vector::iterator with libc++ (the
class was forward-declared, we added the gsl::Pointer on the canonical
decl (the forward decl), and later when the template was instantiated,
there was no attribute on the definition so it was not instantiated).
and a duplicate gsl::Pointer on some class with libstdc++ (we first
added an attribute to a incomplete instantiation, and then another was
copied from the template definition when the instantiation was
completed).
We now add the attributes to all redeclarations to fix thos issues and
make their usage easier.
Reviewers: gribozavr
Subscribers: Szelethus, xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66179
llvm-svn: 369591
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer-std.cpp
The file was modifiedclang/unittests/Sema/CMakeLists.txt
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer.cpp
The file was addedclang/unittests/Sema/GslOwnerPointerInference.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
Commit 92dee44d77163906226e2ac4c510c0ddcfb2bbf1 by jdoerfert
[Attributor] FIX: Try to make bots happy
Locally the tight iterations bounds work fine but the bots seem unhappy.
Try to get green bots and some time to determine the underlying problem.
llvm-svn: 369592
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
Commit e1f27e4ad1e5044e8f453db8fdab4a51ccdb50f2 by nicolasweber
gn build: Merge r369587
llvm-svn: 369593
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
Commit 40902b48ddc9415d0e2eef3141451a4f0a92d8d5 by nicolasweber
gn build: Merge r369591
llvm-svn: 369594
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Sema/BUILD.gn
Commit 71dc97b5bfb771b480695659bcd5ba26f5cea083 by Jonas Devlieghere
[test] Update test so it matches the Windows output
llvm-svn: 369595
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/TestCxxChar8_t.py
Commit d9a81ccf05925e25df17cf64f7636ae78cd99d3d by dkszelethus
[analyzer] Mention whether an event is about a condition in a bug report
part 2
In D65724, I do a pretty thorough explanation about how I'm solving this
problem, I think that summary nails whats happening here ;)
Differential Revision: https://reviews.llvm.org/D65725
llvm-svn: 369596
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
Commit 0f3efc4aab9748ea4791ed47530a9ea7174b97e3 by nicolasweber
libcxx: Rename last two .hpp files in libcxx to .h
Differential Revision: https://reviews.llvm.org/D66544
llvm-svn: 369597
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp
The file was removedlibcxx/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp
The file was addedlibcxx/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.h
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp
The file was removedlibcxx/test/std/input.output/filesystems/fs.enum/check_bitmask_types.hpp
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/greater.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/less.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp
The file was addedlibcxx/test/std/input.output/filesystems/fs.enum/check_bitmask_types.h
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp
Commit 303bbc3be28747c8b6e25fb697c1ba6c47b962aa by craig.topper
[X86] Replace a couple hardcoded '5's with X86::AddrNumOperands for
readability. NFC
llvm-svn: 369598
The file was modifiedllvm/lib/Target/X86/X86ExpandPseudo.cpp
Commit 78e6507b0af7d14dd2cdd6347608055cd452796b by craig.topper
[X86] Correct the scheduler classes for TAILJMP and TCRETURN CodeGenOnly
instructions.
We had an odd combination of WriteJump applied to some memory
instructions and WriteJumpLd applied to register and immediate
instructions.
Thsi should hopefully assign them all correctly.
llvm-svn: 369599
The file was modifiedllvm/lib/Target/X86/X86InstrControl.td
Commit c20d1f90b53ae53aee3cac86a84e79d596b5711e by cyndy_ishida
[Object] Add tapi files to object
Summary: The intention for this is to allow reading and printing symbols
out from llvm-nm. Tapi file, and Tapi universal follow a similiar format
to their respective MachO Object format.
The tests are dependent on llvm-nm processing tbd files which is why its
in D66160
Reviewers: ributzka, steven_wu, lhames
Reviewed By: ributzka, lhames
Subscribers: mgorny, hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66159
llvm-svn: 369600
The file was modifiedllvm/lib/Object/LLVMBuild.txt
The file was addedllvm/lib/Object/TapiUniversal.cpp
The file was addedllvm/lib/Object/TapiFile.cpp
The file was addedllvm/include/llvm/Object/TapiFile.h
The file was modifiedllvm/include/llvm/Object/Binary.h
The file was modifiedllvm/lib/Object/Binary.cpp
The file was modifiedllvm/lib/Object/CMakeLists.txt
The file was addedllvm/include/llvm/Object/TapiUniversal.h
Commit 894abb46f891cba2e0ef581650f27f512a7824b4 by jlettner
[TSan] #include header instead of forward declaring interceptees
llvm-svn: 369601
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp
Commit 9443d0e2c09b5d6914b5aa843b1ba8a9df594215 by cyndy_ishida
[Object] FIX: update PlatformKind name in TapiFile
Buildbots that use GCC failed to compile because overwritten namespace
with variable name
llvm-svn: 369602
The file was modifiedllvm/lib/Object/TapiFile.cpp
Commit edb08da450391e9683ec4fd71c490c9bd12e17a3 by nicolasweber
gn build: Merge r369600
llvm-svn: 369603
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Object/BUILD.gn
Commit b73a5711f63466d829f815ed0f1b14f03cef0b05 by dabis.csaba98
[analyzer] TrackConstraintBRVisitor: Do not track unknown values
Summary: -
Reviewers: NoQ, Szelethus
Reviewed By: NoQ, Szelethus
Differential Revision: https://reviews.llvm.org/D66267
llvm-svn: 369604
The file was modifiedclang/test/Analysis/cast-value.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Commit 0202c3596c52d453d1e9e5a43d7533b83444df4e by dabis.csaba98
[analyzer] CastValueChecker: Store the dynamic types and casts
Summary: This patch introduces `DynamicCastInfo` similar to
`DynamicTypeInfo` which is stored in `CastSets` which are storing the
dynamic cast informations of objects based on memory regions. It could
be used to store and check the casts and prevent infeasible paths.
Reviewed By: NoQ
Differential Revision: https://reviews.llvm.org/D66325
llvm-svn: 369605
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
The file was addedclang/test/Analysis/cast-value-state-dump.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was addedclang/test/Analysis/cast-value-notes.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ProgramState.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
The file was modifiedclang/test/Analysis/expr-inspection.c
The file was modifiedclang/test/Analysis/dump_egraph.cpp
The file was removedclang/lib/StaticAnalyzer/Core/DynamicTypeMap.cpp
The file was addedclang/test/Analysis/Inputs/llvm.h
The file was removedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
The file was addedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h
The file was addedclang/lib/StaticAnalyzer/Core/DynamicType.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was addedclang/test/Analysis/cast-value-logic.cpp
The file was removedclang/test/Analysis/cast-value.cpp
The file was addedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h
Commit 3dd22585199195d4656154205ab631b8dd406143 by phosek
[GWP-ASan] Remove c++ standard lib dependency.
Remove c++ standard library dependency for now for @phosek. They have a
complicated build system that breaks with the fuzzer target here.
Also added a todo to remedy later.
Differential Revision: https://reviews.llvm.org/D66568
llvm-svn: 369606
The file was modifiedcompiler-rt/lib/gwp_asan/stack_trace_compressor_fuzzer.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/CMakeLists.txt
Commit e4bf456fcef23b7c9ec9968cdf1df36b591755ec by dabis.csaba98
[analyzer] CastValueChecker: Rewrite dead header hotfix
llvm-svn: 369607
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CallEvent.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
Commit 6e8b79e3080bde71948e0259fed16247d87c071e by nicolasweber
gn build: Merge r369605
llvm-svn: 369608
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit 22dc44ff896a34a94c7ed6d3bf7b577b98e34fbd by dabis.csaba98
[analyzer] CastValueChecker: Try to fix the buildbots
llvm-svn: 369609
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
Commit 246750c2a91951fc4b77ebe43d568f47843e6399 by maskray
[COFF] Fix section name for constants larger than 64 bits on Windows
APIntToHexString returns wrong value
("0000000000000000ffffffffffffffff") for integer larger than 64 bits,
and thus TargetLoweringObjectFileCOFF::getSectionForConstant returns
same section name for all numbers larger than 64 bits. This patch tries
to fix it.
Differential Revision: https://reviews.llvm.org/D66458 Patch by Senran
Zhang
llvm-svn: 369610
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was addedllvm/test/CodeGen/X86/coff-fp-section-name.ll