Commit
dc748816e2aec8941d63f8ad07fb82aff6be8af7
by dan[Builtins] Downgrade duplicate source file warning from a fatal error to a warning. This is a follow up to r375150 to unbreak the `clang-ppc64be-linux` bot. The commit caused running the tests to fail due to ``` llvm-lit: /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/projects/compiler-rt/test/builtins/Unit/lit.cfg.py:116: fatal: builtins_source_features contains duplicates: ['librt_has_divtc3'] ``` This commit should be reverted once the build system bug for powerpc is fixed. llvm-svn: 375162
|
 | compiler-rt/test/builtins/Unit/lit.cfg.py |
Commit
54017d0f526391a88e5e250a4bbc7a8ea77fa902
by martinRevert "[LLDB] [test] Use %clang_cl instead of build.py in a few tests" This reverts SVN r375156, as it seems to have broken tests when run on macOS: http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2706/console llvm-svn: 375163
|
 | lldb/test/Shell/SymbolFile/NativePDB/function-types-calling-conv.cpp |
 | lldb/test/Shell/SymbolFile/NativePDB/disassembly.cpp |
Commit
2ca8e27bd038673b514c8452d661a413ce0d2123
by jlettnerReland "[lit] Synthesize artificial deadline" We always want to use a deadline when calling `result.await`. Let's synthesize an artificial deadline (now plus one year) to simplify code and do less busy waiting. Thanks to Reid Kleckner for diagnosing that a deadline for of "positive infinity" does not work with Python 3 anymore. See commit: 4ff1e34b606d9a9fcfd8b8b5449a558315af94e5 I tested this patch with Python 2 and Python 3. llvm-svn: 375165
|
 | llvm/utils/lit/lit/run.py |
Commit
d5282dfc410c6af5518b046c3ec02339aaf19950
by eugeni.stepanovlibhwasan initialisation include kernel syscall ABI relaxation Summary: Until now AArch64 development has been on patched kernels that have an always on relaxed syscall ABI where tagged pointers are accepted. The patches that have gone into the mainline kernel rely on each process opting in to this relaxed ABI. This commit adds code to choose that ABI into __hwasan_init. The idea has already been agreed with one of the hwasan developers (http://lists.llvm.org/pipermail/llvm-dev/2019-September/135328.html). The patch ignores failures of `EINVAL` for Android, since there are older versions of the Android kernel that don't require this `prctl` or even have the relevant values. Avoiding EINVAL will let the library run on them. I've tested this on an AArch64 VM running a kernel that requires this prctl, having compiled both with clang and gcc. Patch by Matthew Malcomson. Reviewers: eugenis, kcc, pcc Reviewed By: eugenis Subscribers: srhines, kristof.beyls, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D68794 llvm-svn: 375166
|
 | compiler-rt/lib/hwasan/hwasan.cpp |
 | compiler-rt/lib/hwasan/hwasan.h |
 | compiler-rt/lib/hwasan/hwasan_linux.cpp |
Commit
9c5d76ff4d15e2cabf976911bd150302ae5fdeea
by a.bataev[OPENMP]Dow not emit warnings for uninitialized loop counters. In OpenMP constructs all counters are initialized and we should not emit warnings about uninitialized privatized loop control variables. llvm-svn: 375167
|
 | clang/lib/Analysis/CFG.cpp |
 | clang/test/Analysis/cfg-openmp.cpp |
 | clang/test/OpenMP/teams_distribute_parallel_for_simd_linear_messages.cpp |
 | clang/test/OpenMP/teams_distribute_simd_linear_messages.cpp |
Commit
edeebad7715774b8481103733dc5d52dac43bdf3
by rupprecht[llvm-objcopy] Add support for shell wildcards Summary: GNU objcopy accepts the --wildcard flag to allow wildcard matching on symbol-related flags. (Note: it's implicitly true for section flags). The basic syntax is to allow *, ?, \, and [] which work similarly to how they work in a shell. Additionally, starting a wildcard with ! causes that wildcard to prevent it from matching a flag. Use an updated GlobPattern in libSupport to handle these patterns. It does not fully match the `fnmatch` used by GNU objcopy since named character classes (e.g. `[[:digit:]]`) are not supported, but this should support most existing use cases (mostly just `*` is what's used anyway). Reviewers: jhenderson, MaskRay, evgeny777, espindola, alexshap Reviewed By: MaskRay Subscribers: nickdesaulniers, emaste, arichardson, hiraditya, jakehehrlich, abrachet, seiya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66613 llvm-svn: 375169
|
 | llvm/docs/CommandGuide/llvm-objcopy.rst |
 | llvm/tools/llvm-objcopy/CopyConfig.h |
 | llvm/tools/llvm-objcopy/llvm-objcopy.cpp |
 | llvm/test/tools/llvm-objcopy/ELF/wildcard-syntax.test |
 | llvm/tools/llvm-objcopy/CommonOpts.td |
 | llvm/tools/llvm-objcopy/CopyConfig.cpp |
 | llvm/test/tools/llvm-objcopy/ELF/wildcard-flags.test |
 | llvm/docs/CommandGuide/llvm-strip.rst |
Commit
3ebbda0f0845475e3aca118d0a93991288f55a3c
by Adrian PrantlAdapt Windows test to API change. llvm-svn: 375170
|
 | lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp |
Commit
9a335b6eda4fa619c37ec23f2c8bce20c9207eb2
by jlettner[lit] Move computation of deadline up into base class llvm-svn: 375171
|
 | llvm/utils/lit/lit/run.py |
Commit
a0f6c6434cc4fa98c83e57c9fb6608fb3248dc48
by Jonas Devlieghere[test] Add a .clang-format file for the shell test. The API tests have a .clang-format file that disables formatting altogether. While this is needed for some tests, it also leads to inconsistency between test files. The shell tests suffer from a similar problem: a test with a source-file extension (.c, .cpp) will get formatted, potentially breaking up lines and leading to invalid RUN commands. Rather than completely disabling formatting here, I propose to not enforce a line limit instead. That way tests will be consistent, but you can still have long run commands (as is not uncommon in LLVM either) and use breakpoints with patters that extend beyond 80 cols. Differential revision: https://reviews.llvm.org/D69058 llvm-svn: 375172
|
 | lldb/test/Shell/.clang-format |
Commit
69b3363a5340439d3ff793988c4d628644dedd71
by Raphael Isemann[lldb] X-fail tests that use constructors in expressions on Windows These tests were testing a bug related to constructors. It seems that on Windows the expression command can't construct objects (or at least, call their constructor explicitly which is required for the tests), so this is just x-failing them until Windows actually supports constructor calls. llvm-svn: 375173
|
 | lldb/packages/Python/lldbsuite/test/commands/expression/ignore-artificial-constructors/TestIgnoreArtificialConstructors.py |
 | lldb/packages/Python/lldbsuite/test/commands/expression/call-overridden-method/TestCallOverriddenMethod.py |
Commit
bbbc873f83e4c723541cdbb13634c8de833bc507
by saugustine(NFC) Delete variable made unused by llvm-svn: 375160 Reviewers: aprantl Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D69143 llvm-svn: 375174
|
 | lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp |
Commit
befab66a2c8f0b73736e68b6400675fa9593ee23
by Stanislav.Mekhanoshin[AMDGPU] drop getIsFP td helper We already have isFloatType helper, and they are out of sync. Drop one and merge the type list. Differential Revision: https://reviews.llvm.org/D69138 llvm-svn: 375175
|
 | llvm/lib/Target/AMDGPU/BUFInstructions.td |
 | llvm/lib/Target/AMDGPU/SIInstrInfo.td |
 | llvm/lib/Target/AMDGPU/FLATInstructions.td |
Commit
ecb310b3a7cf60d2bc28aaf8caf8fd29b9f11ec9
by hintonda[Error] Make llvm::cantFail include the original error messages Summary: The current implementation eats the current errors and just outputs the message parameter passed to llvm::cantFail. This change appends the original error message(s), so the user can see exactly why cantFail failed. New logic is conditional on NDEBUG. Reviewed By: lhames Tags: #llvm Differential Revision: https://reviews.llvm.org/D69057 llvm-svn: 375176
|
 | llvm/include/llvm/Support/Error.h |
 | llvm/unittests/Support/ErrorTest.cpp |
Commit
6caada4eb4654783a45f6ae7bb1cd0eebcf4b0bb
by serguei.n.dmitriev[clang-offload-wrapper][NFC] Use captured name of the entry type in LIT test Differential Revision: https://reviews.llvm.org/D69140 llvm-svn: 375177
|
 | clang/test/Driver/clang-offload-wrapper.c |
Commit
98a2ae7dadf897305e1cc2d9a5d63edf925c07f7
by rupprechtReland [llvm-objdump] Use a counter for llvm-objdump -h instead of the section index. This relands r374931 (reverted in r375088). It fixes 32-bit builds by using the right format string specifier for uint64_t (PRIu64) instead of `%d`. Original description: When listing the index in `llvm-objdump -h`, use a zero-based counter instead of the actual section index (e.g. shdr->sh_index for ELF). While this is effectively a noop for now (except one unit test for XCOFF), the index values will change in a future patch that filters certain sections out (e.g. symbol tables). See D68669 for more context. Note: the test case in `test/tools/llvm-objdump/X86/section-index.s` already covers the case of incrementing the section index counter when sections are skipped. Reviewers: grimar, jhenderson, espindola Reviewed By: grimar Subscribers: emaste, sbc100, arichardson, aheejin, arphaman, seiya, llvm-commits, MaskRay Tags: #llvm Differential Revision: https://reviews.llvm.org/D68848 llvm-svn: 375178
|
 | llvm/test/tools/llvm-objdump/xcoff-section-headers.test |
 | llvm/tools/llvm-objdump/llvm-objdump.cpp |
 | llvm/tools/llvm-objdump/llvm-objdump.h |
Commit
5b0e039a7a7dc027ddadb1f3d350f2b53e30a479
by efriedma[ARM] Fix arm_neon.h with -flax-vector-conversions=none, part 3 It's completely impossible to check that I've actually found all the issues, due to the use of macros in arm_neon.h, but hopefully this time it'll take more than a few hours for someone to find another issue. I have no idea why, but apparently there's a rule that some, but not all, builtins which should take an fp16 vector actually take an int8 vector as an argument. Fix this, and add test coverage. Differential Revision: https://reviews.llvm.org/D68838 llvm-svn: 375179
|
 | clang/utils/TableGen/NeonEmitter.cpp |
 | clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c |
Commit
3d737b642a3a0688de9ed6dd3fe599bc2ed79847
by dblaikieDebugInfo: Remove unused parameter (from DwarfDebug.cpp:emitListsTableHeaderStart) llvm-svn: 375180
|
 | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp |
Commit
c86a6acaee55c98072ff06d372d049cb4a671fb5
by lawrence_dannaclean up the implementation of PythonCallable::GetNumArguments Summary: The current implementation of PythonCallable::GetNumArguments is not exception safe, has weird semantics, and is just plain incorrect for some kinds of functions. Python 3.3 introduces inspect.signature, which lets us easily query for function signatures in a sane and documented way. This patch leaves the old implementation in place for < 3.3, but uses inspect.signature for modern pythons. It also leaves the old weird semantics in place, but with FIXMEs grousing about it. We should update the callers and fix the semantics in a subsequent patch. It also adds some tests. Reviewers: JDevlieghere, clayborg, labath, jingham Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D68995 llvm-svn: 375181
|
 | lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp |
 | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h |
 | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp |
Commit
03819d1c80ad5d7b34f8fe0d375fcd2ef6aa5e7f
by lawrence_dannaeliminate one form of PythonObject::Reset() Summary: I'd like to eliminate all forms of Reset() and all public constructors on these objects, so the only way to make them is with Take<> and Retain<> and the only way to copy or move them is with actual c++ copy, move, or assignment. This is a simple place to start. Reviewers: JDevlieghere, clayborg, labath, jingham Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D69080 llvm-svn: 375182
|
 | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp |
 | lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp |
 | lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h |
Commit
2941cda5be11332b3bd5c26be220ed18cd216c30
by dblaikieDebugInfo: Move loclist base address from DwarfFile to DebugLocStream There's no need to have more than one of these (there can be two DwarfFiles - one for the .o, one for the .dwo - but only one loc/loclist section (either in the .o or the .dwo) & certainly one per DebugLocStream, which is currently singular in DwarfDebug) llvm-svn: 375183
|
 | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp |
 | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp |
 | llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h |
 | llvm/lib/CodeGen/AsmPrinter/DwarfFile.h |
 | llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h |
Commit
73b67f0b1a3ca835a4c0481abee87a96a2107b7d
by Artem Dergachev[analyzer] exploded-graph-rewriter: Make node headers a bit lighter. The 50% grey color is too dark on some monitors. llvm-svn: 375184
|
 | clang/utils/analyzer/exploded-graph-rewriter.py |
 | clang/test/Analysis/exploded-graph-rewriter/node_labels.dot |
Commit
d325196f19bfecff59252f3d214278fb6ee4ad61
by Artem Dergachev[analyzer] Display cast kinds in program point dumps. Because cast expressions have their own hierarchy, it's extremely useful to have some information about what kind of casts are we dealing with. llvm-svn: 375185
|
 | clang/test/Analysis/exploded-graph-rewriter/program_points.dot |
 | clang/utils/analyzer/exploded-graph-rewriter.py |
 | clang/lib/Analysis/ProgramPoint.cpp |
Commit
14e9eb3d7caed026a805033a9ce7b9e70d18bf04
by Artem Dergachev[analyzer] Assign truly stable identifiers to exploded nodes. ExplodedGraph nodes will now have a numeric identifier stored in them which will keep track of the order in which the nodes were created and it will be fully deterministic both accross runs and across machines. This is extremely useful for debugging as it allows reliably setting conditional breakpoints by node IDs. llvm-svn: 375186
|
 | clang/test/Analysis/exploded-graph-rewriter/node_labels.dot |
 | clang/lib/StaticAnalyzer/Core/BugReporter.cpp |
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h |
 | clang/test/Analysis/exploded-graph-rewriter/store.dot |
 | clang/test/Analysis/exploded-graph-rewriter/topology.dot |
 | clang/test/Analysis/exploded-graph-rewriter/program_points.dot |
 | clang/test/Analysis/exploded-graph-rewriter/environment.dot |
 | clang/test/Analysis/exploded-graph-rewriter/store_diff.dot |
 | clang/test/Analysis/exploded-graph-rewriter/trimmers.dot |
 | clang/test/Analysis/exploded-graph-rewriter/checker_messages.dot |
 | clang/test/Analysis/exploded-graph-rewriter/constraints_diff.dot |
 | clang/test/Analysis/exploded-graph-rewriter/environment_diff.dot |
 | clang/utils/analyzer/exploded-graph-rewriter.py |
 | clang/test/Analysis/dump_egraph.c |
 | clang/test/Analysis/exploded-graph-rewriter/checker_messages_diff.dot |
 | clang/test/Analysis/exploded-graph-rewriter/edge.dot |
 | clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp |
 | clang/lib/StaticAnalyzer/Core/ExprEngine.cpp |
 | clang/test/Analysis/exploded-graph-rewriter/constraints.dot |
Commit
b31c6241566ed106999fa6ca38f020e0c81b84cd
by Raphael Isemann[lldb][NFC] Fix typo in DWARFASTParserClang.cpp llvm-svn: 375187
|
 | lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp |
Commit
8b3ef1e45b06bfdc01cbc5e79df5c52ede5c88db
by Artem Dergachev[analyzer] exploded-graph-rewriter: Fix typo in r375186. Unbreaks tests. llvm-svn: 375189
|
 | clang/test/Analysis/dump_egraph.c |