- Jul 20, 2020
-
-
Muhammad Omair Javaid authored
Summary: This patch adds support for AArch64 SVE register infos description and core file register access. AArch64 SVE is a an optional extension of Arm v8.3-a architecture. It has introduced 32 new vector registers Z, 16 predicate P registers and FFR predicate register. These registers have fixed names but can dynamically be configured to different size based on underlying OS configuration. This patch adds register info struct that describes SVE register infos and also provides RegisterContextPOSIXCore_arm64 routines to access SVE registers. This patch also introduces a mechanism to configure SVE register sizes and offsets at startup before exchanging register information across gdb-remote. TestLinuxCore.py has been updated to include testing of SVE core files. Reviewers: labath, clayborg, jankratochvil, jasonmolenda, rengolin Reviewed By: labath Subscribers: tschuett, kristof.beyls, danielkiss, lldb-commits Differential Revision: https://reviews.llvm.org/D77047
-
Alex Zinenko authored
Linkage support is already present in the LLVM dialect, and is being translated for globals other than functions. Translation support has been missing for functions because their conversion goes through a different code path than other globals. Differential Revision: https://reviews.llvm.org/D84149
-
Paul Walker authored
Differential Revision: https://reviews.llvm.org/D84034
-
Joachim Protze authored
-
Haojian Wu authored
Differential Revision: https://reviews.llvm.org/D81090
-
Paul Walker authored
No real action is taken for a value of scalable but it provides a route to disable an earlier specification and is effectively its default value when omitted. Patch also removes an "unused variable" warning. Differential Revision: https://reviews.llvm.org/D84021
-
George Mitenkov authored
This patch adds documentation for SPIR-V to LLVM conversion. It describes the approaches taken and what is currently supported by this conversion framework. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D83322
-
James Henderson authored
The test wasn't updated due to being an unusual target not included in my test run.
-
Florian Hahn authored
This patch adds a new variant of the matrix lowering pass that only does a minimal lowering and only depends on TTI. The main purpose of this pass is to have a pass with minimal dependencies to run as part of the backend pipeline. At the moment, the only difference to the regular lowering pass is that it does not support remarks. But in subsequent patches add support for tiling to the lowering pass which will require more analysis, which we do not want to run in the backend, as the lowering should happen in the middle-end in practice and running it in the backend is mostly for convenience when running llc. Reviewers: anemet, Gerolf, efriedma, hfinkel Reviewed By: anemet Differential Revision: https://reviews.llvm.org/D76867
-
Hans Wennborg authored
-
Muhammad Omair Javaid authored
Summary: SVE elf note data requires SVE PT macros for reading writing data. Same macros are used by Linux ptrace SVE register access. This patch makes necessary changes to lldb/source/Plugins/Process/Linux/LinuxPTraceDefines_arm64sve.h in order to make them sysroot independent. Reviewers: labath, rengolin Reviewed By: labath Subscribers: tschuett, lldb-commits, kristof.beyls Differential Revision: https://reviews.llvm.org/D83541
-
Muhammad Omair Javaid authored
Summary: This patch removes dependence of RegisterContextPOSIX_arm64 on register number enums defined in lldb-arm64-register-enums.h. RegisterContextPOSIX_arm64 makes use of helper functions to access register numbers defined in RegisterInfos_arm64.h via RegisterInfosPOSIX_arm64. Reviewers: labath Reviewed By: labath Subscribers: emaste, kristof.beyls, arphaman, danielkiss, lldb-commits Differential Revision: https://reviews.llvm.org/D83753
-
Balázs Kéri authored
Summary: Report resource leaks with non-fatal error. Report every resource leak. Stream state is cleaned up at `checkDeadSymbols`. Reviewers: Szelethus, baloghadamsoftware, NoQ Reviewed By: Szelethus Subscribers: rnkovacs, xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, gamesh411, Charusso, martong, ASDenysPetrov, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82845
-
Elvina Yakubova authored
This patch changes llvm-readelf (and llvm-readobj for consistency) behavior to print an error when executed with no input files. Reading from stdin can be achieved via a '-' for the input object. Fixes https://bugs.llvm.org/show_bug.cgi?id=46400 Differential Revision: https://reviews.llvm.org/D83704 Reviewed by: jhenderson, MaskRay, sbc, jyknight
-
Elvina Yakubova authored
This patch updates tests using llvm-readobj and llvm-readelf, because soon reading from stdin will be achievable only via a '-' as described here: https://bugs.llvm.org/show_bug.cgi?id=46400. Patch with changes to llvm-readobj behavior is here: https://reviews.llvm.org/D83704 Differential Revision: https://reviews.llvm.org/D83912 Reviewed by: jhenderson, MaskRay, grimar
-
Tim Northover authored
It's useful for a debugger to be able to distinguish an @llvm.debugtrap from a (noreturn) @llvm.trap, so this extends the existing Windows behaviour to other platforms.
-
Georgii Rymar authored
The warning message was updated (https://reviews.llvm.org/rG256aea816da45bd3bc52317cbc89e704095a8991)
-
Petar Avramovic authored
Add narrowScalarFor action. Add narrow scalar for typeIndex == 0 for G_FPTOSI/G_FPTOUI. Legalize using narrowScalarFor as s16->s32 G_FPTOSI/G_FPTOUI followed by s32->s64 G_SEXT/G_ZEXT. Differential Revision: https://reviews.llvm.org/D84010
-
Georgii Rymar authored
There is a strange "feature" of the code: it handles all relocations as `Elf_Rela`. For handling `Elf_Rel` it converts them to `Elf_Rela` and passes `bool IsRela` to specify the real type everywhere. A related issue is that the `decode_relrs` helper in lib/Object has to return `Expected<std::vector<Elf_Rela>>` because of that, though it could return a vector of `Elf_Rel`. I think we should just start using templates for relocation types, it makes the code cleaner and shorter. This patch does it. Differential revision: https://reviews.llvm.org/D83871
-
Raphael Isemann authored
Summary: When modules reference each other (which happens for example with the different modules LLDB loads when debugging -gmodules-compiled binaries), just iterating over the module list once isn't good enough to find all orphans. Any removed modules in the module list will also clear up the shared pointers they hold to other modules, so after any module was removed from the list, LLDB should iterate again and check if any additional modules can no be safely deleted. This is currently causing that many gmodules tests are not cleaning up all allocated modules which causes cleanup asserts to fail (right now these asserts just mark the test as unsupported, but after D83865 the tests will start failing). Reviewers: aprantl, clayborg, JDevlieghere Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D84015
-
Georgii Rymar authored
It fixes/improves the following: 1) Some code was duplicated. 2) A "The .MIPS.abiflags section has a wrong size" error was not reported as a warning, but was printed to stdout for the LLVM style. Also, it was reported as an error for the GNU style. This patch changes the behavior to be consistent and to report warnings. 3) `unwrapOrError()` was used before, now a warning is reported instead. Differential revision: https://reviews.llvm.org/D84033
-
Dmitri Gribenko authored
Summary: In C++11 and later Clang generates an implicit conversion from int to size_t in the AST. Reviewers: ymandel, hokein Reviewed By: hokein Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D83966
-
Raphael Isemann authored
This is unused and also calls a non-existent 'Get' overload.
-
Roman Lebedev authored
Common code sinking is already guarded with a (with default-off!) flag, so add a flag for hoisting, too. D84108 will hopefully make hoisting off-by-default too.
-
Roman Lebedev authored
Also, move one test into it's correct place
-
sstefan1 authored
Summary: All tests are updated, except wrapper.ll since it is not working nicely with newly created functions. Reviewers: jdoerfert, uenoku, baziotis, homerdin Subscribers: arphaman, jfb, kuter, bbn, okura, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D84130
-
Xing GUO authored
This patch is trying to fix build failure. Failed tests: http://lab.llvm.org:8011/builders/clang-ppc64le-linux-multistage/builds/12574
-
Lang Hames authored
Virtual function calls are now only made when the pool needs to be grown to accommodate o new request.
-
Raphael Isemann authored
-
Xing GUO authored
This patch is trying to make build bots happy. Failed bots: http://lab.llvm.org:8011/builders/ppc64le-lld-multistage-test/builds/10705 http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-android/builds/33595
-
Lang Hames authored
Identify relocations by (section name, offset) pairs, rather than plain vmaddrs. This makes it easier to cross-reference debugging output for relocations with output from standard object inspection tools (otool, readelf, objdump, etc.).
-
Xing GUO authored
This patch implements the .debug_rnglists section. We are able to produce the .debug_rnglists section by the following syntax. ``` debug_rnglists: - Format: DWARF32 ## Optional Length: 0x1234 ## Optional Version: 5 ## Optional AddressSize: 0x08 ## Optional SegmentSelectorSize: 0x00 ## Optional OffsetEntryCount: 2 ## Optional Offsets: [1, 2] ## Optional Lists: - Entries: - Operator: DW_RLE_base_address Values: [ 0x1234 ] ``` The generated .debug_rnglists is verified by llvm-dwarfdump, except for the operator DW_RLE_startx_endx, since llvm-dwarfdump doesn't support it. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D83624 -
Juneyoung Lee authored
This patch adds support more operations. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D83926
-
sstefan1 authored
-
sstefan1 authored
Summary: This introduces new flag to the update_test_checks and update_cc_test_checks that allows for function attributes to be checked in a check-line. If the flag is not set, the behavior should remain the same. Reviewers: jdoerfert Subscribers: arichardson, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D83629
-
Lang Hames authored
When processing a MachO SUBTRACTOR/UNSIGNED pair, if the UNSIGNED target is non-extern then check the r_symbolnum field of the relocation to find the targeted section and use the section's address to find 'ToSymbol'. Previously 'ToSymbol' was found by loading the initial value stored at the fixup location and treating this as an address to search for. This is incorrect, however: the initial value includes the addend and will point to the wrong block if the addend is less than zero or greater than the block size. rdar://65756694
-
Juneyoung Lee authored
-
Jameson Nash authored
The getAllOnesValue can only handle things that are bitcast from a ConstantInt, while here we bitcast through a pointer, so we may see more complex objects (like Array or Struct). Differential Revision: https://reviews.llvm.org/D83870
-
Alex Richardson authored
The function extractArgumentsFromModule() was passing a one-based index to, but replaceFunctionCalls() was expecting a zero-based argument index. This resulted in assertion errors when reducing function call arguments with different types. Additionally, the Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D84099
-
Logan Smith authored
-