FailedChanges

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

Summary

  1. lldb-sanitized: Move MAX_PARALLEL_TESTS initialization to a place where (details)
Commit 0c746ef9b47dd5f8bd88fcef3d769b4a8ee0bc09 by Adrian Prantl
lldb-sanitized: Move MAX_PARALLEL_TESTS initialization to a place where
it can actually affect the cmake invocation.
The file was modifiedzorg/jenkins/jobs/jobs/lldb-cmake-sanitized

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

Summary

  1. [PowerPC] Legalize saturating vector add/sub (details)
  2. [llvm-locstats] Add the --compare option (details)
  3. Further implement CWG 2292 (details)
  4. [RISCV] Fix test for inline asm z constraint modifier (details)
  5. TableGen/GlobalISel: Don't reconstruct CodeGenRegBank (details)
  6. TableGen/GlobalISel: Don't take reference to temporary values (details)
  7. TableGen: Delete some copy constuctors (details)
  8. GlobalISel: Fix narrowScalar for G_ANYEXT results (details)
  9. AMDGPU: Partially directly select llvm.amdgcn.interp.p1.f16 (details)
  10. GlobalISel: Implement lower for G_BITCAST (details)
  11. [mlir] LLVM import: handle function-typed constants (details)
  12. [FPEnv] Address post-commit review comment for D71467 (details)
  13. [clangd] Show hower info for expressions (details)
  14. [ELF] Avoid false-positive assert in getErrPlace() (details)
  15. [mlir][EDSC] Refactor dependencies involving EDSCs. (details)
  16. [gn build] (manually) port b4a99a061f51 better (details)
  17. [clangd] Add a ruler after header in hover (details)
  18. [clangd] Rearrange type, returntype and parameters in hover card (details)
  19. [clang] New __attribute__((__clang_arm_mve_strict_polymorphism)). (details)
  20. [gn build] find mistakes like the one fixed in 72b5989e0d1 at build time (details)
  21. [clangd] Fix windows buildbots (details)
  22. Restore "[ThinLTO] Add additional ThinLTO pipeline testing with new PM" (details)
  23. [llvm-readobj][test] - Cleanup SHT_RELR sections testing. (details)
  24. [mlir][Linalg] NFC - Hotfix for gcc-5 build (details)
  25. [CMake] Enable -qfuncsect when building with IBM XL (details)
  26. DWARFDebugLine.cpp: Format unknown line number standard opcodes (details)
  27. [ORC] Update lazyReexports to support aliases with different symbol (details)
  28. [ORC] Simplify use of lazyReexports with LLJIT. (details)
  29. [mlir][Linalg] NFC - Cleanup Linalg Pass locations and namespacing (details)
  30. [mlir][Linalg] NFC - Hotfix for gcc-5 build (details)
  31. [InstCombine] reassociate fsub+fsub into fsub+fadd (details)
  32. [Loop Peeling] Add possibility to enable peeling on loop nests. (details)
  33. [ThinLTO] Always import constants (details)
  34. Fix bot by adjusting wildcard matching (details)
  35. Revert "[mlir] Create a gpu.module operation for the GPU Dialect." (details)
  36. [clangd] Extract string literals in macro arguments to unbreak gcc (details)
  37. [ARM][MVE][Intrinsics] Add VMINAQ, VMINNMAQ, VMAXAQ, VMAXNMAQ (details)
  38. Replace CLANG_SPAWN_CC1 env var with a driver mode flag (details)
  39. [gn build] Reformat all build files (details)
  40. Revert "Revert rG6078f2fedcac5797ac39ee5ef3fd7a35ef1202d5 - (details)
  41. [ORC] Set setCloneToNewContextOnEmit on LLJIT's transform layer when (details)
  42. [Mips] Add FileCheck to a test that just tested for a crash. (details)
  43. [gn build] make "gn format" comment slightly more concise (details)
  44. [gn build] add multi-line forcing comments in more places (details)
  45. [gn build] re-run "gn format" with trunk gn (details)
  46. [docs][ORC] Update the laziness section of the ORCv2 design doc. (details)
  47. [DWARF] Emit DW_AT_call_return_pc as an address (details)
  48. DebugInfo: Factor out logic to update locations in MD_loop metadata, NFC (details)
  49. Work around PR43337: don't try to use the vec_sel overloads for vector (details)
  50. PR17164: Change clang's default behavior from (details)
  51. [NFC][IndVarSimplify] remove duplicate code in (details)
  52. [mlir] Add shaped container component type interface (details)
  53. [NFC] Refactor InlineResult for readability (details)
  54. [MachineScheduler][NFC] Don't swap when we can't cluster (details)
  55. lldb: Run TestCrossDSOTailCalls.py and TestCrossObjectTailCalls.py on (details)
  56. [libc++] Make SFINAE'd member functions in string mutually exclusive. (details)
  57. [libc++] Explicitly mark basic_string<...>::npos with default (details)
  58. [libc++] Explicitly enumerate std::string external instantiations - (details)
  59. [BasicBlock] add helper getPostdominatingDeoptimizeCall (details)
  60. DWARF: Simplify the way the return PC is attached to call site tags, NFC (details)
  61. [test] Move call-site-entry-linking.test into test/tools/dsymutil/X86 (details)
  62. [libc++] Optimize basic_string::operator=(const basic_string&) for SSO (details)
  63. [libc++] Fix parsing <string> in C++03. (details)
  64. Revert "[OPENMP]Do not use RTTI by default for NVPTX devices." (details)
  65. [lldb/Debugger] Rename IO handler methods to be more meaningful (NFC) (details)
  66. Revert "Allow system header to provide their own implementation of some (details)
  67. [COFF] Warn that LLD does not support /PDBSTRIPPED: (details)
  68. [libcxx] Use mtx_plain | mtx_recursive following C11 API (details)
  69. [lldb/Utils] Patch all variables used by lldb-dotest (details)
  70. [IR] Module's NamedMD table needn't be 'void *' (details)
  71. GlobalISel: Handle more cases of G_SEXT narrowing (details)
  72. AMDGPU: Remove custom node for exports (details)
  73. AMDGPU/GlobalISel: Select exp with patterns (details)
  74. [CodeExtractor] Transfer debug info to extracted function (details)
  75. [OPENMP]Use regular processing of vtable used when TU is a prefix. (details)
  76. Revert "Further implement CWG 2292" (details)
  77. Process BUNDLE in tail duplication (details)
  78. [lldb/Utils] Patch all variables used by lldb-dotest (2/2) (details)
  79. [lldb/Utils] Patch all variables used by lit (3/3) (details)
  80. Fix pack deduction to only deduce the arity of packs that are actually (details)
  81. [LLDB] Add ObjectFileWasm plugin for WebAssembly debugging (details)
Commit 9c64f04df8ecbcad2c527c33f5ef8a7993842001 by nemanja.i.ibm
[PowerPC] Legalize saturating vector add/sub
These intrinsics and the corresponding ISD nodes were recently added.
PPC has instructions that do this for vectors. Legalize them and add
patterns to emit the satuarting instructions.
Differential revision: https://reviews.llvm.org/D71940
The file was modifiedllvm/lib/Target/PowerPC/PPCInstrAltivec.td
The file was addedllvm/test/CodeGen/PowerPC/saturating-intrinsics.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 3b8ef7876ec797a03569184264e7ba4e5e046b68 by djordje.todorovic
[llvm-locstats] Add the --compare option
Draw a plot showing the difference in debug loc coverage on two files
provided.
Differential Revision: https://reviews.llvm.org/D71870
The file was addedllvm/docs/CommandGuide/locstats-compare.png
The file was modifiedllvm/docs/CommandGuide/llvm-locstats.rst
The file was modifiedllvm/utils/llvm-locstats/llvm-locstats.py
Commit ee0f1f1edc3ec0d4e698d50cc3180217448802b7 by aaron
Further implement CWG 2292
The core issue is that simple-template-id is ambiguous between
class-name and type-name. This fixes PR43966.
The file was addedclang/test/SemaCXX/pseudo-destructor-name.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit 46e3edcc2c89e34b3ec198387b758a6998f5980b by luismarques
[RISCV] Fix test for inline asm z constraint modifier
Summary: Use an `i` constraint in the test, to correctly trigger the
code for handling the `z` constraint modifier.
Reviewers: asb, lenary, jrtc27 Reviewed By: lenary, jrtc27 Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72134
The file was modifiedllvm/test/CodeGen/RISCV/inline-asm.ll
Commit 3ab7b7f53552a0969bd89db3317eb5a3ddf31d8f by arsenm2
TableGen/GlobalISel: Don't reconstruct CodeGenRegBank
The maps for dealing with the relationships between different register
classes and subregister indexes rely on unique pointers for every
class/index. By constructing a second copy of CodeGenRegBank, two
different pointer values existed for a given subregister depending on
where you were querying.
Use the existing CodeGenRegBank owned by the CodeGenTarget instead of
constructing a second copy. This avoids incorrectly failing map lookups
in a future change.
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
Commit eafa8dbefe30c85e58efc5309793f2d7c2109e35 by arsenm2
TableGen/GlobalISel: Don't take reference to temporary values
These return temporary Optional<> values which are immediately
destroyed. I'm not sure why no sanitizers seem to have caught this, but
I encountered crashes on these in a future patch.
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
Commit 8931fde869c2787886a5f84c03f70cd32e2e8b1f by arsenm2
TableGen: Delete some copy constuctors
Some register related machinery relies on uniqued, static pointers for
register classes and subregisters, so try to make sure these are never
copied.
The file was modifiedllvm/utils/TableGen/RISCVCompressInstEmitter.cpp
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.h
Commit 91715617ad601c6bd953e1c47ecaaf3610de233f by arsenm2
GlobalISel: Fix narrowScalar for G_ANYEXT results
This is nearly the same as G_ZEXT.
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-anyext.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit bd7658a212ebc27a8f7d69666820df33bc8d61f5 by arsenm2
AMDGPU: Partially directly select llvm.amdgcn.interp.p1.f16
The 16 bank LDS case is complicated due to using multiple instructions.
If I attempt to write a pattern for it, the generated selector
incorrectly places the copy to m0 after the first instruction, so that
needs to be separately addressed.
Also fix not gluing the copy to m0 to the second operation in the second
half of the 16 bank lowering.
The file was modifiedllvm/test/MC/AMDGPU/vop3.s
The file was modifiedllvm/lib/Target/AMDGPU/VOP3Instructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
Commit 936483fb7dd2c8c6b014516ff3b3cd13740e0518 by arsenm2
GlobalISel: Implement lower for G_BITCAST
Bitcast only really applies between scalars and vectors. Implement as an
unmerge and remerge. The test needs to tolerate failure since one of the
unmerges currently fails to legalize.
The file was modifiedllvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Commit dc553ce646cdbab32d72d263d3f289952648b920 by zinenko
[mlir] LLVM import: handle function-typed constants
The current implementation of the LLVM-to-MLIR translation could not
handle functions used as constant values in instructions. The handling
is added trivially as `llvm.mlir.constant` can define constants of
function type using SymbolRef attributes, which works even for functions
that have not been declared yet.
The file was modifiedmlir/test/Target/import.ll
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
Commit 870137d207f7a5596206e2210183d911a9b06f9d by ulrich.weigand
[FPEnv] Address post-commit review comment for D71467
Remove a bit of code duplication between CreateFCmp and CreateFCmpS by
creating a shared helper function.
The file was modifiedllvm/include/llvm/IR/IRBuilder.h
Commit 4d14bfaa2cb1610104db6b0818fc7d74fad1bd8f by kadircet
[clangd] Show hower info for expressions
Summary: This currently populates only the Name with the expression's
type and Value if expression is evaluatable.
Fixes https://github.com/clangd/clangd/issues/56
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72500
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit 441410be471d5d0a5d1d47cf363de155e397a0c2 by Alexander.Richardson
[ELF] Avoid false-positive assert in getErrPlace()
This assertion was added as part of D70659 but did not account for .bss
input sections. I noticed that this assert was incorrectly triggering
while building FreeBSD for MIPS64. Fixed by relaxing the assert to also
account for SHT_NOBITS input sections and adjust the test
mips-jalr-non-function.s to link a file with a .bss section first.
Reviewed By: MaskRay, grimar Differential Revision:
https://reviews.llvm.org/D72567
The file was modifiedlld/ELF/Target.cpp
The file was modifiedlld/test/ELF/mips-jalr-non-functions.s
Commit 89b395fe793be6f3704ff8faaf6b55191431dc7a by ntv
[mlir][EDSC] Refactor dependencies involving EDSCs.
Summary: This diff removes the dependency of LinalgOps and VectorOps on
EDSCs.
Reviewers: jpienaar, ftynse
Reviewed By: ftynse
Subscribers: merge_guards_bot, mgorny, mehdi_amini, rriddle, burmako,
shauheen, antiagainst, csigg, arpith-jacob, mgester, lucyrfox, herhut,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72481
The file was modifiedmlir/lib/Dialect/VectorOps/VectorTransforms.cpp
The file was addedmlir/lib/Dialect/Linalg/EDSC/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/LoopsToGPU/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/EDSC/Builders.h
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
The file was addedmlir/lib/Dialect/Linalg/Utils/CMakeLists.txt
The file was addedmlir/lib/Dialect/Linalg/IR/LinalgRegistration.cpp
The file was addedmlir/lib/Dialect/Linalg/Analysis/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was addedmlir/lib/Dialect/Linalg/IR/CMakeLists.txt
The file was removedmlir/lib/Dialect/Linalg/LinalgRegistration.cpp
The file was addedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/test/EDSC/CMakeLists.txt
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
The file was modifiedmlir/lib/Dialect/Linalg/CMakeLists.txt
The file was modifiedmlir/tools/mlir-opt/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
Commit 72b5989e0d15081d71d1838eec7f84ef3158fb26 by thakis
[gn build] (manually) port b4a99a061f51 better
The file was modifiedllvm/utils/gn/secondary/clang/include/clang/Config/BUILD.gn
Commit d74a3d470c316f8fade90fe231fc0a51361c01e6 by kadircet
[clangd] Add a ruler after header in hover
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95,
cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72622
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/FormattedString.h
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/FormattedStringTests.cpp
The file was modifiedclang-tools-extra/clangd/FormattedString.cpp
Commit 44f9c7a820c1e5fb949f441214a46b13588ff51a by kadircet
[clangd] Rearrange type, returntype and parameters in hover card
Summary: Moves type/returntype into its own line as it is more readable
in cases where the type is long.
Also gives parameter lists a heading, `Parameters:` to make them stand
out.
Leaves the `right arrow` instead of `Returns: ` before Return Type to
make output more symmetric.
``` function foo
Returns: ret_type Parameters:
- int x
```
vs
``` function foo
🡺 ret_type Parameters:
- int x
```
Reviewers: sammccall, ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72623
The file was modifiedclang-tools-extra/clangd/Hover.cpp
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
The file was modifiedclang-tools-extra/clangd/test/hover.test
Commit ada01d1b869763f7d5d3438dcfce02066b06ab0a by simon.tatham
[clang] New __attribute__((__clang_arm_mve_strict_polymorphism)).
This is applied to the vector types defined in <arm_mve.h> for use with
the intrinsics for the ARM MVE vector architecture.
Its purpose is to inhibit lax vector conversions, but only in the
context of overload resolution of the MVE polymorphic intrinsic
functions. This solves an ambiguity problem with polymorphic MVE
intrinsics that take a vector and a scalar argument: the scalar argument
can often have the wrong integer type due to default integer promotions
or unsuffixed literals, and therefore, the type of the vector argument
should be considered trustworthy when resolving MVE polymorphism.
As part of the same change, I've added the new attribute to the
declarations generated by the MveEmitter Tablegen backend (and corrected
a namespace issue with the other attribute while I was there).
Reviewers: aaron.ballman, dmgreen
Reviewed By: aaron.ballman
Subscribers: kristof.beyls, JDevlieghere, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72518
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/lib/AST/TypePrinter.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was addedclang/test/Sema/overload-arm-mve.c
The file was modifiedclang/utils/TableGen/MveEmitter.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
Commit 252c4dce618926311bcb4715eae6955f1bc71f13 by thakis
[gn build] find mistakes like the one fixed in 72b5989e0d1 at build time
The file was modifiedllvm/utils/gn/build/write_cmake_config.py
Commit 60adfb83cda883d9fc1079c89d2feaa681a41b90 by kadircet
[clangd] Fix windows buildbots
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit 24a00ef2404104e9ca6fbd7eb523a8a340be9d99 by tejohnson
Restore "[ThinLTO] Add additional ThinLTO pipeline testing with new PM"
This restores 2af97be8027a0823b88d4b6a07fc5eedb440bc1f (reverted at
6288f86e870c7bb7fe47cc138320b9eb34c93941), with all the fixes I had
applied at the time, along with a new fix for non-determinism in the
ordering of a couple of passes due to being accessed as parameters on
the same call.
I've also added --dump-input=fail to the new tests so I can more
thoroughly fix any additional failures.
The file was addedclang/test/CodeGen/thinlto-distributed-newpm.ll
The file was modifiedllvm/test/Other/new-pm-pgo.ll
The file was addedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was addedllvm/test/Other/Inputs/new-pm-thinlto-samplepgo-defaults.prof
The file was addedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was addedllvm/test/Other/Inputs/new-pm-thinlto-prelink-pgo-defaults.proftext
The file was addedllvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
The file was addedllvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
Commit 66a35d330b3d6d3009b332a41406414c5cbd17d7 by grimar
[llvm-readobj][test] - Cleanup SHT_RELR sections testing.
After recent changes (D71872) in yaml2obj, it is possible so cleanup
testing of the SHT_RELR sections.
Differential revision: https://reviews.llvm.org/D71874
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/elf-relr-relocs1.s
The file was removedllvm/test/tools/llvm-readobj/ELF/Inputs/elf-relr-relocs2.s
The file was modifiedllvm/test/tools/llvm-readobj/ELF/relr-relocs.test
Commit ad7f4c11eb14a41205f4dadd08493aca0bf8f9ec by ntv
[mlir][Linalg] NFC - Hotfix for gcc-5 build
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
Commit e429f24ed8b16149ad668edd3fb000a3a56c8e40 by hubert.reinterpretcast
[CMake] Enable -qfuncsect when building with IBM XL
Summary: The IBM XL compiler uses `-qfuncsect` for
`-ffunction-sections`.
The comment about sanitizers and `-f[no-]function-sections` is corrected
also, as it is pertinent to this patch.
The sanitizer-related use of `-fno-function-sections` is associated with
powerpc64le, a target for which there is an IBM XL compiler, so that use
is updated in this patch to apply `-qnofuncsect` in case a build using
the XL compiler is viable on that platform.
This patch has been verified with the XL compiler on AIX only.
Reviewers: daltenty, stevewan
Reviewed By: daltenty
Subscribers: mgorny, steven.zhang, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D72335
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake
The file was modifiedcompiler-rt/CMakeLists.txt
Commit 63b428e3861bed666525b3af56cd50e14ab30495 by hubert.reinterpretcast
DWARFDebugLine.cpp: Format unknown line number standard opcodes
Summary: This patch implements `formatv()` formatting for
`dwarf::LineNumberOps` and makes use of it for the `llvm-dwarfdump
--debug-line` dump.
Previously, unknown line number standard opcodes would lead to undefined
behaviour. The code would attempt to format the data pointer of an empty
`StringRef` (a null pointer) using `%s`. According to the description
for `format()`, use of that interface carries the "risk of `printf`".
Passing a null pointer in place of an array to a C library function
results in undefined behaviour.
Reviewers: jhenderson, daltenty, stevewan
Reviewed By: jhenderson
Subscribers: aprantl, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72369
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug-line.s
The file was modifiedllvm/lib/BinaryFormat/Dwarf.cpp
Commit d2fabd70065edefacee0d8a3122c73bc15e0f848 by Lang Hames
[ORC] Update lazyReexports to support aliases with different symbol
names.
A bug in the existing implementation meant that lazyReexports would not
work if the aliased name differed from the alias's name, i.e. all lazy
reexports had to be of the form (lib1, name) -> (lib2, name). This patch
fixes the issue by capturing the alias's name in the NotifyResolved
callback. To simplify this capture, and the LazyCallThroughManager code
in general, the NotifyResolved callback is updated to use
llvm::unique_function rather than a custom class.
No test case yet: This can only be tested at runtime, and the only
in-tree client (lli) always uses aliases with matching names. I will add
a new LLJIT example shortly that will directly test the lazyReexports
API and the non-trivial alias use case.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LazyReexports.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LazyReexports.cpp
The file was modifiedllvm/unittests/ExecutionEngine/Orc/LazyCallThroughAndReexportsTest.cpp
Commit e9e26c01cd865da678b1af6ba5f417c713956a66 by Lang Hames
[ORC] Simplify use of lazyReexports with LLJIT.
This patch makes the target triple available via the LLJIT interface,
and moves the IRTransformLayer from LLLazyJIT down into LLJIT. Together
these changes make it easier to use the lazyReexports utility with
LLJIT, and to apply IR transforms to code as it is compiled in LLJIT
(rather than requiring transforms to be applied manually before code is
added). An code example is added in
llvm/examples/LLJITExamples/LLJITWithLazyReexports
The file was modifiedllvm/examples/LLJITExamples/CMakeLists.txt
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was modifiedllvm/tools/lli/lli.cpp
The file was addedllvm/examples/LLJITExamples/LLJITWithLazyReexports/LLJITWithLazyReexports.cpp
The file was addedllvm/examples/LLJITExamples/LLJITWithLazyReexports/CMakeLists.txt
Commit 7741de94358b827086a4542202fdb2aac99687d4 by ntv
[mlir][Linalg] NFC - Cleanup Linalg Pass locations and namespacing
Summary: This diff moves the conversion pass declaration closer to its
definition and makes the namespacing of passes consistent with the rest
of the infrastructure (i.e. `mlir::linalg::createXXXPass` ->
`mlir::createXXXPass`).
Reviewers: ftynse, jpienaar, mehdi_amini
Subscribers: rriddle, burmako, shauheen, antiagainst, arpith-jacob,
mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72766
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/include/mlir/Conversion/LinalgToLLVM/LinalgToLLVM.h
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
Commit 88380b91c87e83fc8984c17d86017df0a3de62aa by ntv
[mlir][Linalg] NFC - Hotfix for gcc-5 build
The file was modifiedmlir/lib/Dialect/Linalg/EDSC/Builders.cpp
Commit 3180af4362be22d416464f5f3700c456b2f124b9 by spatel
[InstCombine] reassociate fsub+fsub into fsub+fadd
As discussed in the motivating PR44509:
https://bugs.llvm.org/show_bug.cgi?id=44509
...we can end up with worse code using fast-math than without. This is
because the reassociate pass greedily transforms fsub into fneg/fadd and
apparently (based on the regression tests seen here) expects instcombine
to clean that up if it wasn't profitable. But we were missing this fold:
(X - Y) - Z --> X - (Y + Z)
There's another, more specific case that I think we should handle as
shown in the "fake" fneg test (but missed with a real fneg), but that's
another patch. That may be tricky to get right without conflicting with
existing transforms for fneg.
Differential Revision: https://reviews.llvm.org/D72521
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
The file was modifiedllvm/test/Transforms/Reassociate/fast-basictest.ll
The file was modifiedllvm/test/Transforms/InstCombine/fsub.ll
The file was modifiedllvm/test/Transforms/Reassociate/fast-SubReassociate.ll
Commit 3f3017e162ec4208399dcf633c99bdac788c06fd by arkady.shlykov
[Loop Peeling] Add possibility to enable peeling on loop nests.
Summary: Current peeling implementation bails out in case of loop nests.
The patch introduces a field in TargetTransformInfo structure that
certain targets can use to relax the constraints if it's profitable
(disabled by default). Also additional option is added to enable peeling
manually for experimenting and testing purposes.
Reviewers: fhahn, lebedev.ri, xbolva00
Reviewed By: xbolva00
Subscribers: xbolva00, hiraditya, zzheng, llvm-commits
Differential Revision: https://reviews.llvm.org/D70304
The file was modifiedllvm/include/llvm/Analysis/TargetTransformInfo.h
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
The file was modifiedllvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll
The file was addedllvm/test/Transforms/LoopUnroll/peel-loop-nests.ll
Commit 10cadee5ce86e80d7486855199d329951f38af01 by evgeny
[ThinLTO] Always import constants
This patch imports constant variables even when they can't be
internalized
(which results in promotion). This offers some extra constant folding
opportunities.
Differential revision: https://reviews.llvm.org/D70404
The file was addedllvm/test/ThinLTO/X86/Inputs/import-ro-constant-foo.ll
The file was modifiedllvm/test/ThinLTO/X86/referenced_by_constant.ll
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was addedllvm/test/ThinLTO/X86/import-constant.ll
The file was modifiedllvm/test/Bitcode/thinlto-function-summary-refgraph.ll
The file was modifiedllvm/test/Assembler/thinlto-vtable-summary.ll
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/lib/Analysis/ModuleSummaryAnalysis.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/test/ThinLTO/X86/load-store-caching.ll
The file was modifiedllvm/include/llvm/IR/ModuleSummaryIndex.h
The file was modifiedllvm/test/ThinLTO/X86/Inputs/dot-dumper.ll
The file was addedllvm/test/ThinLTO/X86/Inputs/import-ro-constant-bar.ll
The file was modifiedllvm/test/Assembler/thinlto-summary.ll
The file was modifiedllvm/test/ThinLTO/X86/dot-dumper.ll
The file was addedllvm/test/ThinLTO/X86/import-ro-constant.ll
The file was modifiedllvm/lib/IR/ModuleSummaryIndex.cpp
The file was addedllvm/test/ThinLTO/X86/Inputs/import-constant.ll
Commit 76b92cc7c1fafeae2d9e4993e81838b8d9488e45 by tejohnson
Fix bot by adjusting wildcard matching
I noticed one bot failure due to
24a00ef2404104e9ca6fbd7eb523a8a340be9d99 because the wildcard matching
was not working as intended, fixed it to act similar to other checks of
CGSCCToFunctionPassAdaptor.
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedclang/test/CodeGen/thinlto-distributed-newpm.ll
Commit 0133cc60e4e230ee2c176c23eff5aa2f4ee17a75 by benny.kra
Revert "[mlir] Create a gpu.module operation for the GPU Dialect."
This reverts commit 4624a1e8ac8a3f69cc887403b976f538f587744a. Causing
problems downstream.
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/test/Dialect/GPU/outlining.mlir
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
The file was modifiedmlir/include/mlir/Dialect/GPU/GPUOps.td
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
The file was modifiedmlir/test/Conversion/GPUToSPIRV/builtins.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/simple.mlir
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/test/Conversion/GPUToCUDA/lower-nvvm-kernel-to-cubin.mlir
The file was modifiedmlir/test/Dialect/GPU/invalid.mlir
The file was removedmlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.td
The file was modifiedmlir/test/Conversion/GPUToNVVM/memory-attrbution.mlir
The file was modifiedmlir/include/mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h
The file was modifiedmlir/include/mlir/Conversion/GPUToCUDA/GPUToCUDAPass.h
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/test/Dialect/GPU/ops.mlir
The file was modifiedmlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
The file was modifiedmlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
The file was modifiedmlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/loop.mlir
Commit 041650da67051266eb92b5bb07223394fe1bdab1 by kadircet
[clangd] Extract string literals in macro arguments to unbreak gcc
buildbots
The file was modifiedclang-tools-extra/clangd/unittests/HoverTests.cpp
Commit da9d57d2c2dc821979490a425142afde5107066c by mark.murray
[ARM][MVE][Intrinsics] Add VMINAQ, VMINNMAQ, VMAXAQ, VMAXNMAQ
intrinsics.
Summary: Add VMINAQ, VMINNMAQ, VMAXAQ, VMAXNMAQ intrinsics and unit
tests.
Reviewers: simon_tatham, miyuki, dmgreen
Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D72761
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vmaxaq.c
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminaq.ll
The file was modifiedclang/include/clang/Basic/arm_mve.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vminaq.c
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxnmaq.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmaxaq.ll
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vminnmaq.c
The file was addedclang/test/CodeGen/arm-mve-intrinsics/vmaxnmaq.c
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vminnmaq.ll
Commit 8e5018e990b701391e6c33ba85b012343df67272 by thakis
Replace CLANG_SPAWN_CC1 env var with a driver mode flag
Flags are clang's default UI is flags.
We can have an env var in addition to that, but in D69825 nobody has yet
mentioned why this needs an env var, so omit it for now.  If someone
needs to set the flag via env var, the existing CCC_OVERRIDE_OPTIONS
mechanism works for it (set CCC_OVERRIDE_OPTIONS=+-fno-integrated-cc1
for example).
Also mention the cc1-in-process change in the release notes.
Also spruce up the test a bit so it actually tests something :)
Differential Revision: https://reviews.llvm.org/D72769
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/Driver/cc1-spawnprocess.c
The file was modifiedclang/tools/driver/driver.cpp
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 082962dec846a30fbf129388e4821b9018fd2876 by thakis
[gn build] Reformat all build files
Ran `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`.
The motivation is to reformat them with trunk gn again right after.
Trunk gn changed formatting of some single-element lists.
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/benchmark/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/CodeGen/GlobalISel/BUILD.gn
Commit 2e39ea726e9cee20060892705164760229e0cb0b by Amara Emerson
Revert "Revert rG6078f2fedcac5797ac39ee5ef3fd7a35ef1202d5 -
"[AArch64][GlobalISel]: Support @llvm.{return,frame}address selection.""
The original change wasn't constraining the operand regclasses which
broke EXPENSIVE_CHECKS.
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-frameaddr.ll
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-returnaddr.ll
Commit c75180258e6363a03fc036abaa4c79a14a3f952e by Lang Hames
[ORC] Set setCloneToNewContextOnEmit on LLJIT's transform layer when
needed.
Based on Don Hinton's patch in https://reviews.llvm.org/D72406. This
feature was accidentally left out of
e9e26c01cd865da678b1af6ba5f417c713956a66, and would have pessimized
concurrent compilation in the default case.
Thanks for spotting this Don!
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Commit d6a9b7e58967f3d996cc4f9b136f02d99b0b8159 by craig.topper
[Mips] Add FileCheck to a test that just tested for a crash.
I believe the generated code here can suffer from double rounding. So I
wanted to capture the existing codegen so we can make decisions about
how to fix it.
The file was modifiedllvm/test/CodeGen/Mips/uitofp.ll
Commit aed52fd483744b74e979e18028a6f9bcb2c30a36 by thakis
[gn build] make "gn format" comment slightly more concise
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxxabi/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn
Commit eadc28274b9529137d0f7f073f1a5f07d8d3d9f8 by thakis
[gn build] add multi-line forcing comments in more places
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Target/X86/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-apply-replacements/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-mt/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-extdef-mapping/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Lanai/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/MI/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Linker/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Sparc/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/bugpoint-passes/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-rename/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-size/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-ifs/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cvtres/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/unittests/DriverTests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/plugin/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-reorder-fields/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/lib/Driver/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/lli/ChildTarget/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-query/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-move/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/arcmt-test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/CrossTU/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/benchmarks/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Hexagon/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-bcanalyzer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/LineEditor/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/sancov/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/IRReader/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Target/ARM/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-offload-bundler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/MinGW/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/unittest/UnitTestMain/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/indexer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Passes/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/LineEditor/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/xpc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ToolDrivers/llvm-dlltool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-apply-replacements/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Option/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-split/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-profdata/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/sanstats/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Index/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-apply-replacements/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/yaml2obj/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-opt-report/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/verify-uselistorder/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-isel-fuzzer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/AArch64/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-dis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-extract/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/count/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/FrontendTool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-as/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/lib/ReaderWriter/YAML/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/not/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/ExecutionEngine/JITLink/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Target/WebAssembly/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Lanai/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-scan-deps/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/lib/ReaderWriter/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-reorder-fields/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-diff/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cxxmap/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/lli/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/test-client/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cat/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/CFGuard/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-format/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-check/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/PowerPC/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cfi-verify/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-opt-fuzzer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Tooling/ASTDiff/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Sparc/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/WindowsManifest/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Lanai/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/AArch64/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Hexagon/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/SystemZ/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Bitstream/Reader/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-lto/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-change-namespace/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-import-test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-undname/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/yaml-bench/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Serialization/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/clang-offload-wrapper/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/ARM/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/MCJIT/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ToolDrivers/llvm-lib/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-change-namespace/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-move/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-link/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-lto2/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/unittests/clang-change-namespace/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-modextract/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/SystemZ/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Transforms/Hello/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-rtdyld/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/CrossTU/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Sparc/AsmParser/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/DebugInfo/GSYM/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Support/DynamicLibrary/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/tool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-lipo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/Disassembler/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/X86/BUILD.gn
Commit 527281a8432f7592be84cd7e7073d133f8245343 by thakis
[gn build] re-run "gn format" with trunk gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-readobj/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
The file was modifiedllvm/utils/gn/build/write_vcsrevision.gni
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Lanai/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Sparc/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Demangle/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ExecutionEngine/OrcError/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/unittest/UnitTestMain/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/FileCheck/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Option/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BPF/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/BinaryFormat/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/interception/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-cxxfilt/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AVR/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/build/symlink_or_copy.gni
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxxabi/include/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/TableGen/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Bitstream/Reader/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/tablegen.gni
The file was modifiedllvm/utils/gn/secondary/libcxxabi/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/MSF/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-ar/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/lld/tools/lld/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/X86/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-strings/BUILD.gn
The file was modifiedllvm/utils/gn/build/toolchain/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Hexagon/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/llvm-lit/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-size/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/unittest/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/yaml-bench/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/utils/hmaptool/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/driver/BUILD.gn
The file was modifiedllvm/utils/gn/build/write_cmake_config.gni
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-symbolizer/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxx/src/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/Utils/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Bitstream/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/SystemZ/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-nm/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/not/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/compiler-rt/include/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/include/llvm/Support/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AArch64/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/NVPTX/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/ARM/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/libunwind/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/MCTargetDesc/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/TargetInfo/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn
Commit d629525597ebe3533d110ea288c2640f0dc24bf7 by Lang Hames
[docs][ORC] Update the laziness section of the ORCv2 design doc.
This updates the discussion of lazy reexports, fixes a TBD for a usage
example, and adds a reference to the fully worked lazy reexports example
that was added in e9e26c01cd865da678b1af6ba5f417c713956a66.
The file was modifiedllvm/docs/ORCv2.rst
Commit f0120556c7e2ef14ff3da5bd7d5717cedf94b767 by Vedant Kumar
[DWARF] Emit DW_AT_call_return_pc as an address
This reverts D53469, which changed llvm's DWARF emission to emit
DW_AT_call_return_pc as a function-local offset. Such an encoding is not
compatible with post-link block re-ordering tools and isn't standards-
compliant.
In addition to reverting back to the original DW_AT_call_return_pc
encoding, teach lldb how to fix up DW_AT_call_return_pc when the address
comes from an object file pointed-to by a debug map. While doing this I
noticed that lldb's support for tail calls that cross a DSO/object file
boundary wasn't covered, so I added tests for that. This latter case
exercises the newly added return PC fixup.
The dsymutil changes in this patch were originally included in D49887:
the associated test should be sufficient to test DW_AT_call_return_pc
encoding purely on the llvm side.
Differential Revision: https://reviews.llvm.org/D72489
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Two.mk
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/shared.h
The file was addedllvm/test/tools/dsymutil/Inputs/call-site-entry.macho.x86_64
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/One/One.c
The file was modifiedlldb/source/Symbol/Function.cpp
The file was addedllvm/test/tools/dsymutil/call-site-entry-linking.test
The file was modifiedllvm/test/DebugInfo/X86/debug_addr.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
The file was modifiedllvm/tools/dsymutil/DwarfLinkerForBinary.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/shared.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/Makefile
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
The file was modifiedllvm/include/llvm/CodeGen/DebugHandlerBase.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Two/Two.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/main.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/One.mk
The file was addedllvm/test/tools/dsymutil/Inputs/call-site-entry.c
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/main.c
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
The file was addedllvm/test/tools/dsymutil/Inputs/call-site-entry.macho.x86_64.o
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/One.c
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/Two.c
The file was modifiedlldb/include/lldb/Symbol/Function.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py
Commit a2cc80bc95703b99afefddb1d9d545c639ac4ff5 by Vedant Kumar
DebugInfo: Factor out logic to update locations in MD_loop metadata, NFC
Factor out the logic needed to update debug locations contained within
MD_loop metadata.
This refactor is preparation for a future change that also needs to
rewrite MD_loop metadata.
rdar://45507940
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/include/llvm/IR/DebugInfo.h
The file was modifiedllvm/lib/IR/DebugInfo.cpp
Commit 388eaa1270c2762d61b756759b6db8cf15bd3a83 by richard
Work around PR43337: don't try to use the vec_sel overloads for vector
long long, since clang's <altivec.h> doesn't provide it yet!
The file was modifiedclang/lib/Headers/ppc_wrappers/emmintrin.h
Commit b72a8c65e4e34779b6bc9e466203f553f5294486 by richard
PR17164: Change clang's default behavior from
-flax-vector-conversions=all to -flax-vector-conversions=integer.
Summary: See proposal on cfe-dev:
http://lists.llvm.org/pipermail/cfe-dev/2019-April/062030.html
Reviewers: SjoerdMeijer, eli.friedman
Subscribers: kristof.beyls, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D67678
The file was modifiedclang/test/Sema/vector-assign.c
The file was modifiedclang/test/Headers/altivec-header.c
The file was modifiedclang/test/Headers/x86-intrinsics-headers.c
The file was modifiedclang/test/Sema/vector-cast.c
The file was modifiedclang/test/Headers/arm-neon-header.c
The file was modifiedclang/test/Headers/x86intrin-2.c
The file was modifiedclang/test/Headers/x86intrin.c
The file was modifiedclang/docs/CommandGuide/clang.rst
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Basic/LangOptions.def
The file was modifiedclang/test/Sema/vector-ops.c
Commit 34ba96a3d49e14abb2a36114a4ed6f97e1b9a9ee by danilo.carvalho.grael
[NFC][IndVarSimplify] remove duplicate code in
widenWithVariantLoadUseCodegen.
Summary: Duplicate code in widenWithVariantLoadUseCodegen is removed and
also use assert to check unknown extension type as it should be filtered
out by the pre condition check before calling this function.
Reviewers: az, sanjoy, sebpop, efriedma, javed.absar, sanjoy.google
Reviewed By: efriedma
Subscribers: hiraditya, llvm-commits, amehsan
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72652
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit fa26a37d36991dd19276c2112ae03e962debe0e4 by jpienaar
[mlir] Add shaped container component type interface
Summary:
* Add shaped container type interface which allows infering the shape,
element
type and attribute of shaped container type separately. Show usage by
way of
tensor type inference trait which combines the shape & element type in
infering a tensor type;
- All components need not be specified;
- Attribute is added to allow for layout attribute that was previously
   discussed;
* Expand the test driver to make it easier to test new creation
instances
(adding new operands or ops with attributes or regions would trigger
build
functions/type inference methods);
- The verification part will be moved out of the test and to verify
method
   instead of ops implementing the type inference interface in a follow
up;
* Add MLIRContext as arg to possible to create type for ops without
arguments,
region or location;
* Also move out the section in OpDefinitions doc to separate
ShapeInference doc
where the shape function requirements can be captured;
- Part of this would move to the shape dialect and/or shape dialect ops
be
   included as subsection of this doc;
* Update ODS's variable usage to match camelBack format for builder,
state and arg variables;
- I could have split this out, but I had to make some changes around
   these and the inconsistency bugged me :)
Differential Revision: https://reviews.llvm.org/D72432
The file was modifiedmlir/test/mlir-tblgen/op-result.td
The file was addedmlir/docs/ShapeInference.md
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/lib/Analysis/InferTypeOpInterface.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/test/mlir-tblgen/return-types.mlir
The file was modifiedmlir/docs/OpDefinitions.md
The file was modifiedmlir/include/mlir/Analysis/InferTypeOpInterface.h
The file was modifiedmlir/test/lib/TestDialect/TestDialect.cpp
The file was modifiedmlir/test/mlir-tblgen/op-attribute.td
The file was modifiedmlir/test/mlir-tblgen/op-decl.td
The file was modifiedmlir/test/lib/TestDialect/TestOps.td
The file was modifiedmlir/test/lib/TestDialect/TestPatterns.cpp
The file was modifiedmlir/include/mlir/Analysis/InferTypeOpInterface.td
The file was modifiedmlir/test/mlir-tblgen/op-operand.td
Commit 5466597fee379b44f643cee0e0632fdef8fb6b21 by mtrofin
[NFC] Refactor InlineResult for readability
Summary: InlineResult is used both in APIs assessing whether a call site
is inlinable (e.g. llvm::isInlineViable) as well as in the function
inlining utility (llvm::InlineFunction). It means slightly different
things (can/should inlining happen, vs did it happen), and the implicit
casting may introduce ambiguity (casting from 'false' in InlineFunction
will default a message about hight costs, which is incorrect here).
The change renames the type to a more generic name, and disables
implicit constructors.
Reviewers: eraman, davidxl
Reviewed By: davidxl
Subscribers: kerbowa, arsenm, jvesely, nhaehnle, eraman, hiraditya,
haicheng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72744
The file was modifiedllvm/include/llvm/Analysis/InlineCost.h
The file was modifiedllvm/lib/Analysis/InlineCost.cpp
The file was modifiedllvm/lib/Transforms/IPO/PartialInlining.cpp
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/lib/CodeGen/SafeStack.cpp
The file was modifiedllvm/lib/Transforms/IPO/AlwaysInliner.cpp
The file was modifiedllvm/lib/Transforms/IPO/Inliner.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInline.cpp
Commit c65ac2ba784dd1bb7778294bd04c143c0181542a by Jinsong Ji
[MachineScheduler][NFC] Don't swap when we can't cluster
https://reviews.llvm.org/D72706 tried to reduce reordering due to mem op
clustering. This patch avoid doing the swap when we can't cluster.
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D72800
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
Commit 8d2f252bb8e4d199be8498c4ee2245117ef08fd2 by Vedant Kumar
lldb: Run TestCrossDSOTailCalls.py and TestCrossObjectTailCalls.py on
Darwin only
See https://bugs.llvm.org/show_bug.cgi?id=44561, these tests are failing
on an aarch64/Linux bot:
http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/655
For some reason the backtrace the tests are expecting to find is
incomplete.
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/TestCrossDSOTailCalls.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_object/TestCrossObjectTailCalls.py
Commit 24d2a015eade6e71e7c684c69510f067bdd55892 by eric
[libc++] Make SFINAE'd member functions in string mutually exclusive.
This patch is needed in order to work around a GCC bug that fails to
explicitly instantiate a non-template function of a class template when
there is another overload that's a function template.
(See https://godbolt.org/z/4bUQ_b)
This patch SFINAE's away the function templates when the argument is a
basic_string.
The file was modifiedlibcxx/include/string
Commit 2d8f23f571635c1fb983b40c4c2548716a5b65b6 by eric
[libc++] Explicitly mark basic_string<...>::npos with default
visibility.
This ensures that the version compiled into the library isn't
accidentally hidden.
The file was modifiedlibcxx/include/string
Commit 288a1436392f1fbee2e647cb057086fe700f9c7e by eric
[libc++] Explicitly enumerate std::string external instantiations -
Attempt 2
  The GCC build failures have been addressed, and the LLDB failures were
fixed by LLDB.
   I have also verified that the apple-clang 9.0 segfault no longer
  occurs.
Original Message:
The external instantiation of std::string is a problem for libc++.
   Additions and removals of inline functions in string can cause ABI
   breakages, including introducing new symbols.
    This patch aims to:
     (1) Make clear which functions are explicitly instatiated.
     (2) Prevent new functions from being accidentally instantiated.
     (3) Allow a migration path for adding or removing functions from
the
     explicit instantiation over time.
    Although this new formulation is uglier, it is preferable from a
   maintainability and readability standpoint because it explicitly
   enumerates the functions we've chosen to expose in our ABI. Changing
   this list is non-trivial and requires thought and planning.
    (3) is achieved by making it possible to control the extern template
declaration
   separately from it's definition. Meaning we could add a new
definition to
   the dylib, wait for it to roll out, then add the extern template
   declaration to the header. Similarly, we could remove existing extern
   template declarations while still keeping the definition to prevent
ABI
   breakages.
The file was modifiedlibcxx/src/string.cpp
The file was modifiedlibcxx/include/string
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/__string
Commit 8a4d12ae5b3e6b2ef7c851c6865c04d5a84e05f1 by fedor.sergeev
[BasicBlock] add helper getPostdominatingDeoptimizeCall
It appears to be rather useful when analyzing Loops with multiple
deoptimizing exits, perhaps merged ones. For now it is used in
LoopPredication, will be adding more uses in other loop passes.
Reviewers: asbirlea, fhahn, skatkov, spatel, reames Reviewed By: reames
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72754
The file was modifiedllvm/include/llvm/IR/BasicBlock.h
The file was modifiedllvm/lib/IR/BasicBlock.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopPredication.cpp
Commit 43464509fcedef667aee17b74c19cc08b65aa0ae by Vedant Kumar
DWARF: Simplify the way the return PC is attached to call site tags, NFC
This cleanup was suggested by Djordje in D72489.
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Commit 5aeb6798f268f74dc8b0bf5bb75b9c57ec938548 by Vedant Kumar
[test] Move call-site-entry-linking.test into test/tools/dsymutil/X86
This should fix a failure on the clang-cmake-armv7-quick bot.
The file was addedllvm/test/tools/dsymutil/X86/Inputs/call-site-entry.macho.x86_64
The file was addedllvm/test/tools/dsymutil/X86/Inputs/call-site-entry.macho.x86_64.o
The file was removedllvm/test/tools/dsymutil/Inputs/call-site-entry.macho.x86_64.o
The file was removedllvm/test/tools/dsymutil/call-site-entry-linking.test
The file was removedllvm/test/tools/dsymutil/Inputs/call-site-entry.macho.x86_64
The file was addedllvm/test/tools/dsymutil/X86/Inputs/call-site-entry.c
The file was addedllvm/test/tools/dsymutil/X86/call-site-entry-linking.test
The file was removedllvm/test/tools/dsymutil/Inputs/call-site-entry.c
Commit 58c7fa5adeb218737f10ffeaeed0d9eb21f4a2f0 by eric
[libc++] Optimize basic_string::operator=(const basic_string&) for SSO
assignments
This change optimizes the operator=() assignment for short strings by
direcly copying the raw data from the source into the current instance.
This creates an optimized / inlined mempcy up to over 2X faster for
short string assignments. With inlining enabled for operator=,
performance is up to 6X faster.
Benchmarks 'as is': name                                    old time/op
new time/op    delta BM_StringAssignStr_Empty_Opaque         6.05ns ±
2%   3.59ns ± 0%  -40.67% BM_StringAssignStr_Empty_Transparent    5.15ns
± 0%   3.08ns ± 0%  -40.12% BM_StringAssignStr_Small_Opaque       
7.71ns ± 0%   3.59ns ± 0%  -53.45% BM_StringAssignStr_Small_Transparent
  7.66ns ± 0%   3.09ns ± 0%  -59.66% BM_StringAssignStr_Large_Opaque   
    24.1ns ± 0%   24.9ns ± 0%   +3.22%
BM_StringAssignStr_Large_Transparent    22.2ns ± 0%   22.8ns ± 0% 
+2.77% BM_StringAssignStr_Huge_Opaque           315ns ± 6%    320ns ± 5%
    ~ BM_StringAssignStr_Huge_Transparent      318ns ± 5%    321ns ± 4%
   ~
Benchmarks with partial inlining operator=(): name                     
             old time/op   new time/op    delta
BM_StringAssignStr_Empty_Opaque         5.94ns ± 2%   1.95ns ± 0%
-67.21% BM_StringAssignStr_Empty_Transparent    5.14ns ± 0%   1.04ns ±
1%  -79.73% BM_StringAssignStr_Small_Opaque         7.69ns ± 0%   1.96ns
± 0%  -74.48% BM_StringAssignStr_Small_Transparent    7.65ns ± 0% 
1.04ns ± 0%  -86.40% BM_StringAssignStr_Large_Opaque         24.1ns ± 0%
  24.5ns ± 0%   +1.61% BM_StringAssignStr_Large_Transparent    22.2ns ±
0%   21.1ns ± 0%   -4.70% BM_StringAssignStr_Huge_Opaque           317ns
± 5%    323ns ± 4%     ~ BM_StringAssignStr_Huge_Transparent      318ns
± 5%    320ns ± 5%     ~
Patch by Martijn Vels (mvels@google.com) Reviewed as
https://reviews.llvm.org/D72704
The file was modifiedlibcxx/include/string
Commit 313d89724ce3ccf66c1c51849903e1e6d184dd85 by eric
[libc++] Fix parsing <string> in C++03.
Specifically, add a space between >> when closing templates.
The file was modifiedlibcxx/include/string
Commit 6b29aa21180cf14bfb619d38fc4826913cabfb66 by a.bataev
Revert "[OPENMP]Do not use RTTI by default for NVPTX devices."
This reverts commit 23058f9dd4d7e18239fd63b6da52549514b45fda. It breaks
builds of cuda code somehow in some cases.
The file was removedclang/test/Driver/openmp-offload-gpu.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp
Commit 7ce2de2ce4e7d4dd8e1e5a7a5b35c0f98e46681d by Jonas Devlieghere
[lldb/Debugger] Rename IO handler methods to be more meaningful (NFC)
Make it clear form the method names whether they are synchronous or
asynchronous.
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/source/Commands/CommandObjectGUI.cpp
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Commands/CommandObjectExpression.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
The file was modifiedlldb/include/lldb/Core/Debugger.h
The file was modifiedlldb/source/Expression/REPL.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
Commit 3d210ed3d1880c615776b07d1916edb400c245a6 by akhuang
Revert "Allow system header to provide their own implementation of some
builtin"
This reverts commit 921f871ac438175ca8fcfcafdfcfac4d7ddf3905 because it
causes libc++ code to trigger __warn_memset_zero_len.
See https://reviews.llvm.org/D71082.
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was removedclang/test/CodeGen/memcpy-nobuiltin.c
The file was removedclang/test/CodeGen/memcpy-nobuiltin.inc
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
Commit 8045a8a7f184b682bfb4e729a986a3c2bd3a5b4e by rnk
[COFF] Warn that LLD does not support /PDBSTRIPPED:
Doesn't really fix PR44491, but it avoids treating it as an input.
The file was modifiedlld/COFF/Options.td
The file was modifiedlld/COFF/Driver.cpp
The file was addedlld/test/COFF/pdbstripped.test
Commit 3481e5d7ed08d068a4e3427cb1afcd8bf2acafdc by phosek
[libcxx] Use mtx_plain | mtx_recursive following C11 API
The C11 API specifies that to initialize a recursive mutex, mtx_plain |
mtx_recursive should be used with mtx_init.
Differential Revision: https://reviews.llvm.org/D72809
The file was modifiedlibcxx/include/__threading_support
Commit 81fc1be601e7a8b73b675d318af9b1ba046fb5f5 by Jonas Devlieghere
[lldb/Utils] Patch all variables used by lldb-dotest
Instead of passing all the arguments for dotest.py as a single CMake
variable, lldb-dotest now uses separate variables for the different test
binaries. Before this change they'd all get patched as part of the
LLDB_DOTEST_ARGS. We need to patch the new variables as well.
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
Commit daab9227ff013db431e4ab6045bdbba55b3dd4f3 by modocache
[IR] Module's NamedMD table needn't be 'void *'
Summary: In July 21 2010 `llvm::NamedMDNode` was refactored such that it
would no longer subclass `llvm::Value`:
https://github.com/llvm/llvm-project/commit/2637cc1a38d7336ea30caf
As part of this change, a map type from metadata names to their named
metadata, `llvm::MDSymbolTable`, was deleted. In its place, the type of
member `llvm::Module::NamedMDSymTab` was changed, from
`llvm::MDSymbolTable` to `void *`. The underlying memory allocations for
this pointer were changed to `new StringMap<NamedMDNode *>()`.
However, as far as I can tell, there's no need for obscuring the
underlying type being pointed to by the `void *`, and no need for static
casts from `void *` to `StringMap`. In fact, I don't think there's a
need for explicit calls to `new` and `delete` at all.
This commit changes `NamedMDSymTab` from a pointer to a reference, which
automatically couples its lifetime with the lifetime of its owning
`llvm::Module` instance, thus removing the explicit calls to `new` and
`delete` in the `llvm::Module` constructor and destructor. It also
changes the type from `void *` to a newly defined `NamedMDSymTabType`,
and removes the static casts.
Test Plan: An ASAN-enabled build and run of `check-all` succeeds with
this change
(aside from some tests that always fail for me in ASAN for some reason,
such as `check-clang` `SemaTemplate/stack-exhaustion.cpp`).
Reviewers: aprantl, dblaikie, chandlerc, pcc, echristo
Reviewed By: dblaikie
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72812
The file was modifiedllvm/lib/IR/Module.cpp
The file was modifiedllvm/include/llvm/IR/Module.h
Commit 25e9938a45e8dfde752a4e93c48ff0184d4784d9 by arsenm2
GlobalISel: Handle more cases of G_SEXT narrowing
This now develops the same problem G_ZEXT/G_ANYEXT have where the
requested type is assumed to be the source type. This will be fixed
separately by creating intermediate merges.
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext.mir
Commit eef92f25ccf186935008c98f8147ad2ee178dcbb by arsenm2
AMDGPU: Remove custom node for exports
I'm mildly worried about potentially reordering exp/exp_done with
IntrWriteMem on the intrinsic.
Requires hacking out the illegal type on SI, so manually select that
case during lowering.
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/include/llvm/IR/IntrinsicsAMDGPU.td
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.td
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
Commit 711a17afaff276f816aca5dc4a68fae4e17a2c12 by arsenm2
AMDGPU/GlobalISel: Select exp with patterns
This does produce slightly different code. Now a unique IMPLICIT_DEF is
emitted for each of the implicit_def operands, rather than reusing the
same one.
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.exp.mir
Commit 360abb7ee56f1524b6e2951a4fda36296d5b3582 by Vedant Kumar
[CodeExtractor] Transfer debug info to extracted function
After extracting, fix up debug info in both the old and new functions by
1) Pointing line locations and debug intrinsics to the new subprogram
  scope, and
2) Deleting intrinsics which point to values outside of the new
  function.
Depends on https://reviews.llvm.org/D72795.
Testing: check-llvm, check-clang, a build of LNT in the `-Os -g` config
with "-mllvm -hot-cold-split=1" set, and end-to-end debugging of a toy
program which undergoes splitting to verify that lldb can find
variables, single step, etc. in extracted code.
rdar://45507940
Differential Revision: https://reviews.llvm.org/D72801
The file was addedllvm/test/Transforms/HotColdSplit/transfer-debug-info.ll
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was addedllvm/test/Transforms/HotColdSplit/update-split-loop-metadata.ll
The file was addedllvm/test/Transforms/HotColdSplit/split-out-dbg-label.ll
Commit b841b9e96e605bed5a1f9b846a07aae88c65ce02 by a.bataev
[OPENMP]Use regular processing of vtable used when TU is a prefix.
If current kind of the translation unit is TU_Prefix and it is not
complete, cannot decide what to do with virtual members/table at that
time, need to delay it to later stages.
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/test/OpenMP/declare_target_codegen.cpp
Commit 44560762c62d72a103bdceff49ffa70451efd5f8 by akhuang
Revert "Further implement CWG 2292"
This reverts commit ee0f1f1edc3ec0d4e698d50cc3180217448802b7 because it
causes an error on valid code. See
https://reviews.llvm.org/rGee0f1f1edc3ec0d4e698d50cc3180217448802b7.
The file was removedclang/test/SemaCXX/pseudo-destructor-name.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit 8b417dd3d6c6e4c83dee172e9b37cc2ba51c635a by Stanislav.Mekhanoshin
Process BUNDLE in tail duplication
When tail duplication estimates a size of tail it uses instruction
count. Account for a number of instrictions in a bundle too.
Differential Revision: https://reviews.llvm.org/D72783
The file was addedllvm/test/CodeGen/AMDGPU/tail-dup-bundle.mir
The file was modifiedllvm/lib/CodeGen/TailDuplicator.cpp
Commit cf958498c4b49447ab1ba6bb61a7d8816d306107 by Jonas Devlieghere
[lldb/Utils] Patch all variables used by lldb-dotest (2/2)
Instead of passing all the arguments for dotest.py as a single CMake
variable, lldb-dotest now uses separate variables for the different test
binaries. Before this change they'd all get patched as part of the
LLDB_DOTEST_ARGS. We need to patch the new variables as well.
The file was modifiedlldb/utils/lldb-dotest/CMakeLists.txt
Commit eac134ddf0344ff44bcd6a6285b6498e080cd1e3 by Jonas Devlieghere
[lldb/Utils] Patch all variables used by lit (3/3)
Instead of passing all the arguments for dotest.py as a single CMake
variable, lit now uses separate variables for the different test
binaries. Before this change they'd all get patched as part of the
LLDB_DOTEST_ARGS. We need to patch the new variables as well.
The file was modifiedlldb/test/API/CMakeLists.txt
Commit e8f198dd9e9dabed8d50276465906e7c8827cada by richard
Fix pack deduction to only deduce the arity of packs that are actually
expanded by the deduced pack.
We recently started also deducing the arity of separately-expanded packs
that are merely mentioned within the pack in question, which is
incorrect.
The file was modifiedclang/test/SemaTemplate/deduction.cpp
The file was modifiedclang/lib/Sema/SemaTemplateDeduction.cpp
Commit 4bafceced6a7641be7b090229c6ccef22cf55bff by dschuff
[LLDB] Add ObjectFileWasm plugin for WebAssembly debugging
Summary: This is the first in a series of patches to enable LLDB
debugging of WebAssembly targets.
Current versions of Clang emit (partial) DWARF debug information in
WebAssembly modules and we can leverage this debug information to give
LLDB the ability to do source-level debugging of Wasm code that runs in
a WebAssembly engine.
A way to do this could be to use the remote debugging functionalities
provided by LLDB via the GDB-remote protocol. Remote debugging can
indeed be useful not only to connect a debugger to a process running on
a remote machine, but also to connect the debugger to a managed VM or
script engine that runs locally, provided that the engine implements a
GDB-remote stub that offers the ability to access the engine runtime
internal state.
To make this work, the GDB-remote protocol would need to be extended
with a few Wasm-specific custom query commands, used to access aspects
of the Wasm engine state (like the Wasm memory, Wasm local and global
variables, and so on). Furthermore, the DWARF format would need to be
enriched with a few Wasm-specific extensions, here detailed:
https://yurydelendik.github.io/webassembly-dwarf.
This CL introduce classes **ObjectFileWasm**, a file plugin to represent
a Wasm module loaded in a debuggee process. It knows how to parse Wasm
modules and store the Code section and the DWARF-specific sections.
Reviewers: jasonmolenda, clayborg, labath
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D71575
The file was modifiedlldb/include/lldb/Utility/ArchSpec.h
The file was addedlldb/test/Shell/ObjectFile/wasm/stripped-debug-sections.yaml
The file was modifiedlldb/source/API/SystemInitializerFull.cpp
The file was modifiedlldb/tools/lldb-test/SystemInitializerTest.cpp
The file was addedlldb/test/Shell/ObjectFile/wasm/basic.yaml
The file was addedlldb/source/Plugins/ObjectFile/wasm/CMakeLists.txt
The file was addedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.cpp
The file was addedlldb/test/Shell/ObjectFile/wasm/embedded-debug-sections.yaml
The file was modifiedlldb/source/Plugins/ObjectFile/CMakeLists.txt
The file was addedlldb/source/Plugins/ObjectFile/wasm/ObjectFileWasm.h
The file was modifiedlldb/source/Utility/ArchSpec.cpp