FailedChanges

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

Summary

  1. [FPEnv] clang support for constrained FP builtins (details)
  2. Revert 30e8f80fd5a4 "[DebugInfo] Don't create multiple DBG_VALUEs when (details)
  3. Replace redundant code in FormatManager and FormatCache with templates (details)
  4. Fix bug 44190 - wrong code with #pragma pack(1) (details)
  5. [lldb/Reproducers] Support multiple GDB remotes (details)
  6. [lldb/Host] Use Host/Config.h entries instead of a global define. (details)
  7. Fix a -Wsign-compare error around wchar_t vs unsigned int. (details)
  8. Fix -Wincomplete-umbrella warning in the modules build (details)
  9. Assert launch success in run_to_breakpoint_do_run (details)
  10. [BPF] put not-section-attribute externs into BTF ".extern" data section (details)
  11. [DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is specified. (details)
  12. [cxx_status] Add missed Belfast paper affecting three-way comparisons. (details)
  13. Add missed #include in llvmorg-10-init-11532-g848934c67d4. (details)
  14. Revert "[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is (details)
  15. Recommit "[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is (details)
  16. scudo: Move getChunkFromBlock() allocated check into caller. NFCI. (details)
  17. scudo: Tweak how we align UserPtr. NFCI. (details)
  18. [Wdocumentation] Use the command marker. (details)
  19. [Wdocumentation] Properly place deprecated attribute (details)
  20. [Wdocumentation] Use C2x/C++14 deprecated attribute (details)
  21. [clangd] Fix an incorrect expectedResult usage in rename test. (details)
  22. Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple (details)
  23. [OPENMP50]Add if clause in target simd directive. (details)
  24. [lldb] Add #include to appease the modules build (details)
  25. Deprecate the hasDefaultArgument matcher (details)
  26. [DebugInfo] Refactored macro related generation, added a test case for (details)
  27. [cxx_status] Fix table layout. (details)
  28. [c++20] Return type deduction for defaulted three-way comparisons. (details)
  29. [Remarks][Docs] Enhance documentation for opt-remarks driver options (details)
  30. [OPENMP50]Do not mark the function as used if referenced only in declare (details)
  31. [libcxx] [test] Query the target platform, not the host one (details)
  32. Debug Info: Strengthen the synthesized-property-cleanup.mm test, NFC (details)
  33. [FormatManager] Add a unittest for GetCandidateLanguages() (details)
  34. [DWARF] Allow cross-CU references of subprogram definitions (details)
  35. DebugInfo: Clarify some more reasons v4 loc.dwo can't share much (details)
  36. [InstSimplify] add tests for insert constant + splat; NFC (details)
  37. [IR] allow undefined elements when checking for splat constants (details)
Commit 6515c524b0ae50dd5bb052558afa8c81d3a75780 by kevin.neal
[FPEnv] clang support for constrained FP builtins
Change the IRBuilder and clang so that constrained FP intrinsics will be
emitted for builtins when appropriate. Only non-target-specific builtins
are affected in this patch.
Differential Revision: https://reviews.llvm.org/D70256
The file was addedclang/test/CodeGen/constrained-math-builtins.c
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
Commit 49da20ddb4319f3f469499e341a1bc3101adcdcf by hans
Revert 30e8f80fd5a4 "[DebugInfo] Don't create multiple DBG_VALUEs when
sinking"
This caused non-determinism in the compiler, see command on the
Phabricator code review.
> This patch addresses a performance problem reported in PR43855, and
> present in the reapplication in in 001574938e5. It turns out that
> MachineSink will (often) move instructions to the first block that
> post-dominates the current block, and then try to sink further. This
> means if we have a lot of conditionals, we can needlessly create large
> numbers of DBG_VALUEs, one in each block the sunk instruction passes
> through.
>
> To fix this, rather than immediately sinking DBG_VALUEs, record them
in
> a pass structure. When sinking is complete and instructions won't be
> sunk any further, new DBG_VALUEs are added, avoiding lots of
> intermediate DBG_VALUE $noregs being created.
>
> Differential revision: https://reviews.llvm.org/D70676
The file was modifiedllvm/test/DebugInfo/MIR/X86/machinesink.mir
The file was modifiedllvm/lib/CodeGen/MachineSink.cpp
Commit 7034794b314d9de808de004d22b47f18d134757d by Adrian Prantl
Replace redundant code in FormatManager and FormatCache with templates
(NFC)
This is a preparatory patch for an upcoming bugfix.
FormatManager and friends have four identical implementations of many
accessor functions to deal with the four types of shared pointers in the
FormatCache. This patch replaces these implementations with templates.
While this patch drastically reduces the amount of source code and its
maintainablity, it doesn't actually improve code size. I'd argue, this
is still an improvement.
rdar://problem/57756763
Differential Revision: https://reviews.llvm.org/D71231
The file was modifiedlldb/include/lldb/DataFormatters/FormatCache.h
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp
The file was modifiedlldb/include/lldb/DataFormatters/TypeCategoryMap.h
The file was modifiedlldb/source/DataFormatters/TypeCategoryMap.cpp
The file was modifiedlldb/source/DataFormatters/FormatCache.cpp
The file was modifiedlldb/source/DataFormatters/LanguageCategory.cpp
The file was modifiedlldb/include/lldb/DataFormatters/FormatManager.h
Commit 21b43885b81a6180e7231e575b5433202582f2fb by Yaxun.Liu
Fix bug 44190 - wrong code with #pragma pack(1)
https://github.com/llvm/llvm-project/commit/5b330e8d6122c336d81dfd11c864e6c6240a381e
caused a regression on s390:
https://bugs.llvm.org/show_bug.cgi?id=44190
we need to copy if if either the argument is non-byval or the argument
is underaligned.
Differential Revision: https://reviews.llvm.org/D71282
The file was addedclang/test/CodeGen/s390x-packed-struct-func-arg.c
The file was modifiedclang/lib/CodeGen/CGCall.cpp
Commit e81268d03e73aef4f9c7bd8ece8ad02f5b017dcf by Jonas Devlieghere
[lldb/Reproducers] Support multiple GDB remotes
When running the test suite with always capture on, a handful of tests
are failing because they have multiple targets and therefore multiple
GDB remote connections. The current reproducer infrastructure is capable
of dealing with that.
This patch reworks the GDB remote provider to support multiple GDB
remote connections, similar to how the reproducers support shadowing
multiple command interpreter inputs. The provider now keeps a list of
packet recorders which deal with a single GDB remote connection. During
replay we rely on the order of creation to match the number of packets
to the GDB remote connection.
Differential revision: https://reviews.llvm.org/D71105
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was modifiedlldb/source/Utility/GDBRemote.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
The file was addedlldb/test/Shell/Reproducer/TestMultipleTargets.test
The file was modifiedlldb/include/lldb/Utility/GDBRemote.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was addedlldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Commit 59998b7b7f12c867062a4b61579511ad6c0ca144 by Jonas Devlieghere
[lldb/Host] Use Host/Config.h entries instead of a global define.
As suggested by Pavel in a code review:
> Can we replace this (and maybe python too, while at it) with a
> Host/Config.h entry? A global definition means that one has to
> recompile everything when these change in any way, whereas in
> practice only a handful of files need this..
Differential revision: https://reviews.llvm.org/D71280
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
The file was modifiedlldb/source/API/SBHostOS.cpp
The file was modifiedlldb/source/Interpreter/CommandObjectScript.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
The file was modifiedlldb/source/Core/IOHandlerCursesGUI.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Commands/CommandObjectGUI.cpp
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/unittests/Editline/EditlineTest.cpp
Commit 53acf0663f80e1be99bae28769c6b658fff0e097 by echristo
Fix a -Wsign-compare error around wchar_t vs unsigned int.
The file was modifiedlldb/source/Host/common/Editline.cpp
Commit 8ddec9ad4664e01816d0e45353ac1d5ba8b07082 by Vedant Kumar
Fix -Wincomplete-umbrella warning in the modules build
[281/3666] Building CXX object
lib/IR/CMakeFiles/LLVMCore.dir/IntrinsicInst.cpp.o
/Users/vsk/src/llvm-project-master/llvm/lib/IR/IntrinsicInst.cpp:155:2:
warning: missing submodule 'LLVM_IR.ConstrainedOps'
[-Wincomplete-umbrella]
The file was modifiedllvm/include/llvm/module.modulemap
Commit d0789e6346e489cd84b37ec58964feb0db015de7 by Vedant Kumar
Assert launch success in run_to_breakpoint_do_run
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbutil.py
Commit 7d0e8930ed08b5f938a317f13d8fc994dd8c551c by yhs
[BPF] put not-section-attribute externs into BTF ".extern" data section
Currently for extern variables with section attribute, those
BTF_KIND_VARs will not be placed in any DataSec. This is inconvenient as
any other generated BTF_KIND_VAR belongs to one DataSec. This patch put
these extern variables into
".extern" section so bpf loader can have a consistent processing
mechanism for all data sections and variables.
The file was modifiedllvm/test/CodeGen/BPF/BTF/extern-var-func.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/extern-var-func-weak.ll
The file was modifiedllvm/test/CodeGen/BPF/BTF/extern-var-struct.ll
The file was modifiedllvm/lib/Target/BPF/BTFDebug.cpp
The file was modifiedllvm/test/CodeGen/BPF/BTF/extern-var-struct-weak.ll
Commit 6ef01588f4d75ef43da4ed2a37ba7a8b8daab259 by SourabhSingh.Tomar
[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is specified.
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedclang/test/CodeGen/split-debug-output.c
The file was modifiedllvm/test/DebugInfo/X86/string-offsets-table.ll
The file was modifiedclang/test/CodeGen/thinlto-split-dwarf.c
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 439cb88e26d64670ea577e32c179360eb0fbe1cb by richard
[cxx_status] Add missed Belfast paper affecting three-way comparisons.
The file was modifiedclang/www/cxx_status.html
Commit bbaaeb409904e375d8c44223b37a71502192c17c by richard
Add missed #include in llvmorg-10-init-11532-g848934c67d4.
The file was modifiedclang/include/clang/AST/UnresolvedSet.h
Commit d82b6ba21b32ddf00af886b9160feef88211773e by SourabhSingh.Tomar
Revert "[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is
specified."
This reverts commit 6ef01588f4d75ef43da4ed2a37ba7a8b8daab259. Missing
Differetial revision.
The file was modifiedclang/test/CodeGen/thinlto-split-dwarf.c
The file was modifiedllvm/test/DebugInfo/X86/string-offsets-table.ll
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedclang/test/CodeGen/split-debug-output.c
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
Commit fb4d8fe1a86232f4711c911e6feccce778e27afa by SourabhSingh.Tomar
Recommit "[DWARF5] Start emitting DW_AT_dwo_name when -gdwarf-5 is
specified."
Reviewers: dblaikie, aprantl, probinson
Tags: #debug-info #llvm
Differential Revision: https://reviews.llvm.org/D71185
The file was modifiedclang/test/CodeGen/split-debug-output.c
The file was modifiedclang/test/CodeGen/thinlto-split-dwarf.c
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
The file was modifiedllvm/test/DebugInfo/X86/string-offsets-table.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit e966416ff15178bf982430085be9ae69e5a511fa by peter
scudo: Move getChunkFromBlock() allocated check into caller. NFCI.
With tag-on-free we will need to get the chunk of a deallocated block.
Change getChunkFromBlock() so that it doesn't check that the chunk is
allocated, and move the check into the caller, so that it can be reused
for this purpose.
Differential Revision: https://reviews.llvm.org/D71291
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
Commit 9fbfdd2bfe42a6d0a8e680c64a968e9cfc065fd3 by peter
scudo: Tweak how we align UserPtr. NFCI.
Instead of testing whether the pointer is aligned, just align it
unconditionally and compare it to the original pointer.
This moves the computation of UserPtr up to before we start preparing
the header, so that the memory tagging code will be able to read the
original header containing the bounds of the previous allocation before
it gets potentially clobbered by the pointer realignment code.
Differential Revision: https://reviews.llvm.org/D71292
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
Commit 85fff898bb3175693e12536a837c8ad0ec8b2cdd by koraq
[Wdocumentation] Use the command marker.
Use the proper marker for -Wdocumentation-deprecated-sync instead of
hard-coded the backslash.
Discovered while looking at https://bugs.llvm.org/show_bug.cgi?id=43753
Differential Revision: https://reviews.llvm.org/D71139
The file was modifiedclang/lib/AST/CommentSema.cpp
The file was modifiedclang/test/Sema/warn-documentation.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticCommentKinds.td
Commit b972f2d05e8b39dd84e586756e7078d79134e2fb by koraq
[Wdocumentation] Properly place deprecated attribute
It is now placed before the function:
- allows to replace __attribute__((deprecated)) with [[deprecated]].
- required for trailing returns.
Fixes bug: https://bugs.llvm.org/show_bug.cgi?id=43753
Differential Revision: https://reviews.llvm.org/D71140
The file was modifiedclang/lib/AST/CommentSema.cpp
The file was modifiedclang/test/Sema/warn-documentation-fixits.cpp
The file was modifiedclang/test/Sema/warn-documentation.cpp
Commit b6d386f6f996394ec24c5d0ebe84131c89237594 by koraq
[Wdocumentation] Use C2x/C++14 deprecated attribute
This replaces the non-standard __attribute__((deprecated)) with the
standard [[deprecated]] when compiling in C2x/C++14 mode.
Discovered while looking at https://bugs.llvm.org/show_bug.cgi?id=43753
Differential Revision: https://reviews.llvm.org/D71141
The file was modifiedclang/test/Sema/warn-documentation-fixits.cpp
The file was addedclang/test/Sema/warn-documentation-fixits.c
The file was modifiedclang/test/Sema/warn-documentation.cpp
The file was modifiedclang/lib/AST/CommentSema.cpp
Commit a2602bdd7316e3e41366f946a83a5a654b909957 by hokein.wu
[clangd] Fix an incorrect expectedResult usage in rename test.
expectedResult(Code, expectedResult(T, "abc")) => should be
expectedResult(T, "abc")
The test was passed by coincidence.
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit c9e0b354e2749ce7ab553974692cb35c8651a869 by echristo
Temporarily revert [lldb] e81268d - [lldb/Reproducers] Support multiple
GDB remotes
This was causing a crash in opt+assert builds on linux and a follow-up
message was posted.
This reverts commit e81268d03e73aef4f9c7bd8ece8ad02f5b017dcf
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was removedlldb/test/Shell/Reproducer/Inputs/MultipleTargetsCapture.in
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.h
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Utility/GDBRemote.cpp
The file was modifiedlldb/source/Utility/Reproducer.cpp
The file was modifiedlldb/include/lldb/Utility/GDBRemote.h
The file was modifiedlldb/include/lldb/Utility/Reproducer.h
The file was removedlldb/test/Shell/Reproducer/TestMultipleTargets.test
The file was modifiedlldb/source/API/SBDebugger.cpp
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
Commit ef94cd1cf81d6e66838e1d7395fdaa6795ec7165 by a.bataev
[OPENMP50]Add if clause in target simd directive.
According to OpenMP 5.0, if clause can be used in for simd directive. If
condition in the if clause if false, the non-vectorized version of the
loop must be executed.
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/target_simd_ast_print.cpp
The file was modifiedclang/test/OpenMP/target_simd_if_messages.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
Commit 7ec933e50162e2ddc6204f0f1708b75309a9555a by Vedant Kumar
[lldb] Add #include to appease the modules build
This #include appears to be completely unnecessary, but it does fix the
following build failure:
http://green.lab.llvm.org/green/job/lldb-cmake/4565/consoleText
FAILED:
tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o
/Users/buildslave/jenkins/workspace/lldb-cmake/host-compiler/bin/clang++
-DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLIBXML2_DEFINED
-DLLDB_CONFIGURATION_RELEASE -DLLDB_USE_OS_LOG -D_DEBUG
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools/lldb/source/Host
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host
-Itools/lldb/source
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/include
-Itools/lldb/include -Iinclude
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/include
-I/usr/local/Frameworks/Python.framework/Versions/3.7/include/python3.7m
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/llvm/../clang/include
-Itools/lldb/../clang/include -I/usr/local/include
-I/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/.
-isystem
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/libxml2
-Wdocumentation -fPIC -fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -fmodules
-fmodules-cache-path=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/module.cache
-fcxx-modules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type
-Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion
-fdiagnostics-color -Wno-deprecated-declarations -Wno-unknown-pragmas
-Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
  -UNDEBUG  -fno-exceptions -fno-rtti -std=c++14 -MD -MT
tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o -MF
tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o.d
-o tools/lldb/source/Host/CMakeFiles/lldbHost.dir/common/MainLoop.cpp.o
-c
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp:211:7:
error: use of undeclared identifier 'ppoll'
if (ppoll(read_fds.data(), read_fds.size(), nullptr, &sigmask) == -1 &&
     ^
/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/source/Host/common/MainLoop.cpp:336:25:
error: use of undeclared identifier 'HAVE_SYS_EVENT_H'
ret = pthread_sigmask(HAVE_SYS_EVENT_H ? SIG_UNBLOCK : SIG_BLOCK,
                       ^ 2 errors generated.
The file was modifiedlldb/source/Host/common/MainLoop.cpp
Commit 3e315ba2547cbbfd6055e38bbca03f4d11bacbea by steveire
Deprecate the hasDefaultArgument matcher
Summary: It doesn't provide a way to match on the contents of the
default argumment.  Rather than give it that capability, make it
deprecated and recomment the use of hasInitializer instead.
Reviewers: aaron.ballman
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D71166
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit 307f60a1a3ff04313a75e2fc11bc14df4fc2ffb8 by SourabhSingh.Tomar
[DebugInfo] Refactored macro related generation, added a test case for
macinfo.dwo emission.
Reviewers: dblaikie, aprantl, jini.susan.george
Tags: #debug-info #llvm
Differential Revision: https://reviews.llvm.org/D71008
The file was addedllvm/test/DebugInfo/X86/debug-macinfo-split-dwarf.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
Commit 336ac7197eeeb4ab083f7402ec4edbb9b7bb252c by richard
[cxx_status] Fix table layout.
The file was modifiedclang/www/cxx_status.html
Commit 68009c245dbe4c420ca06c0fea2a908f918137bb by richard
[c++20] Return type deduction for defaulted three-way comparisons.
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/AST/ComparisonCategories.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/lib/AST/ComparisonCategories.cpp
The file was addedclang/test/CXX/class/class.compare/class.spaceship/p2.cpp
Commit 3bd7cbb90cdb9cf2ca481107ec66a75d9c885782 by francisvm
[Remarks][Docs] Enhance documentation for opt-remarks driver options
Add better documentation about the naming scheme, add a few more
explicit descriptions and make the sphinx look better.
The file was modifiedclang/docs/UsersManual.rst
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/docs/ClangCommandLineReference.rst
Commit 02d04d569edd39a17f27995565b7b65ac06afb35 by a.bataev
[OPENMP50]Do not mark the function as used if referenced only in declare
variant directive.
If the function is used only in declare variant directive as a variant
function, it should not be marked as used to prevent emission of the
target-specific functions. Build the reference in the unevaluated
context.
The file was modifiedclang/lib/Parse/ParseOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/OpenMP/declare_variant_mixed_codegen.cpp
Commit 8bd9d0bff21b6732c122365de793de12fef9c681 by Louis Dionne
[libcxx] [test] Query the target platform, not the host one
target_info is inferred to WindowsLocalTI on Windows hosts unless
specified otherwise. In the latter case, it doesn't make sense to use
Windows-specific settings if the target is not Windows.
This change should not break anything, because target_info is inferred
based on what platform.system() returns. self.is_windows was set based
on the same platform.system() call.
Thanks to Sergej Jaskiewicz for the patch.
Differential Revision: https://reviews.llvm.org/D68275
The file was modifiedlibcxx/utils/libcxx/test/executor.py
The file was modifiedlibcxx/utils/libcxx/test/target_info.py
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/utils/libcxx/test/format.py
Commit 3e1562e83339bb1e18fb36a5a2fc629c75f5f239 by Vedant Kumar
Debug Info: Strengthen the synthesized-property-cleanup.mm test, NFC
After https://reviews.llvm.org/D71084, the line locations assigned when
emitting cleanups inside of property accessors changed. Update this test
to actually check that those locations are correct.
rdar://57796656
The file was modifiedclang/test/CodeGenObjCXX/synthesized-property-cleanup.mm
Commit e8d955f29de7ee4b50d889c418b4efb18add0653 by ditaliano
[FormatManager] Add a unittest for GetCandidateLanguages()
Reviewers: teemperor, JDevlieghere, aprantl, jingham
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71299
The file was modifiedlldb/unittests/CMakeLists.txt
The file was addedlldb/unittests/DataFormatter/FormatManagerTests.cpp
The file was addedlldb/unittests/DataFormatter/CMakeLists.txt
Commit 30038da15b18ac4e34b9ea7a648382ae481e4770 by Vedant Kumar
[DWARF] Allow cross-CU references of subprogram definitions
This allows a call site tag in CU A to reference a callee DIE in CU B
without resorting to creating an incomplete duplicate DIE for the callee
inside of CU A.
We already allow cross-CU references of subprogram declarations, so it
doesn't seem like definitions ought to be special.
This improves entry value evaluation and tail call frame synthesis in
the LTO setting. During LTO, it's common for cross-module inlining to
produce a call in some CU A where the callee resides in a different CU,
and there is no declaration subprogram for the callee anywhere. In this
case llvm would (unnecessarily, I think) emit an empty DW_TAG_subprogram
in order to fill in the call site tag. That empty 'definition' defeats
entry value evaluation etc., because the debugger can't figure out what
it means.
As a follow-up, maybe we could add a DWARF verifier check that a
DW_TAG_subprogram at least has a DW_AT_name attribute.
rdar://46577651
Differential Revision: https://reviews.llvm.org/D70350
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedllvm/test/DebugInfo/X86/lto-cross-cu-call-origin-ref.ll
Commit 4ffd3f44e34283506958263a7f9eb2c9d149087f by dblaikie
DebugInfo: Clarify some more reasons v4 loc.dwo can't share much
implementation with loclists.dwo
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit 252d3b9805f8064837630deb282f653ac2978096 by spatel
[InstSimplify] add tests for insert constant + splat; NFC
The file was modifiedllvm/test/Transforms/InstCombine/insert-extract-shuffle.ll
The file was modifiedllvm/test/Transforms/InstSimplify/shufflevector.ll
Commit 16e9315685bc057849eab072de6ec349b508ec1d by spatel
[IR] allow undefined elements when checking for splat constants
This mimics the related call in SDAG. The caller is responsible for
ensuring that undef values are propagated safely.
The file was modifiedllvm/unittests/IR/InstructionsTest.cpp
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/include/llvm/IR/Constant.h