FailedChanges

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

Summary

  1. Fix integration of pass plugins with llvm dylib (details)
  2. [lldb] Fix lldb-dotest (details)
  3. Add '#include <functional>` to PassManager.h. (details)
  4. [lldb] Replace assertTrue(a == b, "msg") with assertEquals(a, b, "msg") in the test suite (details)
  5. [clangd] Expose Code Completion score to the client (details)
  6. [debuginfo-tests][Dexter] Fix some Windows-unfriendly Dexter behaviours (details)
  7. [gn build] Fix sync script on renames like "Foo.cpp" -> "LLVMFoo.cpp" (details)
  8. [X86][SSE] Add i686-SSE2 bswap vector tests (details)
  9. Move FIXME to start of comment so visual studio actually tags it. NFC. (details)
  10. [lldb] Introduce "RegInfoBasedABI" (details)
  11. attempt to fix check-clang on windows after c49866ac (details)
  12. [PowerPC][NFC] Small cleanup to restore CR field code in PPCFrameLowering. (details)
  13. [llvm][lldb] Update links to ABI for the Arm Architecture. [NFC] (details)
  14. [VectorCombine] add more extract-binop tests; NFC (details)
  15. [OPENMP]Fix the test, NFC. (details)
  16. [VectorCombine] adjust tests for extract-binop; NFC (details)
  17. [MLIR][GPU] Implement initial mapping from loop.parallel to gpu.launch. (details)
  18. [OPENMP50]Fix handling of clauses in parallel master taskloop directive. (details)
  19. [ARM] Fix infinite loop when lowering STRICT_FP_EXTEND (details)
  20. Stop emitting a breakpoint for each location in a breakpoint when responding to breakpoint commands. (details)
  21. [lldb-vscode] Ensure that target matches the executable file (details)
  22. [ELF] Fix a null pointer dereference when --emit-relocs and --strip-debug are used together (details)
  23. [OPENMP50]Add cancellation support in taskloop-based directives. (details)
  24. Add REQUIRES: x86 so this won't be run if x86 is not available. (details)
  25. [OPENMP][DOCS]Update status of support constructs, NFC. (details)
  26. Fix buildbots by disabling this new test until I can fix it. (details)
  27. [openmp][cmake] passing option argument correctly (details)
  28. AMDGPU: Use v_perm_b32 to implement bswap (details)
Commit d21664cce1db8debe2528f36b1fbd2b8af9c9401 by sguelton
Fix integration of pass plugins with llvm dylib

Call llvm_process_pass_plugin from clang when in standalone mode.

Differential Revision: https://reviews.llvm.org/D74464
The file was modifiedclang/CMakeLists.txt
The file was modifiedllvm/CMakeLists.txt
Commit 91e0c258c2e80b180c0c99af322cb6bf09df86d4 by pavel
[lldb] Fix lldb-dotest

to account for the new location of test files from 99451b445.
The file was modifiedlldb/packages/Python/lldbsuite/test/configuration.py
Commit 70e6ed1db709584c6f0ca5f2c7904c74c962dec7 by pifon
Add '#include <functional>` to PassManager.h.

Summary:
On some platforms the build fails "std::function is not found". The include is used in
PassManager::IRPrinterConfig::enableIRPrinting.

Differential Revision: https://reviews.llvm.org/D74469
The file was modifiedmlir/include/mlir/Pass/PassManager.h
Commit b3a0c4d7dcfa252be17ef5f5b63ffaaa83e01a2b by Raphael Isemann
[lldb] Replace assertTrue(a == b, "msg") with assertEquals(a, b, "msg") in the test suite

Summary:
The error message from the construct `assertTrue(a == b, "msg") ` are nearly always completely useless for actually debugging the issue.
This patch is just replacing this construct (and similar ones like `assertTrue(a != b, ...)` with the proper call to assertEqual or assertNotEquals.

This patch was mostly written by a shell script with some manual verification afterwards:
```
lang=python
import sys

def sanitize_line(line):
  if line.strip().startswith("self.assertTrue(") and " == " in line:
    line = line.replace("self.assertTrue(", "self.assertEquals(")
    line = line.replace(" == ", ", ", 1)
  if line.strip().startswith("self.assertTrue(") and " != " in line:
    line = line.replace("self.assertTrue(", "self.assertNotEqual(")
    line = line.replace(" != ", ", ", 1)
  return line

for a in sys.argv[1:]:
  with open(a, "r") as f:
    lines = f.readlines()
  with open(a, "w") as f:
    for line in lines:
      f.write(sanitize_line(line))
```

Reviewers: labath, JDevlieghere

Reviewed By: labath

Subscribers: abidh, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74475
The file was modifiedlldb/test/API/commands/expression/test/TestExprs.py
The file was modifiedlldb/test/API/lang/cpp/dynamic-value/TestDynamicValue.py
The file was modifiedlldb/test/API/functionalities/dynamic_value_child_count/TestDynamicValueChildCount.py
The file was modifiedlldb/test/API/linux/add-symbols/TestTargetSymbolsAddCommand.py
The file was modifiedlldb/test/API/macosx/thread-names/TestInterruptThreadNames.py
The file was modifiedlldb/test/API/commands/expression/call-throws/TestCallThatThrows.py
The file was modifiedlldb/test/API/commands/frame/language/TestGuessLanguage.py
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_ids/TestBreakpointIDs.py
The file was modifiedlldb/test/API/commands/expression/save_jit_objects/TestSaveJITObjects.py
The file was modifiedlldb/test/API/tools/lldb-server/TestGdbRemoteThreadsInStopReply.py
The file was modifiedlldb/test/API/lang/objc/objc-struct-argument/TestObjCStructArgument.py
The file was modifiedlldb/test/API/python_api/objc_type/TestObjCType.py
The file was modifiedlldb/test/API/lang/objc/objc-builtin-types/TestObjCBuiltinTypes.py
The file was modifiedlldb/test/API/lang/objc/objc-ivar-stripped/TestObjCIvarStripped.py
The file was modifiedlldb/test/API/python_api/value/empty_class/TestValueAPIEmptyClass.py
The file was modifiedlldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py
The file was modifiedlldb/test/API/functionalities/breakpoint/cpp_exception/TestCPPExceptionBreakpoint.py
The file was modifiedlldb/test/API/linux/mix-dwo-and-regular-objects/TestMixedDwarfBinary.py
The file was modifiedlldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py
The file was modifiedlldb/test/API/lang/cpp/global_variables/TestCPPGlobalVariables.py
The file was modifiedlldb/test/API/python_api/sbvalue_persist/TestSBValuePersist.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setBreakpoints.py
The file was modifiedlldb/test/API/functionalities/mtc/simple/TestMTCSimple.py
The file was modifiedlldb/test/API/commands/process/launch-with-shellexpand/TestLaunchWithShellExpand.py
The file was modifiedlldb/test/API/lang/cpp/stl/TestSTL.py
The file was modifiedlldb/test/API/tools/lldb-vscode/launch/TestVSCode_launch.py
The file was modifiedlldb/test/API/commands/frame/var/TestFrameVar.py
The file was modifiedlldb/test/API/functionalities/data-formatter/format-propagation/TestFormatPropagation.py
The file was modifiedlldb/test/API/functionalities/memory/read/TestMemoryRead.py
The file was modifiedlldb/test/API/functionalities/breakpoint/address_breakpoints/TestAddressBreakpoints.py
The file was modifiedlldb/test/API/lang/cpp/template/TestTemplateArgs.py
The file was modifiedlldb/test/API/commands/register/register/intel_xtended_registers/mpx_bound_violation/TestBoundViolation.py
The file was modifiedlldb/test/API/functionalities/process_group/TestChangeProcessGroup.py
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint/TestVSCode_setFunctionBreakpoints.py
The file was modifiedlldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
The file was modifiedlldb/test/API/lang/objc/objc-static-method-stripped/TestObjCStaticMethodStripped.py
The file was modifiedlldb/test/API/python_api/class_members/TestSBTypeClassMembers.py
The file was modifiedlldb/test/API/python_api/value/change_values/TestChangeValueAPI.py
The file was modifiedlldb/test/API/lang/objc/objc-super/TestObjCSuper.py
The file was modifiedlldb/test/API/functionalities/breakpoint/address_breakpoints/TestBadAddressBreakpoints.py
The file was modifiedlldb/test/API/commands/watchpoints/watchpoint_disable/TestWatchpointDisable.py
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py
The file was modifiedlldb/test/API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py
The file was modifiedlldb/test/API/python_api/name_lookup/TestNameLookup.py
The file was modifiedlldb/test/API/commands/expression/fixits/TestFixIts.py
The file was modifiedlldb/test/API/commands/watchpoints/step_over_watchpoint/TestStepOverWatchpoint.py
The file was modifiedlldb/test/API/functionalities/return-value/TestReturnValue.py
The file was modifiedlldb/test/API/tools/lldb-vscode/stackTrace/TestVSCode_stackTrace.py
The file was modifiedlldb/test/API/lang/objc/global_ptrs/TestGlobalObjects.py
The file was modifiedlldb/test/API/functionalities/source-map/TestTargetSourceMap.py
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
The file was modifiedlldb/test/API/functionalities/var_path/TestVarPath.py
The file was modifiedlldb/test/API/commands/disassemble/basic/TestFrameDisassemble.py
The file was modifiedlldb/test/API/lang/objc/ivar-IMP/TestObjCiVarIMP.py
The file was modifiedlldb/test/API/python_api/findvalue_duplist/TestSBFrameFindValue.py
The file was modifiedlldb/test/API/lang/objc/objc-ivar-offsets/TestObjCIvarOffsets.py
The file was modifiedlldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py
The file was modifiedlldb/test/API/lang/objc/objc-static-method/TestObjCStaticMethod.py
The file was modifiedlldb/test/API/lang/objc/objc-baseclass-sbtype/TestObjCBaseClassSBType.py
The file was modifiedlldb/test/API/lang/objc/objc-struct-return/TestObjCStructReturn.py
The file was modifiedlldb/test/API/tools/lldb-vscode/attach/TestVSCode_attach.py
The file was modifiedlldb/test/API/macosx/find-app-in-bundle/TestFindAppInBundle.py
The file was modifiedlldb/test/API/commands/expression/timeout/TestCallWithTimeout.py
The file was modifiedlldb/test/API/functionalities/breakpoint/consecutive_breakpoints/TestConsecutiveBreakpoints.py
The file was modifiedlldb/test/API/functionalities/value_md5_crash/TestValueMD5Crash.py
The file was modifiedlldb/test/API/macosx/universal/TestUniversal.py
The file was modifiedlldb/test/API/lang/cpp/gmodules/TestWithModuleDebugging.py
The file was modifiedlldb/test/API/commands/expression/issue_11588/Test11588.py
The file was modifiedlldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
The file was modifiedlldb/test/API/tools/lldb-server/register-reading/TestGdbRemoteGPacket.py
The file was modifiedlldb/test/API/functionalities/memory/cache/TestMemoryCache.py
The file was modifiedlldb/test/API/functionalities/breakpoint/breakpoint_hit_count/TestBreakpointHitCount.py
The file was modifiedlldb/test/API/functionalities/signal/TestSendSignal.py
The file was modifiedlldb/test/API/functionalities/breakpoint/source_regexp/TestSourceRegexBreakpoints.py
The file was modifiedlldb/test/API/lang/cpp/exceptions/TestCPPExceptionBreakpoints.py
The file was modifiedlldb/test/API/lang/objc/objc-property/TestObjCProperty.py
The file was modifiedlldb/test/API/functionalities/tsan/thread_numbers/TestTsanThreadNumbers.py
The file was modifiedlldb/test/API/lang/objc/objc-dynamic-value/TestObjCDynamicValue.py
The file was modifiedlldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py
The file was modifiedlldb/test/API/lang/c/array_types/TestArrayTypes.py
Commit ff7b5bac04fa4946935ea45214e29f267d6c1d7b by kbobyrev
[clangd] Expose Code Completion score to the client

Summary:
Make it possible for the client to adjust the ranking by using the score Clangd
calculates for the completion items.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74547
The file was modifiedclang-tools-extra/clangd/test/completion-snippets.test
The file was modifiedclang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
The file was modifiedclang-tools-extra/clangd/test/completion.test
The file was modifiedclang-tools-extra/clangd/CodeComplete.cpp
The file was modifiedclang-tools-extra/clangd/test/protocol.test
The file was modifiedclang-tools-extra/clangd/test/completion-auto-trigger.test
The file was modifiedclang-tools-extra/clangd/Protocol.h
The file was modifiedclang-tools-extra/clangd/Protocol.cpp
Commit 5ee4a03bc916d2925b9431c53b7da0d3ce7e2b9e by jeremy.morse
[debuginfo-tests][Dexter] Fix some Windows-unfriendly Dexter behaviours

These are some minor things that I've run into on Windows, largely in
error handling paths:

* Giving --lldb-executable on Windows triggers a "useless option" code
   path, which touches an attribute that only exists in the
   list_debuggers tool. Switch this to use hasattr, which will work in
   all subtools.
* We were over-decoding some text reporting errors, but only in an
   exception path
* The path to lldb on Windows needs to be quoted (even though dexter
   isn't making use of it).

Differential Revision: https://reviews.llvm.org/D74546
The file was modifieddebuginfo-tests/lit.cfg.py
The file was modifieddebuginfo-tests/dexter/dex/debugger/Debuggers.py
The file was modifieddebuginfo-tests/dexter/dex/tools/test/Tool.py
Commit 0bd6be9c3da8024b4f01218afcbf6c17618066ec by thakis
[gn build] Fix sync script on renames like "Foo.cpp" -> "LLVMFoo.cpp"

Before, the script used `git log -SFoo.cpp` to find a commit where
the number of occurrences of "Foo.cpp" changed -- but since
a patch with

  + LLVMFoo.cpp
  - Foo.cpp

contains the same number of instances of "Foo.cpp", the script
incorrectly skipped this type of rename.

As fix, look for '\bFoo\.cpp\b' instead and pass --pickaxe-regex
so that we can grep for word boundaries.

To test, check out 7531a5039fd (which renamed in llvm/lib/IR
RemarkStreamer.cpp to LLVMRemarkStreamer.cpp) and look at the output of
the script.  Before this change, it correctly assigned the addition
of LLVMRemarkStreamer.cpp to 7531a5039fd but incorrectly assigned
the removal of RemarkStreamer.cpp to b8a847c.  With this, it
correctly assigns both to 7531a5039fd.
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit 22430c9d6c4c51a3b5cbe606c7f1c5779857e6d3 by llvm-dev
[X86][SSE] Add i686-SSE2 bswap vector tests
The file was modifiedllvm/test/CodeGen/X86/bswap-vector.ll
Commit 32176133fa29389fdffe37bb26630d883ad1ecdf by llvm-dev
Move FIXME to start of comment so visual studio actually tags it. NFC.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 12e32d32d39332a678b6a7b88f2c5bd8eb70bd69 by labath
[lldb] Introduce "RegInfoBasedABI"

Summary:
This patch creates a new subclass of the ABI class in order to abstract away the
mechanism in which we "augment" register information. This enables alternate
augmentation strategies to be introduced.

All existing ABI classes have been modified to inherit from RegInfoBasedABI, but
they will be refactored in subsequent patches.

Reviewers: JDevlieghere, jasonmolenda

Subscribers: sdardis, nemanjai, kbarton, jrtc27, atanasyan, jsji, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D74243
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips64.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABIMacOSX_i386.h
The file was modifiedlldb/source/Plugins/ABI/SystemZ/ABISysV_s390x.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.h
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABISysV_arm64.h
The file was modifiedlldb/source/Plugins/ABI/Mips/ABISysV_mips.h
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc.h
The file was modifiedlldb/source/Plugins/ABI/Hexagon/ABISysV_hexagon.h
The file was modifiedlldb/source/Target/ABI.cpp
The file was modifiedlldb/source/Plugins/ABI/ARC/ABISysV_arc.h
The file was modifiedlldb/source/Plugins/ABI/ARM/ABISysV_arm.h
The file was modifiedlldb/source/Plugins/ABI/ARM/ABIMacOSX_arm.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_i386.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABIWindows_x86_64.h
The file was modifiedlldb/include/lldb/Target/ABI.h
The file was modifiedlldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.h
The file was modifiedlldb/source/Plugins/ABI/X86/ABISysV_x86_64.h
Commit a41550cff91b7fb2b56bf0e19ccb341bfd3e37b4 by thakis
attempt to fix check-clang on windows after c49866ac
The file was modifiedclang/test/Driver/arm-compiler-rt.c
Commit b2d1e002ca8a16acce7793324cdd155ef003d99f by sd.fertile
[PowerPC][NFC] Small cleanup to restore CR field code in PPCFrameLowering.

Skip the loop over the CalleSavedInfos in 'restoreCalleeSavedRegisters' when
the register is a CR field and we are not targeting 32-bit ELF. This is safe
because:
1) The helper function 'restoreCRs' returns if the target is not 32-bit ELF,
   making all the code in the loop related to CR fields dead for every other
   subtarget. This code is only called on ELF right now, but the patch
   to extend it for AIX also needs to skip 'restoreCRs'.
2) The loop will not otherwise modify the iterator, so the iterator
   manipulations at the bottom of the loop end up setting 'I' to its
   current value.

This simplifciation allows us to remove one argument from 'restoreCRs'.

Also add a helper function to determine if a register is one of the
callee saved condition register fields.
The file was modifiedllvm/lib/Target/PowerPC/PPCFrameLowering.cpp
Commit 7a0e98bc74a11b160c3eb0b5a52e9925c7038e3e by francesco.petrogalli
[llvm][lldb] Update links to ABI for the Arm Architecture. [NFC]
The file was modifiedlldb/source/Plugins/ABI/AArch64/ABIMacOSX_arm64.cpp
The file was modifiedllvm/docs/LangRef.rst
Commit 5b08eaf2b717b93b2cb9cb8f6f4d6b0abd14db93 by spatel
[VectorCombine] add more extract-binop tests; NFC

See D74495.
The file was modifiedllvm/test/Transforms/VectorCombine/X86/extract-binop.ll
Commit 578c13d13c42d20ada6ccadacccdf814caaf43b7 by a.bataev
[OPENMP]Fix the test, NFC.
The file was modifiedopenmp/libomptarget/test/offloading/parallel_offloading_map.c
Commit d3551516ee8543bf7e50d11905c576c8cc108b16 by spatel
[VectorCombine] adjust tests for extract-binop; NFC

We want the extra-use tests to be consistent with the
earlier single-use tests and be as cheap as possible
in vector form to show cost model edge cases. So use
i8 and extract from element 0 since that should be
cheap for all x86 targets.
The file was modifiedllvm/test/Transforms/VectorCombine/X86/extract-binop.ll
Commit 715783d415fe60be0230cbdf53ffae5adaa87950 by herhut
[MLIR][GPU] Implement initial mapping from loop.parallel to gpu.launch.

Summary:
To unblock other work, this implements basic lowering based on mapping
attributes that have to be provided on all loop.parallel. The lowering
does not yet support reduce.

Differential Revision: https://reviews.llvm.org/D73893
The file was addedmlir/test/Conversion/LoopsToGPU/parallel_loop.mlir
The file was modifiedmlir/include/mlir/Conversion/LoopsToGPU/LoopsToGPU.h
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
Commit 18789bfe3a39f69f6cfe6490a24a61ea2ff0b5af by a.bataev
[OPENMP50]Fix handling of clauses in parallel master taskloop directive.

We need to capture correctly the value of num_tasks clause and should
not try to emit the if clause at all in the task region.
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
Commit 0ec57972967dfb43fc022c2e3788be041d1db730 by john.brawn
[ARM] Fix infinite loop when lowering STRICT_FP_EXTEND

If the target has FP64 but not FP16 then we have custom lowering for FP_EXTEND
and STRICT_FP_EXTEND with type f64. However if the extend is from f32 to f64 the
current implementation will cause in infinite loop for STRICT_FP_EXTEND due to
emitting a merge_values of the original node which after replacement becomes a
merge_values of itself.

Fix this by not doing anything for f32 to f64 extend when we have FP64, though
for STRICT_FP_EXTEND we have to do the strict-to-nonstrict mutation as that
doesn't happen automatically for opcodes with custom lowering.

Differential Revision: https://reviews.llvm.org/D74559
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/ARM/fp-intrinsics.ll
Commit 9cb227f561f4e5491840694580abbe7c0123b358 by gclayton
Stop emitting a breakpoint for each location in a breakpoint when responding to breakpoint commands.

Summary: The VS Code DAP expects on response for each breakpoint that was requested. If we responsd with multiple entries for one breakpoint the VS Code UI gets out of date. Currently the VS code DAP doesn't handle one breakpoint with multiple locations. If this ever gets fixed we can modify our code.

Reviewers: labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D73665
The file was addedlldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/lldbvscode_testcase.py
The file was addedlldb/test/API/tools/lldb-vscode/breakpoint-events/Makefile
The file was modifiedlldb/tools/lldb-vscode/LLDBUtils.h
The file was modifiedlldb/tools/lldb-vscode/SourceBreakpoint.cpp
The file was modifiedlldb/tools/lldb-vscode/JSONUtils.h
The file was modifiedlldb/tools/lldb-vscode/JSONUtils.cpp
The file was addedlldb/test/API/tools/lldb-vscode/breakpoint-events/foo.cpp
The file was addedlldb/test/API/tools/lldb-vscode/breakpoint-events/main.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
The file was modifiedlldb/tools/lldb-vscode/BreakpointBase.h
The file was modifiedlldb/tools/lldb-vscode/FunctionBreakpoint.cpp
The file was modifiedlldb/tools/lldb-vscode/LLDBUtils.cpp
The file was addedlldb/test/API/tools/lldb-vscode/breakpoint-events/foo.h
The file was modifiedlldb/tools/lldb-vscode/BreakpointBase.cpp
The file was modifiedlldb/tools/lldb-vscode/ExceptionBreakpoint.cpp
Commit 21d09ccf268dc071d452b0207a3dd91228a51da3 by Tatyana Krasnukha
[lldb-vscode] Ensure that target matches the executable file

This commit fixes an issue with lldb-vscode failing to run programs that
use different architecture/platform than the "empty" in the target.
Original implementation was creating a default target without specifying
the target architecture, platform or program, and then would set
executable file through SBLaunchInfo, assuming that this would update
architecture and platform accordingly. However this wasn't really
happening, and architecture and platform would remain at whatever values
were in the "empty" target. The simple solution is to create target
already for a desired architecture and platform.

Function request_attach is updated in a similar fashion.

This commit also adds new JSON properties to "launch" and "attach"
packets to allow user to override desired platform and architecture.
This might be especially important for cases where information in ELF is
not enough to derive those values correctly.

New code has a behavior similar to LLDB MI [1], where typically IDE would
specify target file with -file-exec-and-symbols, and then only do -exec-run
command that would launch the process. In lldb-vscode those two actions are
merged into one request_launch function. Similarly in the interpreter
session, user would first do "file" command, then "process launch"

Differential Revision: https://reviews.llvm.org/D70847
Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
The file was modifiedlldb/tools/lldb-vscode/lldb-vscode.cpp
The file was modifiedlldb/tools/lldb-vscode/package.json
The file was modifiedlldb/tools/lldb-vscode/VSCode.cpp
The file was modifiedlldb/tools/lldb-vscode/VSCode.h
Commit 6c73246179376442705b3a545f4e1f1478777a04 by maskray
[ELF] Fix a null pointer dereference when --emit-relocs and --strip-debug are used together

Fixes https://bugs.llvm.org//show_bug.cgi?id=44878

When --strip-debug is specified, .debug* are removed from inputSections
while .rel[a].debug* (incorrectly) remain.

LinkerScript::addOrphanSections() requires the output section of a relocated
InputSectionBase to be created first.

.debug* are not in inputSections ->
output sections .debug* are not created ->
getOutputSectionName(.rel[a].debug*) dereferences a null pointer.

Fix the null pointer dereference by deleting .rel[a].debug* from inputSections as well.

Reviewed By: grimar, nickdesaulniers

Differential Revision: https://reviews.llvm.org/D74510
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/ELF/InputSection.h
The file was addedlld/test/ELF/emit-relocs-debug.s
Commit e0ca4792fa4598359dc5364bcc466f7e78616113 by a.bataev
[OPENMP50]Add cancellation support in taskloop-based directives.

According to OpenMP 5.0, cancel and cancellation point constructs are
supported in taskloop directive. Added support for cancellation in
taskloop, master taskloop and parallel master taskloop.
The file was modifiedclang/test/OpenMP/nesting_of_regions.cpp
The file was modifiedclang/lib/Serialization/ASTReaderStmt.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_ast_print.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/Serialization/ASTWriterStmt.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_codegen.cpp
The file was modifiedclang/include/clang/AST/StmtOpenMP.h
The file was modifiedclang/test/OpenMP/taskloop_ast_print.cpp
The file was modifiedclang/lib/AST/StmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/parallel_master_taskloop_codegen.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/test/OpenMP/taskloop_codegen.cpp
The file was modifiedclang/test/OpenMP/master_taskloop_ast_print.cpp
Commit cecc185166c03945f1c06f8d3e1993720f3d3c1a by ted.woodward
Add REQUIRES: x86 so this won't be run if x86 is not available.
The file was modifiedlldb/test/Shell/SymbolFile/DWARF/DW_OP_piece-smaller-than-struct.s
Commit 43b98ffed08a5691dd2d8275b8952569f55f015d by a.bataev
[OPENMP][DOCS]Update status of support constructs, NFC.
The file was modifiedclang/docs/OpenMPSupport.rst
Commit c84a0bd9adb3ad699cd6bd4bf865d8b1ea76f2b0 by gclayton
Fix buildbots by disabling this new test until I can fix it.

This tests works on Darwin. I will need to check windows and linux.
The file was modifiedlldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py
Commit c2c4f1c1202ab5d66b3cf4b1d9769f3a8572d321 by Yuanfang Chen
[openmp][cmake] passing option argument correctly

From the context, it looks like the test should not be run with `check-all`,
but it does. It turns out option argument resolving to True/False which
could not be passed down as is. There is one such example in
AddLLVM.cmake.
The file was modifiedopenmp/cmake/OpenMPTesting.cmake
Commit bfe3779459eddaf6ad869a9707c827c2a243def6 by Matthew.Arsenault
AMDGPU: Use v_perm_b32 to implement bswap

Also greatly improve i64 lowering. LegalizeIntegerTypes does the
correct narrowing if i64 isn't legal. Just workaround this for
SelectionDAG by making i64 legal and splitting in the patterns.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/bitreverse.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/test/CodeGen/AMDGPU/bswap.ll