- Mar 21, 2020
-
-
Walter Erquinigo authored
This reverts commit a8c22ba4.
-
Walter Erquinigo authored
This reverts commit 4ec6ebab.
-
Walter Erquinigo authored
Summary: Inspired by https://reviews.llvm.org/D74636, I'm introducing a basic version of Environment in the API. More functionalities can be added as needed. Reviewers: labath, clayborg Subscribers: mgorny, lldb-commits, diazhector98 Tags: #lldb Differential Revision: https://reviews.llvm.org/D76111
-
Hector Diaz authored
Summary: If no custom launching is used, lldb-vscode launches a program with an empty environment by default. In some scenarios, the user might want to simply use the same environment as the IDE to have a set of working environment variables (e.g. PATH wouldn't be empty). In fact, most DAPs in VSCode have this behavior by default. In other cases the user definitely needs to set their custom environment, which is already supported. To make the first case easier for the user (e.g. not having to copy the PATH to the launch.json every time they want to debug simple programs that rely on PATH), a new option is now offered. inheritEnvironment will launch the program copying its own environment, and it's just a boolean flag. {F11347695} Reviewers: clayborg, aadsm, diazhector98, kusmour Subscribers: labath, JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74636 -
Walter Erquinigo authored
Summary: https://reviews.llvm.org/D65363 introduced the launchCommands argument. However, it did not add a corresponding definition in the package.json Reviewers: clayborg, labath, kusmour, aadsm Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D76529
-
Shoaib Meenai authored
Make the install-llvm-libraries-stripped and install-clang-libraries-stripped targets depend on the individual library stripped install targets, so that they actually install the libraries.
-
Richard Smith authored
-
Jonas Devlieghere authored
The fourth field in the property struct is the default unsigned or enum value for all types, except for Array and Dictionary types. For those, it is the element type. During the tablegen conversion, this was incorrectly translated to DefaultValueUnsigned with a value corresponding to the OptionValue: enum type. So for OptionValue::eTypeString this became DefaultUnsignedValue<16>. This patch extends the tablegen backend to understand ElementType to express this as ElementType<"String">. Differential revision: https://reviews.llvm.org/D76535
-
Akira Hatanaka authored
returned by function calls or loaded from volatile objects rdar://problem/51867864 Differential Revision: https://reviews.llvm.org/D66094
-
Wyatt Childers authored
present. No functionality change intended. Differential Revision: https://reviews.llvm.org/D76438
-
Eric Christopher authored
Temporarily Revert "[X86] Reland D71360 Clean up UseInitArray initialization for X86ELFTargetObjectFile" as it's causing msan failures. This reverts commit 7899fe9d.
-
Louis Dionne authored
The current lit test suite doesn't really allow us to express that the test should be disabled when testing the trunk variant of libc++, even if we're running it on a supported macOS. Because of that, the test is enabled when _LIBCPP_DISABLE_AVAILABILITY is defined, and the test XPASSes.
-
JonChesterfield authored
-
nmostafa authored
Summary: Add an additional builder to IfOp to allow the operation to define operands. Differential Revision: https://reviews.llvm.org/D76524
-
Huihui Zhang authored
Summary: DataLayout::getTypeStoreSize() returns TypeSize. For cases where it can not be scalable vector (e.g., GlobalVariable), explicitly call TypeSize::getFixedSize(). For cases where scalable property doesn't matter, (e.g., check for zero-sized type), use TypeSize::isNonZero(). Reviewers: sdesmalen, efriedma, apazos, reames Reviewed By: efriedma Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76454
-
Adrian Prantl authored
while investigating bot breakage. This reverts commit 2dec8265.
-
Adrian Prantl authored
The ".sdk" component is usually the last one in the -isysroot, so it makes more sense to scan from the back. Also, technically, someone could install Xcode into a directory ending with .sdk, which would break this heuristic. Differential Revision: https://reviews.llvm.org/D76097
-
Aaron Smith authored
Two MLIR examples do not link because the library path is different when using Xcode vs Makefiles. This change adds the configuration name to the library path when building with Xcode. i.e. LLVM_BUILD_DIR/debug/lib
-
Nicolas Vasilache authored
-
Louis Dionne authored
-
Adrian Prantl authored
<rdar://problem/55685132> Differential Revision: https://reviews.llvm.org/D76393
-
Adrian Prantl authored
This reverts commit 6725c483.
-
Paula Toth authored
[clang-tidy] Merge common code between llvmlibc-restrict-system-libc-headers and portability-restrict-system-includes Summary: Made llvmlibc::RestrictSystemLibcHeadersCheck a subclass of protability::RestrictSystemIncludesCheck to re-use common code between the two. This also adds the ability to white list linux development headers. Reviewers: aaron.ballman Reviewed By: aaron.ballman Subscribers: mgorny, xazax.hun, MaskRay, cfe-commits, sivachandra Tags: #clang-tools-extra, #clang Differential Revision: https://reviews.llvm.org/D76395
-
Adrian Prantl authored
<rdar://problem/55685132> Differential Revision: https://reviews.llvm.org/D76393
-
Louis Dionne authored
Before this patch, the %run substitution did not contain the same environment variables as normal `pass.cpp` tests. It also didn't have the right working directory and the script wasn't aware of potential file dependencies. With this change, the combination of %build and %run in a .sh.cpp script should match how pass.cpp tests are actually executed much more closely.
-
aartbik authored
Summary: Introduced in order to introduce specialized lowering passes that implement transposition operations efficiently. Reviewers: nicolasvasilache, andydavis1 Reviewed By: nicolasvasilache Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76460
-
George Rokos authored
Differential Revision: https://reviews.llvm.org/D76469
-
Sylvain Audi authored
The .i files in the clang tests (2 files) were not run by lit : clang/test/CodeGen/debug-info-preprocessed-file.i clang/test/FrontEnd/processed-input.i Differential Revision: https://reviews.llvm.org/D75853
-
Adrian Prantl authored
Differential Revision: https://reviews.llvm.org/D76383
-
Fangrui Song authored
-
Richard Smith authored
fixed the same bug in two similar ways.
-
Huihui Zhang authored
Summary: Return None if GEP index type is scalable vector. Size of scalable vectors are multiplied by a runtime constant. Avoid transforming: %a = bitcast i8* %p to <vscale x 16 x i8>* %tmp0 = getelementptr <vscale x 16 x i8>, <vscale x 16 x i8>* %a, i64 0 store <vscale x 16 x i8> zeroinitializer, <vscale x 16 x i8>* %tmp0 %tmp1 = getelementptr <vscale x 16 x i8>, <vscale x 16 x i8>* %a, i64 1 store <vscale x 16 x i8> zeroinitializer, <vscale x 16 x i8>* %tmp1 into: %a = bitcast i8* %p to <vscale x 16 x i8>* %tmp0 = getelementptr <vscale x 16 x i8>, <vscale x 16 x i8>* %a, i64 0 %1 = bitcast <vscale x 16 x i8>* %tmp0 to i8* call void @llvm.memset.p0i8.i64(i8* align 16 %1, i8 0, i64 32, i1 false) Reviewers: sdesmalen, efriedma, apazos, reames Reviewed By: sdesmalen Subscribers: tschuett, hiraditya, rkruppe, arphaman, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76464
-
Walter Erquinigo authored
Summary: Inspired by https://reviews.llvm.org/D74636, I'm introducing a basic version of Environment in the API. More functionalities can be added as needed. Reviewers: labath, clayborg Subscribers: mgorny, lldb-commits, diazhector98 Tags: #lldb Differential Revision: https://reviews.llvm.org/D76111
-
Walter Erquinigo authored
Summary: On Linux, when executing lldb-vscode on a remote machine, lldb-vscode doesn't die after the debug session ends. It keeps trying to read JSON input to no avail. This diff indicates lldb-vscode to stop reading after a termination event has been processed. Reviewers: clayborg, aadsm, kusmour Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D76314
-
Rob Suderman authored
Summary: Change AffineOps Dialect structure to better group both IR and Tranforms. This included extracting transforms directly related to AffineOps. Also move AffineOps to Affine. Differential Revision: https://reviews.llvm.org/D76161
-
Richard Smith authored
accept as an extension. This attempts to accept the same cases a GCC, plus cases where a comparison is rewritten to an operator== with an integral but non-bool return type; this is sufficient to avoid most problems with various major open-source projects (such as ICU) and appears to fix all but one of the comparison-related C++20 build breaks in LLVM. This approach is being pursued for standardization.
-
Adrian Prantl authored
It's not used for anything.
-
Adrian Prantl authored
Before this patch a Clang module skeleton CU would have a DW_AT_comp_dir pointing to the directory of the module map file, and this information was not used by anyone. Even worse, LLDB actually resolves relative DWO paths by appending it to DW_AT_comp_dir. This patch sets it to the same directory that is used as the main CU's compilation directory, which would make the LLDB code work. Differential Revision: https://reviews.llvm.org/D76377
-
Nikita Popov authored
First check whether the RHS is a null pointer, and only then perform a potentially expensive non-zero query.
-
Davide Italiano authored
-