- Mar 05, 2023
-
-
Florian Hahn authored
Handle VPWidenCallRecipe in VPRecipeBase::mayHaveSideEffects by delegating to the underlying call.
-
Timm Bäder authored
Use the existing local variable cleanup infrastructure to implement destruction. Differential Revision: https://reviews.llvm.org/D137070
-
Timm Bäder authored
-
Kazu Hirata authored
This patch precommits more tests for: https://github.com/llvm/llvm-project/issues/60802
-
Jay Foad authored
This just tweaks the fix for D145232 to make the limit more precise, so that we could actually emit a delay of 3 SALU cycles (the maximum) if we had any SALU instructions that required it.
-
Siva Chandra Reddy authored
Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D145274
-
Dave Lee authored
This applies to IsClassMethod as well.
-
Siva Chandra Reddy authored
-
Siva Chandra Reddy authored
The integration tests already have allocators so we will get all of them from there.
-
Tulio Leao authored
While browsing the latest [clang manual](https://clang.llvm.org/docs/ReleaseNotes.html), I came across this warning and clicked, but it leads to a broken page, apparently because it's missing the trailing `/`. Seems to be the only place where it's missing in the whole of LLVM monorepo. {F26690053} {F26690057} Reviewed By: brenoguim, royjacobson Differential Revision: https://reviews.llvm.org/D145047
-
Kazu Hirata authored
-
Shao-Ce SUN authored
Resolve warning of `TARGET_NAME` macro redefinition. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D145307
-
Mark de Wever authored
Some build bots have not been updated to the new minimal CMake version. Reverting for now and ping the buildbot owners. This reverts commit 44c6b905.
-
- Mar 04, 2023
-
-
Timm Bäder authored
Differential Revision: https://reviews.llvm.org/D140803
-
Mark de Wever authored
Formatting a const qualified vector<bool> fails to work on libc++. This is due to our non-conforming type for vector<bool>::const_reference. The type is a __bit_const_reference<vector> instead of a bool. (This is fixed in ABI v2.) This fixes this formatter and enables the test written for it. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D144279
-
Mark de Wever authored
LWG3833 Remove specialization template<size_t N> struct formatter<const charT[N], charT> Depends on D143845 Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D143850
-
Mark de Wever authored
LWG3103 Errors in taking subview of span should be ill-formed where possible Note that the real work was already done before, including tests. Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D143432
-
Mark de Wever authored
This partly undoes D137724. This change has been discussed on discourse https://discourse.llvm.org/t/rfc-upgrading-llvms-minimum-required-cmake-version/66193 Note this does not remove work-arounds for older CMake versions, that will be done in followup patches. Reviewed By: mehdi_amini, MaskRay, ChuanqiXu, to268, thieta, tschuett, phosek, #libunwind, #libc_vendors, #libc, #libc_abi, sivachandra, philnik, zibi Differential Revision: https://reviews.llvm.org/D144509
-
Craig Topper authored
-
Joyce Brum authored
Signed-off-by:
Joyce Brum <joycebrum@google.com> Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D144119
-
Med Ismail Bennani authored
Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
LLVM GN Syncbot authored
-
Med Ismail Bennani authored
When using SBProcess::GetScriptedImplementation in python, if the process has a valid implementation, we returned a reference of the object without incrementing the reference counting. That causes the interpreter to crash after accessing the reference several times. This patch address this by incrementing the reference count when passing the valid object reference. Differential Revision: https://reviews.llvm.org/D145260 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
This patch improve error reporting in the Scripted Interface. Previously, it would only log the content of the Status object and overwrite it with the error_msg function parameter. This patch changes that to append the Status object content to the `error_msg` string. Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
This patch adds memory writing capabilities to the Scripted Process plugin. This allows to user to get a target address and a memory buffer on the python scripted process implementation that the user can make processing on before performing the actual write. This will also be used to write trap instruction to a real process memory to set a breakpoint. Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
The goal of the simple patch is to clean-up the scripted process interface by removing methods that were introduced with the interface originally, but that were never really implemented (get_thread_with_id & get_registers_for_thread). This patch also changes `get_memory_region_containing_address` to have a base implementation (that retunrs `None`), instead of forcing the user to override it in their derived class. Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
This patch adds process attach capabilities to the ScriptedProcess plugin. This doesn't really expects a PID or process name, since the process state is already script, however, this allows to create a scripted process without requiring to have an executuble in the target. In order to do so, this patch also turns the scripted process related getters and setters from the `ProcessLaunchInfo` and `ProcessAttachInfo` classes to a `ScriptedMetadata` instance and moves it in the `ProcessInfo` class, so it can be accessed interchangeably. This also adds the necessary SWIG wrappers to convert the internal `Process{Attach,Launch}InfoSP` into a `SB{Attach,Launch}Info` to pass it as argument the scripted process python implementation and convert it back to the internal representation. rdar://104577406 Differential Revision: https://reviews.llvm.org/D143104 Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
This patch does several things: First, it refactors the `CommandObject{,Platform}ProcessObject` command option class into a separate `CommandOptionsProcessAttach` option group. This will make sure both the `platform process attach` and `process attach` command options will always stay in sync without having with duplicate them each time. But more importantly, making this class an `OptionGroup` allows us to combine with a `OptionGroupPythonClassWithDict` to add support for the scripted process managing class name and user-provided dictionary options. This patch also improves feature parity between `ProcessLaunchInfo` and `ProcessAttachInfo` with regard to ScriptedProcesses, by exposing the various getters and setters necessary to use them through the SBAPI. This is foundation work for adding support to "attach" to a process from the scripted platform. Differential Revision: https://reviews.llvm.org/D139945 Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
This patch introduces a new method to the Scripted Process interface, GetCapabilities. This returns a dictionary that contains a list of flags that the ScriptedProcess instance supports. This can be used for instance, to force symbol lookup, when loading dynamic libraries in the scripted process. Differential Revision: https://reviews.llvm.org/D142059 Signed-off-by:
Med Ismail Bennani <medismail.bennani@gmail.com>
-
Med Ismail Bennani authored
This patch tries to address an interoperability issue when writing python string into the process memory. Since the python string is not null-terminated, it would still be written to memory however, when trying to read it again with `SBProcess::ReadCStringFromMemory`, the memory read would fail, since the read string doens't contain a null-terminator, and therefore is not a valid C string. To address that, this patch extends the `SBProcess` SWIG interface to expose a new `WriteMemoryAsCString` method that is only exposed to the SWIG target language. That method checks that the buffer to write is null-terminated and otherwise, it appends a null byte at the end of it. Signed-off-by:Med Ismail Bennani <medismail.bennani@gmail.com>
-
Derek Schuff authored
Implement the --build-id flag similarly to ELF, and generate a build_id section according to the WebAssembly tool convention specified in https://github.com/WebAssembly/tool-conventions/pull/183 The default style ("fast" aka "tree") hashes the contents of the output and (unlike ELF) generates a v5 UUID based on the hash (using a random namespace). It also supports generating a random v4 UUID, a sha1 hash, and a user-specified string (as ELF does). Differential Revision: https://reviews.llvm.org/D107662 Fix MSVC build by std::copy on the underying buffer rather than directly from std::array to llvm::MutableArrayRef
-
Jacques Pienaar authored
User was confused by previous wording when pass was reported as failing due to signal in unrelated thread being caught. Differential Revision: https://reviews.llvm.org/D145213
-
isuckatcs authored
This patch adds CFGElementRef to ProgramPoints and helps the analyzer to differentiate between two otherwise identically looking ProgramPoints. Fixes #60412 Differential Revision: https://reviews.llvm.org/D143328
-
Maksim Sabianin authored
Previous search does not take into account @llvm.dbg.* intrinsics and debug types information while DebugInfoFinder takes into account such information. Reviewed By: aprantl Differential Revision: https://reviews.llvm.org/D145239
-
Keith Smiley authored
If no bitcode files are given as inputs but -object_path_lto is passed we should avoid running the LTO pipeline. This mirrors this patch from the ELF port https://github.com/llvm/llvm-project/commit/f3994e4dfa0214b2a09a0e327ba37e6b38bbcdb3 Fixes https://github.com/llvm/llvm-project/issues/61031 Differential Revision: https://reviews.llvm.org/D145273
-
LLVM GN Syncbot authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
Not sure why this was broken, but I was seeing this linker error: ld64.lld: error: undefined symbol: (anonymous namespace)::AMDGPUInsertDelayAlu::DelayInfo::SALU_CYCLES_MAX >>> referenced by AMDGPUInsertDelayAlu.cpp:129 (/Users/matt/src/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp:129)
-
Matt Arsenault authored
-