SuccessChanges

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

Summary

  1. [sanitizers] Increase default "git clone --depth" to 100 (details)
  2. Added zorg to the list of SVN projects. (details)
  3. Added the step name param to (details)
  4. Handle is_legacy_mode in LLDPerformanceTestsuite. (details)
Commit 7cfb079f8421ec544e40aadc797dde6831cdf173 by Vitaly Buka
[sanitizers] Increase default "git clone --depth" to 100
llvm-svn: 375291
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_functions.sh
Commit 1fd74eb838a9b3aa954abf56f30aa4a091b1a027 by gkistanova
Added zorg to the list of SVN projects.
llvm-svn: 375330
The file was modifiedzorg/buildbot/process/factory.py
Commit 41ad87d6dcf806d5cab39f498bb0f337d4df9d51 by gkistanova
Added the step name param to
LLVMBuildFactory.addGetSourcecodeForProject.
llvm-svn: 375331
The file was modifiedzorg/buildbot/process/factory.py
Commit 3f72b1e5fe9ea9299d2c37e3f1a197b55e26a359 by gkistanova
Handle is_legacy_mode in LLDPerformanceTestsuite.
llvm-svn: 375336
The file was modifiedzorg/buildbot/builders/LLDPerformanceTestsuite.py

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

Summary

  1. [CVP] After proving that @llvm.with.overflow()/@llvm.sat() don't (details)
  2. [libunwind][Android] Fix findUnwindSections for ARM EHABI Bionic (details)
  3. scudo: Update TLS_SLOT_SANITIZER value. (details)
  4. [GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual (details)
  5. [analyzer] Fix hidden node traversal in exploded graph dumps. (details)
  6. [analyzer] exploded-graph-rewriter: Fix dump for state 0. (details)
  7. [analyzer] Drop the logic for collapsing the state if it's same as in (details)
  8. [analyzer] Fix FieldRegion dumps. (details)
  9. [analyzer] exploded-graph-rewriter: Rename Environment to Expressions. (details)
  10. [WebAssembly] Allow multivalue signatures in object files (details)
  11. Update global_symbols.txt. (details)
  12. [NFC][CVP] Some tests for `mul` no-wrap deduction (details)
  13. [analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the (details)
  14. [X86] Fix register parsing in .seh_* in Intel syntax (details)
  15. Disable exit-on-SIGPIPE in lldb (details)
  16. gn build: Merge r375288 (details)
  17. [CVP] setDeducedOverflowingFlags(): actually inc per-opcode stats (details)
  18. [Reproducer] Improve reproducer help (NFC) (details)
  19. [AMDGPU] Remove -amdgpu-spill-sgpr-to-smem. (details)
  20. [Reproducer] XFAIL TestWorkingDir on Windows (details)
  21. [SampleFDO] Add profile remapping support for profile on-demand loading (details)
  22. [hwasan] Remove system allocator fallback. (details)
  23. [AMDGPU] move PHI nodes to AGPR class (details)
  24. hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on (details)
  25. gn build: Build compiler-rt code with -fvisibility=hidden. (details)
  26. LiveIntervals: Fix handleMoveUp with subreg def moving across a def (details)
  27. [profile] Do not cache __llvm_profile_get_filename result (details)
  28. DebugInfo: Render the canonical name of a class template specialization, (details)
  29. [c++20] Add CXXRewrittenBinaryOperator to represent a comparison (details)
  30. [c++20] Add rewriting from comparison operators to <=> / ==. (details)
  31. P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of (details)
  32. [analyzer] Specify the C++ standard in more tests. (details)
  33. [hip][cuda] Fix the extended lambda name mangling issue. (details)
  34. [clang][driver] Print compilation phases with indentation. (details)
  35. Prune two MachineInstr.h includes, fix up deps (details)
  36. Skip (more) PExpect tests under ASAN, I can't get them to work reliably. (details)
  37. Sema: Create a no-op implicit cast for lvalue function conversions. (details)
  38. [profile] Disable instrprof-get-filename-merge-mode.c on Windows (details)
  39. Move endian constant from Host.h to SwapByteOrder.h, prune include (details)
  40. [profile] Use -fPIC -shared in a test instead of -dynamiclib (details)
  41. New tautological warning for bitwise-or with non-zero constant always (details)
  42. Prune Analysis includes from SelectionDAG.h (details)
  43. Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each (details)
  44. AMDGPU: Remove optnone from a test (details)
  45. [Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which (details)
  46. Avoid including CodeView/SymbolRecord.h from MCStreamer.h (details)
  47. Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with (details)
  48. [Docs] Fix header level. (details)
  49. [analyzer] Fix a crash on tracking Objective-C 'self' as a control (details)
  50. [analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor. (details)
  51. [LLDB] bugfix: command script add -f doesn't work for some callables (details)
  52. convert LLDBSwigPythonCallTypeScript to ArgInfo::max_positional_args (details)
Commit 284b6d7f4da2260d996834fd1fabec461310bc96 by lebedev.ri
[CVP] After proving that @llvm.with.overflow()/@llvm.sat() don't
overflow, also try to prove other no-wrap
Summary: CVP, unlike InstCombine, does not run till exaustion. It only
does a single pass.
When dealing with those special binops, if we prove that they can safely
be demoted into their usual binop form, we do set the no-wrap we
deduced. But when dealing with usual binops, we try to deduce both
no-wraps.
So if we convert e.g. @llvm.uadd.with.overflow() to `add nuw`, we won't
attempt to check whether it can be `add nuw nsw`.
This patch proposes to call `processBinOp()` on newly-created binop,
which is identical to what we do for div/rem already.
Reviewers: nikic, spatel, reames
Reviewed By: nikic
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69183
llvm-svn: 375273
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/overflows.ll
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 788acc6ff8ee3b2fc16a3f68179b0b445f6f4381 by rprichard
[libunwind][Android] Fix findUnwindSections for ARM EHABI Bionic
Summary: Fix the arm_section_length count. The meaning of the
arm_section_length field changed from num-of-elements to num-of-bytes
when the dl_unwind_find_exidx special case was removed (D30306 and
D30681). The special case was restored in D39468, but that patch didn't
account for the change in arm_section_length's meaning.
That patch worked when it was applied to the NDK's fork of libunwind,
because it never removed the special case in the first place, and the
special case is probably disabled in the Android platform's copy of
libunwind, because __ANDROID_API__ is greater than 21.
Turn the dl_unwind_find_exidx special case on unconditionally for
Bionic. Bionic's dl_unwind_find_exidx is much faster than using
dl_iterate_phdr.
(e.g. Bionic stores exidx info on an internal soinfo object.)
Reviewers: thomasanderson, srhines, danalbert, ed, keith.walker.arm,
mclow.lists, compnerd
Reviewed By: srhines, danalbert
Subscribers: srhines, kristof.beyls, christof, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68972
llvm-svn: 375275
The file was modifiedlibunwind/src/UnwindCursor.hpp
The file was modifiedlibunwind/src/AddressSpace.hpp
Commit cf25242daaf876085f6f665c26fa3aa3cd502040 by peter
scudo: Update TLS_SLOT_SANITIZER value.
Android now allocates only 8 fixed TLS slots. Somehow we were getting
away with using a non-existent slot until now, but in some cases the TLS
slots were being placed at the end of a page, which led to a segfault at
startup.
Differential Revision: https://reviews.llvm.org/D69191
llvm-svn: 375276
The file was modifiedcompiler-rt/lib/scudo/standalone/linux.h
Commit 9f9151d49410cee6aa8528b109f3753878b30ba3 by quentin.colombet
[GISel][CallLowering] Make isIncomingArgumentHandler a pure virtual
method
The default implementation of isIncomingArgumentHandler could lead to
generating incorrect code. Make it a pure virtual method, so that
targets know they have to override it to produce correct code.
NFC
Differential Revision: https://reviews.llvm.org/D69187
llvm-svn: 375277
The file was modifiedllvm/lib/Target/AArch64/AArch64CallLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
The file was modifiedllvm/lib/Target/ARM/ARMCallLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
The file was modifiedllvm/lib/Target/X86/X86CallLowering.cpp
Commit 7a17f197093a6872d910b7486cfd43a53aba220b by Artem Dergachev
[analyzer] Fix hidden node traversal in exploded graph dumps.
The joined nodes now actually have the same state. That was intended
from the start but the original implementation turned out to be buggy.
Differential Revision: https://reviews.llvm.org/D69150
llvm-svn: 375278
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/dump_egraph.c
Commit d93b810cd673d37598ed05334a662e6878c32812 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Fix dump for state 0.
It shouldn't say "unspecified" when the state is specified to be empty.
llvm-svn: 375279
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/edge.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/node_labels.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/program_points.dot
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/trimmers.dot
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
Commit b3e34e043cae03e56f2a1b23eae1669e1c3be770 by Artem Dergachev
[analyzer] Drop the logic for collapsing the state if it's same as in
preds.
One of the first attempts to reduce the size of the exploded graph dumps
was to skip the state dump as long as the state is the same as in all of
the predecessor nodes. With all the new facilities in place (node
joining, diff dumps), this feature doesn't do much, and when it does,
it's more harmful than useful. Let's remove it.
llvm-svn: 375280
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/dump_egraph.c
Commit 2b4f6df91775a4f13233a04d3377f8233c7087f6 by Artem Dergachev
[analyzer] Fix FieldRegion dumps.
The '->' thing has always been confusing; the actual operation '->'
translates to a pointer dereference together with adding a FieldRegion,
but FieldRegion on its own doesn't imply an additional pointer
dereference.
llvm-svn: 375281
The file was modifiedclang/test/Analysis/dump_egraph.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/initializers_under_construction.cpp
The file was modifiedclang/test/Analysis/expr-inspection.c
The file was modifiedclang/lib/StaticAnalyzer/Core/MemRegion.cpp
Commit c6921379f55ee566fb62ba5aa47b217cf7c5d960 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Rename Environment to Expressions.
It's less confusing for newcomers.
llvm-svn: 375282
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/escapes.c
The file was modifiedclang/utils/analyzer/exploded-graph-rewriter.py
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/environment.dot
Commit 393d0f799f8828e9d8002766a9e9db21797451df by tlively
[WebAssembly] Allow multivalue signatures in object files
Summary: Also changes the wasm YAML format to reflect the possibility of
having multiple return types and to put the returns after the params for
consistency with the binary encoding.
Reviewers: aheejin, sbc100
Subscribers: dschuff, jgravelle-google, hiraditya, sunfish, arphaman,
rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69156
llvm-svn: 375283
The file was modifiedllvm/test/ObjectYAML/wasm/export_section.yaml
The file was modifiedllvm/test/Object/wasm-relocs-and-producers.yaml
The file was modifiedlld/test/wasm/relocatable.ll
The file was modifiedlld/test/wasm/alias.ll
The file was modifiedllvm/test/ObjectYAML/wasm/event_section.yaml
The file was modifiedlld/test/wasm/call-indirect.ll
The file was modifiedlld/test/wasm/gc-sections.ll
The file was modifiedlld/test/wasm/function-imports-first.ll
The file was modifiedlld/test/wasm/function-imports.ll
The file was modifiedllvm/test/ObjectYAML/wasm/weak_symbols.yaml
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/multivalue.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/exports.yaml
The file was modifiedllvm/test/tools/llvm-readobj/wasm-imports.test
The file was modifiedllvm/tools/obj2yaml/wasm2yaml.cpp
The file was modifiedllvm/test/ObjectYAML/wasm/linking_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/types.ll
The file was modifiedllvm/test/ObjectYAML/wasm/start_section.yaml
The file was modifiedllvm/test/CodeGen/WebAssembly/tailcall.ll
The file was modifiedlld/test/wasm/local-symbols.ll
The file was modifiedlld/test/wasm/undefined-weak-call.ll
The file was modifiedllvm/include/llvm/ObjectYAML/WasmYAML.h
The file was modifiedllvm/test/ObjectYAML/wasm/function_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/weak-alias.ll
The file was modifiedllvm/test/MC/WebAssembly/external-func-address.ll
The file was modifiedllvm/test/Object/wasm-duplicate-name.test
The file was modifiedllvm/test/ObjectYAML/wasm/code_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/type_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/comdat.ll
The file was modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedllvm/test/MC/WebAssembly/data-section.s
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedllvm/test/ObjectYAML/wasm/import_section.yaml
The file was modifiedlld/test/wasm/weak-symbols.ll
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedllvm/test/MC/WebAssembly/libcall.ll
The file was modifiedlld/test/wasm/Inputs/undefined-globals.yaml
The file was modifiedlld/test/wasm/weak-alias-overide.ll
The file was modifiedllvm/test/ObjectYAML/wasm/invalid_section_order.yaml
The file was modifiedlld/test/wasm/weak-undefined.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/weak-symbols.yaml
The file was modifiedlld/test/wasm/stack-pointer.ll
The file was modifiedlld/test/wasm/weak-alias.ll
The file was modifiedllvm/test/tools/llvm-nm/wasm/imports.yaml
The file was modifiedlld/test/wasm/function-index.test
The file was modifiedllvm/test/ObjectYAML/wasm/import_memory_shared.yaml
The file was modifiedlld/test/wasm/Inputs/globals.yaml
The file was modifiedllvm/test/MC/WebAssembly/assembler-binary.ll
The file was modifiedlld/test/wasm/event-section.ll
The file was modifiedllvm/lib/ObjectYAML/WasmYAML.cpp
The file was modifiedllvm/test/MC/WebAssembly/event-section.ll
The file was modifiedllvm/test/MC/WebAssembly/type-index.s
The file was modifiedllvm/test/ObjectYAML/wasm/name_section.yaml
Commit a8323679bdf995289d7e63bdaf1672091aad4665 by peter
Update global_symbols.txt.
llvm-svn: 375284
The file was modifiedcompiler-rt/lib/sanitizer_common/symbolizer/scripts/global_symbols.txt
Commit 7c4fa28e5cf08f53c1af68121a40e052805d963e by lebedev.ri
[NFC][CVP] Some tests for `mul` no-wrap deduction
llvm-svn: 375285
The file was addedllvm/test/Transforms/CorrelatedValuePropagation/mul.ll
Commit 3ff26e27d93ea4ca753bd4109b46e0ae4dcca293 by Artem Dergachev
[analyzer] exploded-graph-rewriter: Unforget to censor stmt_ids in the
test.
They're not stable across machines.
Fixes buildbots after r375278.
llvm-svn: 375286
The file was modifiedclang/test/Analysis/dump_egraph.c
Commit 52d765544b50d2260cf4858ed63c827880b987df by rnk
[X86] Fix register parsing in .seh_* in Intel syntax
Previously, the parser checked for a '%' prefix to indicate a register.
In Intel syntax mode, LLVM does not print a '%' prefix on registers, so
LLVM could not parse its own assembly output. Instead, require that
register numbers be integer literals, or at least start with an integer
literal, which is consistent with .cfi_* directive register parsing.
llvm-svn: 375287
The file was modifiedllvm/test/MC/AsmParser/directive_seh.s
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
Commit 32ce14e55e5a99dd99c3b4fd4bd0ccaaf2948c30 by Vedant Kumar
Disable exit-on-SIGPIPE in lldb
Occasionally, during test teardown, LLDB writes to a closed pipe.
Sometimes the communication is inherently unreliable, so LLDB tries to
avoid being killed due to SIGPIPE (it calls `signal(SIGPIPE, SIG_IGN)`).
However, LLVM's default SIGPIPE behavior overrides LLDB's, causing it to
exit with IO_ERR.
Opt LLDB out of the default SIGPIPE behavior. I expect that this will
resolve some LLDB test suite flakiness (tests randomly failing with
IO_ERR) that we've seen since r344372.
rdar://55750240
Differential Revision: https://reviews.llvm.org/D69148
llvm-svn: 375288
The file was addedllvm/unittests/Support/SignalsTest.cpp
The file was modifiedllvm/lib/Support/Unix/Signals.inc
The file was modifiedllvm/lib/Support/Windows/Signals.inc
The file was modifiedlldb/tools/driver/Driver.cpp
The file was modifiedllvm/unittests/Support/CMakeLists.txt
The file was modifiedllvm/include/llvm/Support/Signals.h
Commit e8da5e51cd9592145f4dff62281a3fa730aab876 by llvmgnsyncbot
gn build: Merge r375288
llvm-svn: 375289
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
Commit e695f4c851c397d352afa6a9fcd509e68467037d by lebedev.ri
[CVP] setDeducedOverflowingFlags(): actually inc per-opcode stats
This is really embarrassing. Those are pointers, so that offsets the
pointers, not the statistics pointed-by the pointer...
llvm-svn: 375290
The file was modifiedllvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Commit 64b7d95568607eac5336428a22e02f27b8663a79 by Jonas Devlieghere
[Reproducer] Improve reproducer help (NFC)
Provide a little more detail for the reproducer command.
llvm-svn: 375292
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit a9aa4ec6a31c3c37796ca168b41f311b21359e19 by jay.foad
[AMDGPU] Remove -amdgpu-spill-sgpr-to-smem.
Summary: The implementation was never completed and never used except in
tests.
Reviewers: arsenm, mareko
Subscribers: qcolombet, kzhuravl, jvesely, wdng, nhaehnle, yaxunl,
dstuttard, tpr, t-tye, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69163
llvm-svn: 375293
The file was removedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr-spill-to-smem.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-m0.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/basic-branch.ll
The file was removedllvm/test/CodeGen/AMDGPU/spill-to-smem-m0.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/spill-wide-sgpr.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.h
Commit 06a2beae92f5d2adcd0143a6798918418c2ea325 by Jonas Devlieghere
[Reproducer] XFAIL TestWorkingDir on Windows
I'm having a hard time reproducing this and it's failing on the Windows
bot. Temporarily X-failing this test while I continue to try building
LLDB on Windows.
llvm-svn: 375294
The file was modifiedlldb/test/Shell/Reproducer/TestWorkingDir.test
Commit 8c8ec1f6868bd0f96801fabc55ea395d9d171f06 by wmi
[SampleFDO] Add profile remapping support for profile on-demand loading
used by ExtBinary format profile
Profile on-demand loading was added for ExtBinary format profile in
rL374233, but currently profile on-demand loading doesn't work well with
profile remapping. The patch adds the support.
Suppose a function in the current module has outline instance in the
profile. The function name in the module is different from the name of
the outline instance, but remapper knows the two names are equal. When
loading profile on-demand, the outline instance has to be loaded with
remapper's help.
At the same time SampleProfileReaderItaniumRemapper is changed from a
proxy of SampleProfileReader to a helper member in SampleProfileReader.
Differential Revision: https://reviews.llvm.org/D68901
llvm-svn: 375295
The file was modifiedllvm/lib/ProfileData/SampleProfReader.cpp
The file was modifiedllvm/test/Transforms/SampleProfile/remap.ll
The file was modifiedllvm/unittests/ProfileData/SampleProfTest.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProfReader.h
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
Commit 0b7f320c3acb4ed75e5b3acf3460176b5b20b1aa by eugeni.stepanov
[hwasan] Remove system allocator fallback.
Summary: This has been an experiment with late malloc interposition,
made possible by a non-standard feature of the Android dynamic loader.
Reviewers: pcc, mmalcomson
Subscribers: srhines, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D69199
llvm-svn: 375296
The file was modifiedcompiler-rt/lib/hwasan/hwasan_interceptors.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.cpp
The file was removedcompiler-rt/test/hwasan/TestCases/Posix/system-allocator-fallback.cpp
The file was modifiedcompiler-rt/lib/hwasan/hwasan_allocator.h
Commit 0fab220eb5882ef451d039d5251a0a1298121f63 by Stanislav.Mekhanoshin
[AMDGPU] move PHI nodes to AGPR class
If all uses of a PHI are in AGPR register class we should avoid unneeded
copies via VGPRs.
Differential Revision: https://reviews.llvm.org/D69200
llvm-svn: 375297
The file was addedllvm/test/CodeGen/AMDGPU/mfma-loop.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Commit 33b758d2af312d02f2b5ef6915e62c6bb06e944e by peter
hwasan: Add missing SANITIZER_INTERFACE_ATTRIBUTE on
__hwasan_personality_wrapper.
Differential Revision: https://reviews.llvm.org/D69201
llvm-svn: 375298
The file was modifiedcompiler-rt/lib/hwasan/hwasan_exceptions.cpp
Commit 3b113a2be6dc9a614bd5c95138a6c34d44fe67d9 by peter
gn build: Build compiler-rt code with -fvisibility=hidden.
This matches the CMake build.
Differential Revision: https://reviews.llvm.org/D69202
llvm-svn: 375299
The file was modifiedllvm/utils/gn/build/BUILD.gn
Commit d4274f0174ff152490195fa2a65e4087deae3dd4 by Matthew.Arsenault
LiveIntervals: Fix handleMoveUp with subreg def moving across a def
If a subregister def was moved across another subregister def and
another use, the main range was not correctly updated. The end point of
the moved interval ended too early and missed the use from theh other
lanes in the subreg def.
llvm-svn: 375300
The file was addedllvm/test/CodeGen/AMDGPU/sched-handleMoveUp-subreg-def-across-subreg-def.mir
The file was modifiedllvm/unittests/MI/LiveIntervalTest.cpp
The file was modifiedllvm/lib/CodeGen/LiveIntervals.cpp
Commit 937241b0d9e8f896d4387292f01abf18ba9f9fcb by Vedant Kumar
[profile] Do not cache __llvm_profile_get_filename result
When the %m filename pattern is used, the filename is unique to each
image, so the cached value is wrong.
It struck me that the full filename isn't something that's recomputed
often, so perhaps it doesn't need to be cached at all. David Li pointed
out we can go further and just hide lprofCurFilename. This may regress
workflows that depend on using the set-filename API to change filenames
across all loaded DSOs, but this is expected to be very rare.
rdar://55137071
Differential Revision: https://reviews.llvm.org/D69137
llvm-svn: 375301
The file was addedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
The file was removedcompiler-rt/test/profile/Posix/instrprof-set-filename-shared.test
The file was modifiedclang/test/Driver/darwin-ld.c
The file was modifiedcompiler-rt/lib/profile/InstrProfiling.h
The file was modifiedclang/lib/Driver/ToolChains/Darwin.cpp
The file was modifiedcompiler-rt/lib/profile/InstrProfilingFile.c
The file was addedcompiler-rt/test/profile/Inputs/instrprof-get-filename-dso.c
Commit 9fdd09a4ccd01feb8e00be22b17e944e46807746 by dblaikie
DebugInfo: Render the canonical name of a class template specialization,
even when nested in another class template specialization
Differential Revision: https://reviews.llvm.org/D63031
llvm-svn: 375304
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
Commit 778dc0f1d49230f53401ae0c190fe460bda4ffd1 by richard-llvm
[c++20] Add CXXRewrittenBinaryOperator to represent a comparison
operator that is rewritten as a call to multiple other operators.
No functionality change yet: nothing creates these expressions.
llvm-svn: 375305
The file was modifiedclang/lib/AST/ExprClassification.cpp
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/lib/AST/Expr.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/include/clang/Serialization/ASTBitCodes.h
The file was modifiedclang/include/clang/AST/RecursiveASTVisitor.h
The file was modifiedclang/include/clang/AST/Stmt.h
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/CodeGen/CGExprComplex.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/AST/StmtProfile.cpp
The file was modifiedclang/tools/libclang/CXCursor.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/lib/Sema/SemaExceptionSpec.cpp
The file was modifiedclang/lib/AST/ItaniumMangle.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/include/clang/Basic/StmtNodes.td
The file was modifiedclang/lib/AST/StmtPrinter.cpp
Commit 974c8b7e2fde550fd87850d50695341101c38c2d by richard-llvm
[c++20] Add rewriting from comparison operators to <=> / ==.
This adds support for rewriting <, >, <=, and >= to a normal or reversed
call to operator<=>, for rewriting != to a normal or reversed call to
operator==, and for rewriting <=> and == to reversed forms of those same
operators.
Note that this is a breaking change for various C++17 code patterns,
including some in use in LLVM. The most common patterns (where an
operator== becomes ambiguous with a reversed form of itself) are still
accepted under this patch, as an extension (with a warning). I'm hopeful
that we can get the language rules fixed before C++20 ships, and the
extension warning is aimed primarily at providing data to inform that
decision.
llvm-svn: 375306
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p8-2a.cpp
The file was modifiedclang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp
The file was addedclang/test/CodeGenCXX/mangle-cxx2a.cpp
The file was modifiedclang/include/clang/Sema/Overload.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/test/PCH/cxx2a-compare.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiate.cpp
The file was modifiedclang/test/SemaCXX/compare-cxx2a.cpp
The file was modifiedclang/include/clang/Basic/OperatorKinds.h
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/AST/ExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
The file was modifiedclang/test/SemaCXX/self-comparison.cpp
The file was addedclang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p9-2a.cpp
The file was modifiedclang/include/clang/AST/ExprCXX.h
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/www/cxx_status.html
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
Commit a9727033fb5fa229b520e0e0d973f68780bc5348 by richard-llvm
P1152R4: Fix deprecation warnings in libc++ testsuite and in uses of
is_invocable that would internally conjure up a deprecated function
type.
Summary: The implementation of P1152R4 in Clang has resulted in some
deprecation warnings appearing in the libc++ and libc++abi test suite.
Fix or suppress these warnings.
Reviewers: mclow.lists, EricWF
Subscribers: christof, ldionne, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D68879
llvm-svn: 375307
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/type_traits
The file was modifiedlibcxxabi/test/unwind_06.pass.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
Commit b0914e7276bf97cb57f84fecc3a95e0d3ceeaf3e by Artem Dergachev
[analyzer] Specify the C++ standard in more tests.
Makes life easier for downstream developers with different default
standard.
llvm-svn: 375308
The file was modifiedclang/test/Analysis/cast-value-state-dump.cpp
The file was modifiedclang/test/Analysis/new-ctor-null.cpp
The file was modifiedclang/test/Analysis/cast-value-logic.cpp
The file was modifiedclang/test/Analysis/inlining/placement-new-fp-suppression.cpp
The file was modifiedclang/test/Analysis/unions.cpp
The file was modifiedclang/test/Analysis/explain-svals.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/test/Analysis/ctu-unknown-parts-in-triples.cpp
The file was modifiedclang/test/Analysis/diagnostics/dtors.cpp
The file was modifiedclang/test/Analysis/inner-pointer.cpp
The file was modifiedclang/test/Analysis/ptr-iter.cpp
The file was modifiedclang/test/Analysis/temporaries.mm
The file was modifiedclang/test/Analysis/new-ctor-null-throw.cpp
The file was modifiedclang/test/Analysis/sizeofpack.cpp
The file was modifiedclang/test/Analysis/test-separate-retaincount.cpp
The file was modifiedclang/test/Analysis/domtest.cpp
The file was modifiedclang/test/Analysis/mig.mm
The file was modifiedclang/test/Analysis/plist-macros-with-expansion.cpp
The file was modifiedclang/test/Analysis/deadstores-driverkit.cpp
The file was modifiedclang/test/Analysis/cast-value-notes.cpp
The file was modifiedclang/test/Analysis/ctu-main.cpp
The file was modifiedclang/test/Analysis/osobject-retain-release.cpp
The file was modifiedclang/test/Analysis/osobjectcstylecastchecker_test.cpp
The file was modifiedclang/test/Analysis/ctu-different-triples.cpp
The file was modifiedclang/test/Analysis/malloc.mm
The file was modifiedclang/test/Analysis/rvo.cpp
The file was modifiedclang/test/Analysis/initialization.cpp
The file was modifiedclang/test/Analysis/ptr-sort.cpp
The file was modifiedclang/test/Analysis/stack-frame-context-revision.cpp
Commit 243ebfba17da72566ba29a891193e4814cbc4ef3 by michael.hliao
[hip][cuda] Fix the extended lambda name mangling issue.
Summary:
- HIP/CUDA host side needs to use device kernel symbol name to match the
device side binaries. Without a consistent naming between host- and
device-side compilations, it's risky that wrong device binaries are
executed. Consistent naming is usually not an issue until unnamed
types are used, especially the lambda. In this patch, the consistent
name mangling is addressed for the extended lambdas, i.e. the lambdas
annotated with `__device__`.
- In [Itanium C++ ABI][1], the mangling of the lambda is generally
unspecified unless, in certain cases, ODR rule is required to ensure
consisent naming cross TUs. The extended lambda is such a case as its
name may be part of a device kernel function, e.g., the extended
lambda is used as a template argument and etc. Thus, we need to force
ODR for extended lambdas as they are referenced in both device- and
host-side TUs. Furthermore, if a extended lambda is nested in other
(extended or not) lambdas, those lambdas are required to follow ODR
naming as well. This patch revises the current lambda mangle numbering
to force ODR from an extended lambda to all its parent lambdas.
- On the other side, the aforementioned ODR naming should not change
those lambdas' original linkages, i.e., we cannot replace the original
`internal` with `linkonce_odr`; otherwise, we may violate ODR in
general. This patch introduces a new field `HasKnownInternalLinkage`
in lambda data to decouple the current linkage calculation based on
mangling number assigned.
[1]: https://itanium-cxx-abi.github.io/cxx-abi/abi.html
Reviewers: tra, rsmith, yaxunl, martong, shafik
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68818
llvm-svn: 375309
The file was modifiedclang/lib/AST/Decl.cpp
The file was addedclang/test/CodeGenCUDA/unnamed-types.cu
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was modifiedclang/lib/Sema/SemaLambda.cpp
The file was modifiedclang/lib/Sema/TreeTransform.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/include/clang/AST/DeclCXX.h
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit d7a487adfedb36c88f5ca24f5bcb93f140116106 by michael.hliao
[clang][driver] Print compilation phases with indentation.
Reviewers: tra, sfantao, echristo
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D69124
llvm-svn: 375310
The file was modifiedclang/lib/Driver/Driver.cpp
Commit 1d7b41361ffa208291119cd145a62a366adac569 by rnk
Prune two MachineInstr.h includes, fix up deps
MachineInstr.h included AliasAnalysis.h, which includes a world of IR
constructs mostly unneeded in CodeGen. Prune it. Same for
DebugInfoMetadata.h.
Noticed with -ftime-trace.
llvm-svn: 375311
The file was modifiedllvm/include/llvm/CodeGen/DFAPacketizer.h
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/TargetFrameLowering.h
The file was modifiedllvm/lib/CodeGen/ReachingDefAnalysis.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h
The file was modifiedllvm/lib/CodeGen/LiveVariables.cpp
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
The file was modifiedllvm/lib/CodeGen/MIRVRegNamerUtils.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp
The file was modifiedllvm/lib/CodeGen/LexicalScopes.cpp
The file was modifiedllvm/lib/Target/ARM/ARMConstantPoolValue.cpp
The file was modifiedllvm/lib/Target/Hexagon/RDFDeadCode.cpp
The file was modifiedllvm/lib/CodeGen/GlobalISel/RegisterBank.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
The file was modifiedllvm/lib/CodeGen/TargetFrameLoweringImpl.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
Commit 0904f924012db8002eec3a0533e310c1e714cca4 by Adrian Prantl
Skip (more) PExpect tests under ASAN, I can't get them to work reliably.
llvm-svn: 375312
The file was modifiedlldb/packages/Python/lldbsuite/test/iohandler/completion/TestIOHandlerCompletion.py
Commit 766f15814a012e5e6522c4e0f93c094ca2408367 by peter
Sema: Create a no-op implicit cast for lvalue function conversions.
This fixes an assertion failure in the case where an implicit conversion
for a function call involves an lvalue function conversion, and makes
the AST for initializations involving implicit lvalue function
conversions more accurate.
Differential Revision: https://reviews.llvm.org/D66437
llvm-svn: 375313
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was addedclang/test/CodeGenCXX/implicit-function-conversion.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit f6a46304174e7a31f5f18d18a5a3a24eaddf35f0 by Vedant Kumar
[profile] Disable instrprof-get-filename-merge-mode.c on Windows
The Windows bots are failing with:
clang: warning: argument unused during compilation: '-dynamiclib'
[-Wunused-command-line-argument] llvm-svn: 375315
The file was addedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
The file was removedcompiler-rt/test/profile/instrprof-get-filename-merge-mode.c
Commit 90c64a3456b972432a21ef043b205c18a91e011b by rnk
Move endian constant from Host.h to SwapByteOrder.h, prune include
Works on this dependency chain:
ArrayRef.h ->
Hashing.h -> --CUT--
Host.h ->
StringMap.h / StringRef.h
ArrayRef is very popular, but Host.h is rarely needed. Move the
IsBigEndianHost constant to SwapByteOrder.h. Clients of that header are
more likely to need it.
llvm-svn: 375316
The file was modifiedlld/include/lld/Common/LLVM.h
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedllvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
The file was modifiedllvm/include/llvm/Support/Host.h
The file was modifiedllvm/tools/llvm-exegesis/lib/RegisterValue.cpp
The file was modifiedllvm/lib/Support/Windows/WindowsSupport.h
The file was modifiedlld/include/lld/Core/File.h
The file was modifiedllvm/include/llvm/Support/SHA1.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/PPC.cpp
The file was modifiedlld/tools/lld/lld.cpp
The file was modifiedclang-tools-extra/clangd/FileDistance.h
The file was modifiedllvm/include/llvm/Support/SwapByteOrder.h
The file was modifiedllvm/include/llvm/ADT/Hashing.h
The file was modifiedclang/lib/Driver/ToolChains/Arch/AArch64.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/X86.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/ARM.cpp
The file was modifiedlldb/include/lldb/Utility/UUID.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp
The file was modifiedlld/lib/ReaderWriter/MachO/DebugInfo.h
Commit b081220cfd46965fa25dbf826cd3f42f4f9e54cd by Vedant Kumar
[profile] Use -fPIC -shared in a test instead of -dynamiclib
This is more portable than -dynamiclib. Also, fix the path to an input
file that broke when the test was moved in r375315.
llvm-svn: 375317
The file was modifiedcompiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
Commit 8b0d14a8f0cc085afa2a9c86c237da81c74517fc by rtrieu
New tautological warning for bitwise-or with non-zero constant always
true.
Taking a value and the bitwise-or it with a non-zero constant will
always result in a non-zero value. In a boolean context, this is always
true.
if (x | 0x4) {}  // always true, intended '&'
This patch creates a new warning group -Wtautological-bitwise-compare
for this warning. It also moves in the existing tautological bitwise
comparisons into this group. A few other changes were needed to the
CFGBuilder so that all bool contexts would be checked. The warnings in
-Wtautological-bitwise-compare will be off by default due to using the
CFG.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=42666 Differential
Revision: https://reviews.llvm.org/D66046
llvm-svn: 375318
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
The file was modifiedclang/test/Sema/warn-bitwise-compare.c
The file was addedclang/test/SemaCXX/warn-bitwise-compare.cpp
The file was modifiedclang/lib/Analysis/CFG.cpp
The file was modifiedclang/include/clang/Analysis/CFG.h
Commit 0ad6c191deef592818d2381b16e1093a0006e7b5 by rnk
Prune Analysis includes from SelectionDAG.h
Only forward declarations are needed here. Follow-on to r375311.
llvm-svn: 375319
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAG.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/DFAPacketizer.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
The file was modifiedllvm/lib/CodeGen/TargetInstrInfo.cpp
The file was modifiedllvm/lib/CodeGen/ScheduleDAGInstrs.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.cpp
The file was modifiedllvm/include/llvm/CodeGen/SelectionDAGISel.h
The file was modifiedllvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
The file was modifiedllvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
The file was modifiedllvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
Commit 904cd3e06b980baa90c6cd6614321b904a05e162 by rnk
Prune a LegacyDivergenceAnalysis and MachineLoopInfo include each
Now X86ISelLowering doesn't depend on many IR analyses.
llvm-svn: 375320
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
The file was modifiedllvm/lib/CodeGen/ExecutionDomainFix.cpp
The file was modifiedllvm/lib/Target/ARM/ARMBasicBlockInfo.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp
The file was modifiedllvm/lib/CodeGen/SwiftErrorValueTracking.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
The file was modifiedllvm/lib/Target/ARM/MVEVPTBlockPass.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetInstrInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/GCNILPSched.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/BPF/BPFMIChecking.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
The file was modifiedllvm/lib/Target/BPF/BPFMIPeephole.cpp
The file was modifiedllvm/lib/Target/MSP430/MSP430BranchSelector.cpp
The file was modifiedllvm/lib/Target/ARM/ARMMachineFunctionInfo.h
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
The file was modifiedllvm/lib/CodeGen/BreakFalseDeps.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.h
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
The file was modifiedllvm/include/llvm/CodeGen/FunctionLoweringInfo.h
Commit 1aae510893e654361c17dc6d0cb27ac4de6202c8 by Matthew.Arsenault
AMDGPU: Remove optnone from a test
It's not clear why the test had this. I'm unable to break the original
case with the original patch reverted with or without optnone.
This avoids a failure in a future commit.
llvm-svn: 375321
The file was modifiedllvm/test/CodeGen/AMDGPU/extract-subvector-equal-length.ll
Commit 14a3f77ba1034d551e5f8a5bc4cd3ae131738773 by bigcheesegs
[Implicit Modules] Add -cc1 option -fmodules-strict-context-hash which
includes search paths and diagnostics.
Differential Revision: https://reviews.llvm.org/D68528
llvm-svn: 375322
The file was modifiedclang/include/clang/Lex/HeaderSearchOptions.h
The file was modifiedclang/include/clang/Driver/CC1Options.td
The file was modifiedclang/docs/Modules.rst
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was addedclang/test/Modules/context-hash.c
Commit 7bbe711fb1b9057e48dec3c15b084eee7f8ff5fb by rnk
Avoid including CodeView/SymbolRecord.h from MCStreamer.h
Move the types needed out so they can be forward declared instead.
llvm-svn: 375325
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
Commit 637af4cc37802a25564aa96c4d4eb3facbcff9b8 by rtrieu
Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with
"?:"
Extend -Wparentheses to cover mixing bitwise-and and bitwise-or with the
conditional operator. There's two main cases seen with this:
unsigned bits1 = 0xf0 | cond ? 0x4 : 0x1; unsigned bits2 = cond1 ? 0xf0
: 0x10 | cond2 ? 0x5 : 0x2;
// Intended order of evaluation: unsigned bits1 = 0xf0 | (cond ? 0x4 :
0x1); unsigned bits2 = (cond1 ? 0xf0 : 0x10) | (cond2 ? 0x5 : 0x2);
// Actual order of evaluation: unsigned bits1 = (0xf0 | cond) ? 0x4 :
0x1; unsigned bits2 = cond1 ? 0xf0 : ((0x10 | cond2) ? 0x5 : 0x2);
Differential Revision: https://reviews.llvm.org/D66043
llvm-svn: 375326
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
The file was modifiedclang/test/Sema/parentheses.c
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit d7cf99ae03704dad87cffe49a83af13f5b949c82 by bigcheesegs
[Docs] Fix header level.
llvm-svn: 375327
The file was modifiedclang/docs/Modules.rst
Commit ab2cec8b85cf84f0c734115205cc8b07b56bd3ae by Artem Dergachev
[analyzer] Fix a crash on tracking Objective-C 'self' as a control
dependency.
'self' was previously never tracked, but now it can be tracked because
it may be part of a condition.
llvm-svn: 375328
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was addedclang/test/Analysis/track-control-dependency-conditions.m
Commit 4a5df7312ec2c14360e4e12596a1ef63be39a480 by Artem Dergachev
[analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor.
Patch by Kristóf Umann!
Differential Revision: https://reviews.llvm.org/D68591
llvm-svn: 375329
The file was modifiedclang/test/Analysis/novoidtypecrash.c
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Commit 2386537c2469a97501a305c6b3138231b907a67f by lawrence_danna
[LLDB] bugfix: command script add -f doesn't work for some callables
Summary: When users define a debugger command from python, they provide
a callable object.   Because the signature of the function has been
extended, LLDB needs to inspect the number of parameters the callable
can take.
The rule it was using to decide was weird, apparently not tested, and
giving wrong results for some kinds of python callables.
This patch replaces the weird rule with a simple one: if the callable
can take 5 arguments, it gets the 5 argument version of the signature.
Otherwise it gets the old 4 argument version.
It also adds tests with a bunch of different kinds of python callables
with both 4 and 5 arguments.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69014
llvm-svn: 375333
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/script/TestCommandScript.py
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/command/script/py_import
The file was addedlldb/packages/Python/lldbsuite/test/commands/command/script/callables.py
The file was modifiedlldb/scripts/Python/python-wrapper.swig
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
Commit bdcad0aca0a05145364ee153a8f54af4aea2c445 by lawrence_danna
convert LLDBSwigPythonCallTypeScript to ArgInfo::max_positional_args
Summary: This patch converts another user of ArgInfo::count over to use
ArgInfo::max_positional_args instead.   I also add a test to make sure
both documented signatures for python type formatters work.
Reviewers: JDevlieghere, clayborg, labath, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69153
llvm-svn: 375334
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/formatters.py
The file was modifiedlldb/scripts/Python/python-wrapper.swig
The file was modifiedlldb/packages/Python/lldbsuite/test/commands/expression/formatters/TestFormatters.py