FailedChanges

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

Summary

  1. [Gardening] Remove more dead code from IOHandler (details)
  2. Added Tool as Dependency to tests & fixed warnings (details)
  3. Upstream a few small Apple changes to debugserver - arm64_32, Catalyst (details)
  4. [yaml2obj] Move core yaml2obj code into lib and include for use in unit (details)
  5. Fixes failing test cases on Windows for rL368119 (details)
  6. Append an executable suffix to the toolchain tool paths on Windows (details)
  7. Reverts commit r368117, r368115 and r368112 (details)
  8. [X86] Limit vpermil2pd/vpermil2ps immediates to 4 bits in the assembly (details)
  9. [MachineCSE][NFC] Use 'profitable' rather than 'beneficial' to name (details)
  10. Detect HAVE_SYS_TYPES_H in lldb (details)
  11. [X86] Use isInt<8> to simplify some code. NFC (details)
  12. [X86] Allow any 8-bit immediate to be used with bt/btc/btr/bts memory (details)
  13. [RISCV] Remove duplicated logic when determining the target ABI (details)
  14. Force check prof branch_weights consistency in (details)
  15. [ARM][LowOverheadLoops] Revert after read/write (details)
  16. Re-submit r367649: Improve raw_ostream so that you can "write" colors (details)
  17. Remove inclusion of a private gmock header from a test (details)
  18. [unittests] Mark private gmock headers with IWYU pragmas. NFC (details)
  19. [clangd] Added a TextMate theme parser to the vscode extension. (details)
  20. [llvm-readelf] --notes: move 'Data size' column left by 1 (details)
  21. [ELF.h] - Check the case when e_shstrndx=SHN_XINDEX, but the (details)
  22. [obj2yaml] - MIPS: move and improve testing of the e_flags (details)
  23. [InstCombine] Recommit: Shift amount reassociation: shl-trunc-shl (details)
  24. [ELF][X86] Add --no-show-raw-insn and -soname to some i386 tests (details)
  25. [lldb][NFC] Fix typo in 368066 (details)
  26. Simplify error message output. NFC. (details)
  27. Handle /align option. (details)
  28. [ARM] Generate MVE VHADDs/VHSUBs (details)
  29. gsl::Owner/gsl::Pointer: Add implicit annotations for some std types (details)
  30. [lldb][CMake] Fix one more detail in r368066 (details)
  31. Replace llvm::MutexGuard/UniqueLock with their standard equivalents (details)
  32. [lldb][NFC] Remove commented out code in (details)
  33. [lldb][CMake] Workaround debugserver code-signing issue in generated (details)
  34. [clang] Fix mismatched args constructing AddressSpaceAttr. (details)
  35. [ELF] Fix splitting messages for duplicate symbols. (details)
  36. A more robust way of testing debug_line parser near the end of module (details)
  37. [TargetLowering] SimplifyDemandedBits - call (details)
  38. Remove support for 32-bit offsets in utility classes (5/5) (details)
  39. Replace non-recursive sys::Mutex users with std::mutex (details)
  40. [Support] Base SmartMutex on std::recursive_mutex (details)
  41. ObjectFileELF: Remove NT_*** constants (details)
  42. [Mips] Instruction `sc` now accepts symbol as an argument (details)
  43. [mips] Use isMicroMips() function to check enabled feature flag. NFC (details)
  44. [mips] Make a couple of class methods plain static functions. NFC (details)
  45. [ASTImporter] Do not import FunctionTemplateDecl in record twice. (details)
  46. [AArch64][WinCFI] Do not pair callee-save instructions in (details)
  47. [X86] EltsFromConsecutiveLoads - early out for non-byte sized memory (details)
  48. GlobalISel: factor common code from translateCall and translateInvoke. (details)
  49. [RISCV][NFC] Document RISC-V-specific assembly constraints (details)
  50. ProcessElfCore: Remove linux and freebsd NT_*** constants (details)
  51. Try to fix windows build bots after r368153. (details)
  52. [OPENMP]Add standard macro value _OPENMP for OpenMP 5.0. (details)
  53. [EarlyCSE] Add support for unary FNeg to EarlyCSE (details)
  54. [OPENMP]Set default version to OpenMP 4.5. (details)
  55. Remove LLVM mutexes from clang in favor of std::mutex (details)
  56. [UpdateTestChecks] Update tests option (details)
  57. [InstCombine] Propagate fast math flags through selects (details)
  58. [InstCombine] Add a TODO comment (details)
  59. Use forceinline. Necessary for nvcc to inline small functions within the (details)
  60. gn build: Merge r368119 (details)
  61. gn build: Merge r368158 (details)
  62. [ARM] Expand CTPOP intrinsic for MVE (details)
  63. [ExecutionContext] Return the target/process byte order. (details)
  64. [Driver] Expand the executable path in the target create output (details)
Commit 171dd2e6e5c9e17f0d06a790a5f4bf98aafd4919 by Jonas Devlieghere
[Gardening] Remove more dead code from IOHandler
Remove more dead code and reformat the file.
llvm-svn: 368116
The file was modifiedlldb/source/Core/IOHandler.cpp
Commit 5dbfca85419bda9d432ec43f7ea54d64ee2aab55 by diegof30
Added Tool as Dependency to tests & fixed warnings
Summary: Fixes
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/14002
and
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/35392/steps/build_Lld/logs/stdio
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65843
llvm-svn: 368117
The file was modifiedllvm/test/CMakeLists.txt
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.h
The file was modifiedllvm/tools/llvm-reduce/deltas/RemoveFunctions.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/Delta.cpp
The file was modifiedllvm/tools/llvm-reduce/deltas/RemoveGlobalVars.cpp
Commit 6cebeafac31ceb500494bb301e365363c3d5992a by Jason Molenda
Upstream a few small Apple changes to debugserver - arm64_32, Catalyst
Adrian's changes to support Catalyst processes and my changes to support
debugserver running on an arm64_32 device (Apple Watch Series 4, which
uses an IPL32 model on arm64 cpus).
llvm-svn: 368118
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.h
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachException.cpp
The file was modifiedlldb/tools/debugserver/source/DNB.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.mm
The file was modifiedlldb/tools/debugserver/source/DNBDefs.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachThreadList.cpp
The file was modifiedlldb/source/Target/TargetProperties.td
The file was modifiedlldb/tools/debugserver/source/DNB.cpp
The file was modifiedlldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
Commit c22d9666fc3e132de3ed121eaf42c3e7e00c7440 by alexbrachetmialot
[yaml2obj] Move core yaml2obj code into lib and include for use in unit
tests
Reviewers: jhenderson, rupprecht, MaskRay, grimar, labath
Reviewed By: rupprecht
Subscribers: gribozavr, mgrang, seiya, mgorny, sbc100, hiraditya,
aheejin, jakehehrlich, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65255
llvm-svn: 368119
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
The file was modifiedllvm/tools/yaml2obj/yaml2obj.cpp
The file was modifiedllvm/unittests/ObjectYAML/CMakeLists.txt
The file was addedllvm/lib/ObjectYAML/COFFEmitter.cpp
The file was removedllvm/tools/yaml2obj/yaml2minidump.cpp
The file was modifiedllvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
The file was addedllvm/unittests/ObjectYAML/YAML2ObjTest.cpp
The file was removedllvm/tools/yaml2obj/yaml2obj.h
The file was removedllvm/tools/yaml2obj/yaml2macho.cpp
The file was modifiedllvm/lib/ObjectYAML/CMakeLists.txt
The file was addedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was addedllvm/lib/ObjectYAML/yaml2obj.cpp
The file was removedllvm/tools/yaml2obj/yaml2coff.cpp
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.test
The file was modifiedllvm/tools/yaml2obj/CMakeLists.txt
The file was modifiedllvm/lib/ObjectYAML/LLVMBuild.txt
The file was addedllvm/test/tools/yaml2obj/invalid-docnum.test
The file was removedllvm/tools/yaml2obj/yaml2elf.cpp
The file was addedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/test/tools/yaml2obj/missing_document_tag.yaml
The file was removedllvm/tools/yaml2obj/yaml2wasm.cpp
The file was addedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was addedllvm/include/llvm/ObjectYAML/yaml2obj.h
The file was addedllvm/lib/ObjectYAML/WasmEmitter.cpp
Commit f5589508d3432495bc2773260306b58812ffe451 by alexbrachetmialot
Fixes failing test cases on Windows for rL368119
Windows test cases were failing because the executable is called
yaml2obj.exe not just yaml2obj. I removed FileCheck patterns including
yaml2obj so they start matching at the error message not the program
name.
llvm-svn: 368120
The file was modifiedllvm/test/tools/yaml2obj/section-size-content.yaml
The file was modifiedllvm/test/tools/yaml2obj/multi-doc.test
The file was modifiedllvm/test/tools/yaml2obj/missing_document_tag.yaml
The file was modifiedllvm/test/tools/yaml2obj/empty-or-invalid-doc.yaml
The file was modifiedllvm/test/tools/yaml2obj/invalid-docnum.test
Commit b4e5f016c47f85fdb9ffc9c3b5ca9e96575458b2 by gkistanova
Append an executable suffix to the toolchain tool paths on Windows
platform.
Append a default CMake suffix (CMAKE_EXECUTABLE_SUFFIX) for the build
host to the toolchain tool path when adding a LLVM external project. The
tool binary files should contain .exe suffix to run them properly on
Windows platform when building the projects.
Patch by Vlad Vereschaka.
Differential Revision: https://reviews.llvm.org/D65824
llvm-svn: 368121
The file was modifiedllvm/cmake/modules/LLVMExternalProjectUtils.cmake
Commit 989679c3711a239c73057fb5446eef937935f4ba by phosek
Reverts commit r368117, r368115 and r368112
This reverts commits:
  "Added Delta IR Reduction Tool"
"[Bugpoint redesign] Added Pass to Remove Global Variables"
"Added Tool as Dependency to tests & fixed warnings"
Reduce/remove-funcs.ll is failing on bots.
llvm-svn: 368122
The file was modifiedllvm/test/CMakeLists.txt
The file was removedllvm/tools/llvm-reduce/deltas/RemoveGlobalVars.cpp
The file was removedllvm/tools/llvm-reduce/deltas/RemoveFunctions.h
The file was removedllvm/tools/llvm-reduce/deltas/Delta.h
The file was removedllvm/test/Reduce/Inputs/remove-global-vars.sh
The file was removedllvm/tools/llvm-reduce/LLVMBuild.txt
The file was removedllvm/tools/llvm-reduce/TestRunner.cpp
The file was removedllvm/test/Reduce/remove-global-vars.ll
The file was removedllvm/docs/BugpointRedesign.md
The file was removedllvm/test/Reduce/Inputs/remove-funcs.sh
The file was removedllvm/tools/llvm-reduce/deltas/RemoveFunctions.cpp
The file was removedllvm/tools/llvm-reduce/deltas/RemoveGlobalVars.h
The file was removedllvm/tools/llvm-reduce/TestRunner.h
The file was removedllvm/test/Reduce/remove-funcs.ll
The file was removedllvm/tools/llvm-reduce/deltas/Delta.cpp
The file was modifiedllvm/tools/LLVMBuild.txt
The file was removedllvm/tools/llvm-reduce/DeltaManager.h
The file was removedllvm/tools/llvm-reduce/llvm-reduce.cpp
The file was removedllvm/tools/llvm-reduce/CMakeLists.txt
Commit 29688f4da0b62e760dcd65d607aa9a56cb1557e0 by craig.topper
[X86] Limit vpermil2pd/vpermil2ps immediates to 4 bits in the assembly
parser.
The upper 4 bits of the immediate byte are used to encode a register. We
need to limit the explicit immediate to fit in the remaining 4 bits.
Fixes PR42899.
llvm-svn: 368123
The file was modifiedllvm/test/MC/X86/x86_errors.s
The file was modifiedllvm/utils/TableGen/X86RecognizableInstr.cpp
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParserCommon.h
The file was modifiedllvm/lib/Target/X86/AsmParser/X86Operand.h
The file was modifiedllvm/lib/Target/X86/X86InstrXOP.td
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/xop-super-registers-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/xop-super-registers-2.s
Commit 02b8056cc1ace66ddc8c00c064838d11ab2f9742 by lkail
[MachineCSE][NFC] Use 'profitable' rather than 'beneficial' to name
method.
llvm-svn: 368124
The file was modifiedllvm/lib/CodeGen/MachineCSE.cpp
Commit c6551bf0133303570a9ac1d625ca3ddd0051cf1c by hhb
Detect HAVE_SYS_TYPES_H in lldb
Summary: After rL368069 I noticed that HAVE_SYS_TYPES_H is not defined
in Platform.h, or anywhere else in lldb. This change fixes that.
Reviewers: labath
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65822
llvm-svn: 368125
The file was modifiedlldb/source/Expression/UtilityFunction.cpp
The file was modifiedlldb/cmake/modules/LLDBGenerateConfig.cmake
The file was modifiedlldb/include/lldb/Host/windows/PosixApi.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUtilityFunction.cpp
The file was modifiedlldb/tools/driver/Platform.h
The file was modifiedlldb/include/lldb/Host/Config.h.cmake
The file was modifiedlldb/source/Expression/UserExpression.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp
Commit 624980037d1a77f9227d7da9de6073c27c4473d5 by craig.topper
[X86] Use isInt<8> to simplify some code. NFC
llvm-svn: 368126
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Commit f192cc587ccc314509e84f4b5fe5496daa80752f by craig.topper
[X86] Allow any 8-bit immediate to be used with bt/btc/btr/bts memory
aliases.
We have aliases that disambiguate memory forms of bt/btc/btr/bts without
suffixes to the 32-bit form. These aliases should have been updated when
the instructions were updated in r356413.
llvm-svn: 368127
The file was modifiedllvm/test/MC/X86/x86-32-coverage.s
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
Commit 371bdc9b7f25e6cde1d24c4e290eab3a973831e4 by rofirrim
[RISCV] Remove duplicated logic when determining the target ABI
We were calculating twice ilp32/lp64. Do this in one place instead.
Differential Revision: https://reviews.llvm.org/D48357
llvm-svn: 368128
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/lib/Driver/ToolChains/Arch/RISCV.cpp
Commit cb87f3734b0a554a7d3d3b2d47eb885a6d1a9bf8 by yevgeny.rouban
Force check prof branch_weights consistency in
SwitchInstProfUpdateWrapper
This patch turns on the prof branch_weights metadata consistency check
in SwitchInstProfUpdateWrapper.
If this patch causes a failure then please before reverting do report
the IR that hits the assertion and try identifying the pass that
introduces the inconsistency. We have to fix all such passes.
See also the upcoming change https://reviews.llvm.org/D61179 in the
Verifier.
Reviewers: davidx, nikic, eraman, reames, chandlerc Reviewed By: davidx
Differential Revision: https://reviews.llvm.org/D64061
llvm-svn: 368129
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit 173de037404936593a88a9235a3b4783bddef9df by sam.parker
[ARM][LowOverheadLoops] Revert after read/write
Currently we check whether LR is stored/loaded to/from inbetween the
loop decrement and loop end pseudo instructions. There's two problems
here:
- It relies on all load/store instructions being labelled as such in
tablegen.
- Actually any use of loop decrement is troublesome because the value
doesn't exist!
    So we need to check for any read/write of LR that occurs between the
two instructions and revert if we find anything.
Differential Revision: https://reviews.llvm.org/D65792
llvm-svn: 368130
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-after-read.mir
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/revert-after-write.mir
Commit cac8df1ab9521d8f432013e4d348ba24e405e6e9 by ruiu
Re-submit r367649: Improve raw_ostream so that you can "write" colors
using operator<<
The original patch broke buildbots, perhaps because it changed the
default setting whether colors are enabled or not.
llvm-svn: 368131
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/include/lld/Common/ErrorHandler.h
The file was modifiedlld/lib/Driver/DarwinLdDriver.cpp
The file was modifiedllvm/include/llvm/Support/raw_ostream.h
The file was modifiedlld/Common/ErrorHandler.cpp
The file was modifiedlld/test/COFF/color-diagnostics.test
The file was modifiedllvm/lib/Support/raw_ostream.cpp
The file was modifiedlld/COFF/DriverUtils.cpp
The file was modifiedclang/tools/diagtool/TreeView.cpp
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/DriverUtils.cpp
The file was modifiedlld/test/ELF/color-diagnostics.test
Commit 8840cd31414bf719b5605b12a14bdc32f6e91aa3 by gribozavr
Remove inclusion of a private gmock header from a test
llvm-svn: 368132
The file was modifiedclang/unittests/AST/RecursiveASTVisitorTest.cpp
Commit 843280bfe30e1b784d4a84d16c85b68d4430fab5 by ibiryukov
[unittests] Mark private gmock headers with IWYU pragmas. NFC
Summary: To prevent clangd from adding #include of those headers.
Reviewers: gribozavr
Reviewed By: gribozavr
Subscribers: kadircet, llvm-commits, cfe-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65849
llvm-svn: 368135
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-more-matchers.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-nice-strict.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-cardinalities.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-actions.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-spec-builders.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/internal/gmock-port.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-actions.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-more-actions.h
The file was modifiedllvm/utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h
Commit 57ced1e1551757a8da3aa30ef662fc4bc776dc63 by jvikstrom
[clangd] Added a TextMate theme parser to the vscode extension.
Summary: Adds a TextMate parser module to the vscode extension. It
parses a theme into an array of a pair of TextMate scopes and text
colors.
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65738
llvm-svn: 368136
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/test/assets/simpleTheme.jsonc
The file was modifiedclang-tools-extra/clangd/clients/clangd-vscode/package.json
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/test/semantic-highlighting.test.ts
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts
The file was addedclang-tools-extra/clangd/clients/clangd-vscode/test/assets/includeTheme.jsonc
Commit c310992186bd3be12fe6f93522f8124d2a413cf8 by maskray
[llvm-readelf] --notes: move 'Data size' column left by 1
readelf -n:
```
// "Data size" is not left justified
Owner                 Data size       Description
GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
```
llvm-readelf -n (before):
```
// "Data size" column shifted by 1
Owner                 Data size        Description
GNU                   0x00000010       NT_GNU_ABI_TAG (ABI version tag)
```
llvm-readelf -n (after):
```
Owner                Data size        Description
GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
```
This change is made to reduce the diff with readelf -n, so that it is
slightly easier to check what features readelf implements but we don't.
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D65847
llvm-svn: 368138
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-readobj/gnu-notes.test
Commit a74aa23065cc456673f2910b3d7d65e5db6da718 by grimar
[ELF.h] - Check the case when e_shstrndx=SHN_XINDEX, but the
corresponding sh_link is broken.
When e_shstrndx is equal to SHN_XINDEX, the index of the section string
table section should be taken from the sh_link field of the section
header at index 0.
If sh_link is broken, e.g. contains an index that is larger than number
of sections, then error is reported.
This error message was untested before.
Differential revision: https://reviews.llvm.org/D65391
llvm-svn: 368139
The file was modifiedllvm/include/llvm/Object/ELF.h
The file was modifiedllvm/test/Object/invalid.test
Commit 12d21fc1284560c533d5a92c0966742d2a252a5b by grimar
[obj2yaml] - MIPS: move and improve testing of the e_flags
Mips/elf-flags.yaml and Mips/elf-abi.yaml are tests that intention was
to show that yaml2obj/obj2yaml are able to read/dump MIPS specific
e_flags.
They were not complete, contained an excessive YAML parts and were
placed at a wrong location.
I removed them and created the obj2yaml/elf-mips-eflags.yaml instead.
Differential revision: https://reviews.llvm.org/D65807
llvm-svn: 368140
The file was removedllvm/test/Object/Mips/elf-abi.yaml
The file was removedllvm/test/Object/Mips/elf-flags.yaml
The file was addedllvm/test/tools/obj2yaml/elf-mips-eflags.yaml
Commit 9bece444dd5056ba437623d4d2baa5b237c9980c by lebedev.ri
[InstCombine] Recommit: Shift amount reassociation: shl-trunc-shl
pattern
This was initially committed in r368059 but got reverted in r368084
because there was a faulty logic in how the shift amounts type mismatch
was being handled (it simply wasn't).
I've added an explicit bailout before we SimplifyAddInst() - i don't
think it's designed in general to handle differently-typed values, even
though the actual problem only comes from ConstantExpr's.
I have also changed the common type deduction, to not just blindly look
past zext, but try to do that so that in the end types match.
Differential Revision: https://reviews.llvm.org/D65380
llvm-svn: 368141
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
The file was modifiedllvm/include/llvm/IR/PatternMatch.h
The file was modifiedllvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll
Commit 5ebee2558bd82511b8c2cb56f5f35113f94bb0c9 by maskray
[ELF][X86] Add --no-show-raw-insn and -soname to some i386 tests
llvm-svn: 368142
The file was modifiedlld/test/ELF/relocation-i686.s
The file was modifiedlld/test/ELF/i386-tls-gdiele.s
The file was modifiedlld/test/ELF/relocation-copy-i686.s
The file was modifiedlld/test/ELF/gnu-ifunc-plt-i386.s
The file was modifiedlld/test/ELF/gnu-ifunc-i386.s
The file was modifiedlld/test/ELF/plt-i686.s
The file was modifiedlld/test/ELF/i386-gotoff-shared.s
Commit efd0e11b26de2a8273f4248f10c017355d435c02 by stefan.graenitz
[lldb][NFC] Fix typo in 368066
Differential Revision: https://reviews.llvm.org/D65797
llvm-svn: 368143
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit 6c5fc94093d382494ca8e87627559517edf761e4 by ruiu
Simplify error message output. NFC.
Differential Revision: https://reviews.llvm.org/D65855
llvm-svn: 368144
The file was modifiedlld/Common/ErrorHandler.cpp
Commit e6a33e1f11bfd0cdedcd6ea71c378d6611b3922c by ruiu
Handle /align option.
Differential Revision: https://reviews.llvm.org/D65736
llvm-svn: 368145
The file was addedlld/test/COFF/align.s
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedlld/COFF/Config.h
Commit 30dcae0956112f2333747347650b76405c30a499 by oliver.cruickshank
[ARM] Generate MVE VHADDs/VHSUBs
llvm-svn: 368146
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was addedllvm/test/CodeGen/Thumb2/mve-vhaddsub.ll
Commit 23092ca9bac2b0569ce800dab5c428e1378b6017 by M.Gehre
gsl::Owner/gsl::Pointer: Add implicit annotations for some std types
Summary: Hard code gsl::Owner/gsl::Pointer for std types. The paper
mentions some types explicitly. Generally, all containers and their
iterators are covered. For iterators, we cover both the case that they
are defined as an nested class or as an typedef/using. I have started to
test this implementation against some real standard library
implementations, namely libc++ 7.1.0, libc++ 8.0.1rc2, libstdc++ 4.6.4,
libstdc++ 4.8.5, libstdc++ 4.9.4, libstdc++ 5.4.0, libstdc++ 6.5.0,
libstdc++ 7.3.0, libstdc++ 8.3.0 and libstdc++ 9.1.0.
The tests are currently here

https://github.com/mgehre/llvm-project/blob/lifetime-ci/lifetime-attr-test.sh

https://github.com/mgehre/llvm-project/blob/lifetime-ci/lifetime-attr-test.cpp
I think due to their dependency on a standard library, they are not a
good fit for clang/test/. Where else could I put them?
Reviewers: gribozavr, xazax.hun
Subscribers: rnkovacs, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64448
llvm-svn: 368147
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/lib/Sema/SemaTemplate.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was addedclang/test/SemaCXX/attr-gsl-owner-pointer-std.cpp
Commit befde45a6f606429cadd1ea5d57679c1955ef2a8 by stefan.graenitz
[lldb][CMake] Fix one more detail in r368066
Differential Revision: https://reviews.llvm.org/D65797
llvm-svn: 368148
The file was modifiedlldb/cmake/caches/Apple-lldb-Xcode.cmake
Commit 3d5360a4398bfa6878f94ca9ac55bc568692c765 by benny.kra
Replace llvm::MutexGuard/UniqueLock with their standard equivalents
All supported platforms have <mutex> now, so we don't need our own
copies any longer. No functionality change intended.
llvm-svn: 368149
The file was modifiedllvm/lib/Support/ManagedStatic.cpp
The file was modifiedclang/tools/libclang/CIndexer.cpp
The file was modifiedllvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp
The file was removedllvm/include/llvm/Support/MutexGuard.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXUtilities.cpp
The file was modifiedllvm/include/llvm/IR/ValueMap.h
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/lib/ExecutionEngine/ExecutionEngine.cpp
The file was modifiedllvm/lib/ExecutionEngine/GDBRegistrationListener.cpp
The file was modifiedllvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
The file was removedllvm/include/llvm/Support/UniqueLock.h
The file was modifiedllvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
The file was modifiedllvm/lib/Support/Unix/Process.inc
The file was modifiedclang/tools/libclang/Indexing.cpp
The file was modifiedllvm/include/llvm/Support/UnicodeCharRanges.h
The file was modifiedllvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp
The file was modifiedllvm/lib/Support/Unix/Signals.inc
The file was modifiedclang/lib/Frontend/PrecompiledPreamble.cpp
Commit 44b8e5f4a6d8d45f4d56d7f9b4c8a342cc546b72 by Raphael Isemann
[lldb][NFC] Remove commented out code in
ClangASTContext::AddMethodToCXXRecordType
llvm-svn: 368150
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit f2410017930651c2eabf62506c10f50986a561bc by stefan.graenitz
[lldb][CMake] Workaround debugserver code-signing issue in generated
Xcode project
Summary: Explicitly code-sign the LLDB.framework copy of debugserver in
the build-tree. This is necessary, because the Xcode-specific logic in
`llvm_codesign` [1] has the side-effect that Xcode code-signs after
post-build steps (here: after copying debugserver over into the
framework). The special case for Xcode was necessary to avoid
double-signing errors in the past (see D55116 and D55816).
[1]
https://github.com/llvm/llvm-project/blob/36fb93982f0e/llvm/cmake/modules/AddLLVM.cmake#L1676
Reviewers: jingham, davide, JDevlieghere, teemperor
Reviewed By: JDevlieghere
Subscribers: beanz, mgorny, lldb-commits, #lldb
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D65566
llvm-svn: 368151
The file was modifiedlldb/tools/debugserver/source/CMakeLists.txt
Commit 45f721ff059455239bdf54a23ede28ff8db94c14 by bikineev
[clang] Fix mismatched args constructing AddressSpaceAttr.
Differential Revision: https://reviews.llvm.org/D65589
llvm-svn: 368152
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/unittests/AST/ASTTraverserTest.cpp
Commit da41e2107e3f6d954885c5f4e68b7410879c4443 by ikudrin
[ELF] Fix splitting messages for duplicate symbols.
D65213 (rL367536) does not work for the case when a source file path
includes subdirectories.
Differential Revision: https://reviews.llvm.org/D65810
llvm-svn: 368153
The file was addedlld/test/ELF/vs-diagnostics-duplicate-split.s
The file was modifiedlld/Common/ErrorHandler.cpp
Commit b53203ec1f1bffb36933f407a87d5350b4190a43 by pavel
A more robust way of testing debug_line parser near the end of module
Summary: While removing -z separate-code makes lld produce place the
code at the end of a segment right now, it's possible that future
changes to the linker will change that, thereby removing the coverage
for the changes in r367983. This patch adds a linker script to one of
the line table tests, which ensures that the code (and its line table)
will be placed at the very end of a module.
Reviewers: MaskRay
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D65789
llvm-svn: 368154
The file was modifiedlldb/lit/SymbolFile/DWARF/debug-line-basic.s
The file was addedlldb/lit/SymbolFile/DWARF/Inputs/debug-line-basic.script
Commit 0eafe011cab843adeecc3363bfc4acb37fcd2960 by llvm-dev
[TargetLowering] SimplifyDemandedBits - call
SimplifyMultipleUseDemandedBits for ISD::VECTOR_SHUFFLE
In particular this helps the SSE vector shift cvttps2dq+add+shl pattern
by avoiding the need for zeros in shuffle style extensions to vXi32
types as we'll be shifting out those bits anyway
llvm-svn: 368155
The file was modifiedllvm/test/CodeGen/X86/pmul.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-sub128-widen.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-128.ll
The file was modifiedllvm/test/CodeGen/X86/packss.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-256.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/urem-seteq-vec-nonsplat.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-sub128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-128.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-256.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-shl-256.ll
Commit 45ee93323ba69b3ad01e9a9a70c6e61d5f9d2df5 by ikudrin
Remove support for 32-bit offsets in utility classes (5/5)
Differential Revision: https://reviews.llvm.org/D65641
llvm-svn: 368156
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
The file was modifiedllvm/unittests/Support/DataExtractorTest.cpp
The file was modifiedllvm/lib/Support/DataExtractor.cpp
The file was modifiedllvm/include/llvm/Support/DataExtractor.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
Commit e57b60f321024064353b46489cfb25ee01fd55d7 by benny.kra
Replace non-recursive sys::Mutex users with std::mutex
Also remove a use of sys::MutexImpl, that's just evil. No functionality
change intended.
llvm-svn: 368157
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/include/clang/Frontend/ASTUnit.h
The file was modifiedclang/tools/libclang/Indexing.cpp
The file was modifiedllvm/unittests/IR/ValueMapTest.cpp
Commit ea134f221f2a5c075b7539876a444b4a07362912 by benny.kra
[Support] Base SmartMutex on std::recursive_mutex
- Remove support for non-recursive mutexes. This was unused.
- The std::recursive_mutex is now created/destroyed unconditionally.
Locking is still only done if threading is enabled.
- Alias SmartScopedLock to std::lock_guard.
This should make no semantic difference on the existing APIs.
llvm-svn: 368158
The file was modifiedllvm/lib/Support/CMakeLists.txt
The file was removedllvm/lib/Support/Unix/Mutex.inc
The file was modifiedllvm/include/llvm/Support/Mutex.h
The file was removedllvm/lib/Support/Windows/Mutex.inc
The file was removedllvm/lib/Support/Mutex.cpp
Commit 8280730f96cf4869b6b3dfd2f5b27abf4f9a81a0 by pavel
ObjectFileELF: Remove NT_*** constants
llvm now has definitions of those in BinaryFormat/ELF.h. Use those
instead.
llvm-svn: 368159
The file was modifiedlldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Commit 9f2e076f2730e9f855ef06bcdd47013ad70420b8 by simon
[Mips] Instruction `sc` now accepts symbol as an argument
Function MipsAsmParser::expandMemInst() did not properly handle
instruction `sc` with a symbol as an argument because first argument
would be counted twice. We add additional checks and handle this case
separately.
Patch by Mirko Brkusanin.
Differential Revision: https://reviews.llvm.org/D64252
llvm-svn: 368160
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
The file was addedllvm/test/MC/Mips/sym-sc.s
The file was modifiedllvm/lib/Target/Mips/MipsTargetStreamer.h
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Commit 8a7c0e7c0a5686d789d2157d741e8ef7bfd8a912 by simon
[mips] Use isMicroMips() function to check enabled feature flag. NFC
llvm-svn: 368161
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Commit e5fa049efaf331cb3175703da59c2875bb652cca by simon
[mips] Make a couple of class methods plain static functions. NFC
llvm-svn: 368162
The file was modifiedllvm/lib/Target/Mips/MipsTargetStreamer.h
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
Commit e9719f9e9e96c8822acdefc3dfaf73a6b8fe5a15 by 1.int32
[ASTImporter] Do not import FunctionTemplateDecl in record twice.
Summary: For functions there is a check to not duplicate the declaration
if it is in a record (class). For function templates there was no
similar check, if a template (in the same class) was imported multiple
times the FunctionTemplateDecl was created multiple times with the same
templated FunctionDecl. This can result in problems with the declaration
chain.
Reviewers: martong, a.sidorin, shafik, a_sidorin
Reviewed By: a_sidorin
Subscribers: rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D65203
llvm-svn: 368163
The file was modifiedclang/unittests/AST/ASTImporterTest.cpp
The file was modifiedclang/lib/AST/ASTImporter.cpp
Commit 1d2bfa4a868b52aa19a597427947eb508e8da791 by sander.desmalen
[AArch64][WinCFI] Do not pair callee-save instructions in
LoadStoreOptimizer
Prevent the LoadStoreOptimizer from pairing any load/store instructions
with instructions from the prologue/epilogue if the CFI information has
encoded the operations as separate instructions.  This would otherwise
lead to a mismatch of the actual prologue size from the size as recorded
in the Windows CFI.
Reviewers: efriedma, mstorsjo, ssijaric
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D65817
llvm-svn: 368164
The file was modifiedllvm/test/DebugInfo/COFF/AArch64/arm64-register-variables.ll
The file was modifiedllvm/test/CodeGen/AArch64/wineh1.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrInfo.cpp
The file was modifiedllvm/test/CodeGen/AArch64/wineh2.mir
Commit d52bc482a50ca8821cab69173a44b7ae170f70ba by llvm-dev
[X86] EltsFromConsecutiveLoads - early out for non-byte sized memory
(PR42909)
Don't attempt to merge loads for types that aren't modulo 8-bits.
llvm-svn: 368165
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was addedllvm/test/CodeGen/X86/pr42909.ll
Commit 3c10f346dcd407b65f9ce4b82f3fbbc9ed43d7a2 by Tim Northover
GlobalISel: factor common code from translateCall and translateInvoke.
NFC.
llvm-svn: 368166
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h
Commit 4f6737565b3194c8133b2c92b07563d1eb7ba84e by selliott
[RISCV][NFC] Document RISC-V-specific assembly constraints
llvm-svn: 368167
The file was modifiedllvm/docs/LangRef.rst
Commit b9f31b6f4e46f5c7471b32c3b1b1e11aa2ec880c by pavel
ProcessElfCore: Remove linux and freebsd NT_*** constants
These are already defined in llvm/BinaryFormat/ELF.h. Leaving the NetBSD
and OpenBSD constants as-is, as they have no llvm counterparts.
llvm-svn: 368168
The file was modifiedlldb/source/Plugins/Process/elf-core/RegisterUtilities.h
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
Commit 0e1fea675407c2d34096b109e9a460f23fbd59d7 by ikudrin
Try to fix windows build bots after r368153.
llvm-svn: 368169
The file was modifiedlld/test/ELF/vs-diagnostics-duplicate-split.s
Commit 2e3a07fcb87e44140ff1a203da4d77eff1a78e77 by a.bataev
[OPENMP]Add standard macro value _OPENMP for OpenMP 5.0.
According to the OpenMP standard, compiler must define _OPENMP macro,
which has value in format yyyymm, where yyyy is the year of the standard
and mm is the month of the standard. For OpenMP 5.0 this value must be
set to 201811.
llvm-svn: 368170
The file was modifiedclang/test/OpenMP/driver.c
The file was modifiedclang/test/OpenMP/predefined_macro.c
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
Commit 303b6dbfb47c6e7cc346468aeb0710c2877150e8 by cameron.mcinally
[EarlyCSE] Add support for unary FNeg to EarlyCSE
Differential Revision: https://reviews.llvm.org/D65815
llvm-svn: 368171
The file was modifiedllvm/lib/Transforms/Scalar/EarlyCSE.cpp
The file was modifiedllvm/test/Transforms/EarlyCSE/floatingpoint.ll
Commit a06155ddc4edb22f44425f2cf6a2038f4e4c4546 by a.bataev
[OPENMP]Set default version to OpenMP 4.5.
Since clang fully supports OpenMP 4.5, set the default version to 4.5
instead of 3.1.
llvm-svn: 368172
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Frontend/InitPreprocessor.cpp
The file was modifiedclang/test/OpenMP/driver.c
The file was modifiedclang/test/OpenMP/parallel_default_messages.cpp
Commit 762bc3351f29b5a71dca31ddd114034a383ff0bd by benny.kra
Remove LLVM mutexes from clang in favor of std::mutex
None of those need to be recursive mutexes. No functionality change
intended.
llvm-svn: 368173
The file was modifiedclang/lib/Frontend/PrecompiledPreamble.cpp
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/lib/DirectoryWatcher/linux/DirectoryWatcher-linux.cpp
The file was modifiedclang/tools/libclang/CIndexer.h
The file was modifiedclang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp
Commit 7169ea391a7cc21da171e1c8acb5731e390d6852 by david.bolvansky
[UpdateTestChecks] Update tests option
Summary: Port of new feature introduced https://reviews.llvm.org/D65610
to other update scripts.
- update_*_checks.py: add an alias -u for --update-only
- port --update-only to other update_*_test_checks.py scripts
- update script aborts if the test file was generated by another
update_*_test_checks.py utility
Reviewers: lebedev.ri, RKSimon, MaskRay, reames, gbedwell
Reviewed By: MaskRay
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65793
llvm-svn: 368174
The file was modifiedllvm/utils/update_cc_test_checks.py
The file was modifiedllvm/utils/update_analyze_test_checks.py
The file was modifiedllvm/utils/update_test_checks.py
The file was modifiedllvm/utils/update_mir_test_checks.py
The file was modifiedllvm/utils/update_llc_test_checks.py
The file was modifiedllvm/utils/UpdateTestChecks/common.py
Commit 8e8b295835593dc2f3a5d56f91a0e6436dad104b by jay.foad
[InstCombine] Propagate fast math flags through selects
Summary: In SimplifySelectsFeedingBinaryOp, propagate fast math flags
from the outer op into both arms of the new select, to take advantage of
simplifications that require fast math flags.
Reviewers: mcberg2017, majnemer, spatel, arsenm, xbolva00
Subscribers: wdng, javed.absar, kristof.beyls, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65658
llvm-svn: 368175
The file was modifiedllvm/test/Transforms/InstCombine/select_arithmetic.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Commit 7d4ab7751d6c99f0bf34503ea83ac6189103e421 by jay.foad
[InstCombine] Add a TODO comment
llvm-svn: 368176
The file was modifiedllvm/test/Transforms/InstCombine/select_arithmetic.ll
Commit ae0178bee72c201ba3b834adae6bffedec6ec04e by jonathanchesterfield
Use forceinline. Necessary for nvcc to inline small functions within the
bitcode library
Summary:
[libomptarget] Use forceinline. Necessary for nvcc to inline small
functions within the bitcode library Suggested in D65836
Reviewers: ABataev, jdoerfert, grokos, gregrodgers
Subscribers: openmp-commits
Tags: #openmp
Differential Revision: https://reviews.llvm.org/D65876
llvm-svn: 368177
The file was modifiedopenmp/libomptarget/deviceRTLs/nvptx/src/option.h
Commit 3a7c85a8d4242ba535c7b90ee81bb4a404e61556 by nicolasweber
gn build: Merge r368119
llvm-svn: 368178
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ObjectYAML/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/yaml2obj/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ObjectYAML/BUILD.gn
Commit e75ccf85fe8a04e59e72613bc3d93c88f82b6d24 by nicolasweber
gn build: Merge r368158
llvm-svn: 368179
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
Commit 4d4eefda6c215f4b41aede55d50073c7a3bbeb64 by oliver.cruickshank
[ARM] Expand CTPOP intrinsic for MVE
llvm-svn: 368180
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was addedllvm/test/CodeGen/Thumb2/mve-ctpop.ll
Commit af0c828a1ef2a85e8e98d97e8f72d985ed08fe6f by Jonas Devlieghere
[ExecutionContext] Return the target/process byte order.
Currently ExecutionContext::GetByteOrder() always returns the host byte
order. This seems like a simple mistake: the return keyword appears to
have been omitted by accident. This patch fixes that and adds a unit
test.
Bugreport: https://llvm.org/PR37950
Differential revision: https://reviews.llvm.org/D48704
llvm-svn: 368181
The file was addedlldb/unittests/Target/ExecutionContextTest.cpp
The file was modifiedlldb/source/Target/ExecutionContext.cpp
The file was modifiedlldb/unittests/Target/CMakeLists.txt
Commit 9f75418e1a7edf8f4951e8d86d42bcf97ca64671 by Jonas Devlieghere
[Driver] Expand the executable path in the target create output
Resolve the path in the target create output. This is nice when passing
relative paths to the lldb command line driver.
  $ lldb ./binary
(lldb) target create "./binary"
Current executable set to '/absolute/path/to/binary' (x86_64).
This change only affects the target create output and does not change
the debugger's behavior. It doesn't resolve symbolic links so it won't
cause confusing when debugging something like clang++ that's symlinked
to clang.
Differential revision: https://reviews.llvm.org/D65611
llvm-svn: 368182
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was addedlldb/lit/Driver/TestTarget.test