- Sep 08, 2023
-
-
Vitaly Buka authored
Suspecting incorrect lifetime markers. This reverts commit 3a1409f9.
-
Natasha Kononenko authored
Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D159473
-
Philip Reames authored
-
Vy Nguyen authored
Details: We often use wildcard symbols in the exported_symbols list, and sometimes they match autohide symbols, which triggers these "cannot export hidden symbols" warnings that can be a bit noisy. It'd be more user-friendly if LLD could truncate these. Differential Revision: https://reviews.llvm.org/D159095
-
Joseph Huber authored
A recent patch required the implementation to define `LIBC_NAMESPACE`. For GPU offloading we provide a static library whose internal implementation relies on the `libc` headers. This is a separate library that is constructed during the "bootstrap" phase. This patch moves the definition of the `LIBC_NAMESPACE` CMake variable up so its available during bootstrapping and adds it to the definition of the RPC server.
-
Wael Yehia authored
With ThinLTO, when compiling SPEC 2017 omnetpp_r with -threads=4, two small modules can end up with the same timestamp in their sinit symbols when calculating time in seconds, creating duplicate definitions. This patch uses a timestamp in nanoseconds. Because the race can be between threads, embed the thread ID as well. Reviewed By: xingxue, daltenty Differential Revision: https://reviews.llvm.org/D159319
-
Lang Hames authored
This reverts commit 75c48760 while I investigate some build failures, e.g. https://lab.llvm.org/buildbot/#/builders/217/builds/27769
-
Jeremy Morse authored
As outlined in my proposal of how to get rid of debug intrinsics, this patch adds a moveBefore method that signals the caller /intends/ the order of moved instructions is to stay the same. This semantic difference has an effect on debug-info, as it signals whether debug-info needs to move with instructions or not. The patch just replaces a few calls to moveBefore with calls to moveBeforePreserving -- and the latter just calls the former, so it's all NFC right now. A future patch will add an implementation of moveBeforePreserving that takes action to correctly preserve debug-info, but that's tightly coupled with our non-instruction debug-info representation that's still being reviewed. [0] https://discourse.llvm.org/t/rfc-instruction-api-changes-needed-to-eliminate-debug-intrinsics-from-ir/68939 Differential Revision: https://reviews.llvm.org/D156369
-
Lang Hames authored
Adds a utility for creating MachO objects. In this patch we use this utility to construct "debug objects" for the debugger support plugin; however, this utility should be reusable for other purposes, e.g. constructing object files for registration with the ObjC runtime. The debug objects in this patch are created by the MachO JIT debugging-support plugin. The debug objects hold the debug info for object files loaded under the JIT, and are registered with the debugger via the GDB-JIT interface. Previously the plugin created these objects manually using direct writes to a buffer, but this was difficult to read and modify and had become an impediment to improving debugger support (e.g. getting source debugging working in the presence of dead-stripping). Using the MachOBuilder utility should make the debugger support plugin easier to maintain and improve. This initial change to MachO JIT'd code debugging aims for feature parity with the existing plugin (though the debug objects produced are slightly different). Improvements to JIT'd code debugging will be tackled in follow-up patches.
-
Brad Smith authored
Submitting upstream from OpenBSD tree. Differential Revision: https://reviews.llvm.org/D94569
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Will Hawkins authored
Add a warning to the `Building Libcxx` documentation about the limitations of the utility of `--fresh` at the top level. Signed-off-by:Will Hawkins <hawkinsw@obs.cr>
-
Alex authored
lldb already has a `ValueSP` type. This was confusing to me when reading TypeCategoryMap, especially when `ValueSP` is not qualified. From first glance it looks like it's referring to a `std::shared_ptr<lldb_private::Value>` when it's really referring to a `std::shared_ptr<lldb_private::TypeCategoryImpl>`.
-
Rainer Orth authored
As noticed in D158846, the Solaris driver deviates from other targets in that it links every executable with `-lm`, but doesn't for shared objects. For C code, this is unnecessary, while for C++ `libm` is always needed, even for shared objects. This patch fixes this by following the `Gnu.cpp` precedent. It adjusts the `solaris-ld.c` test accordingly, adding some more tests. Tested on `amd64-pc-solaris2.11`, `sparcv9-sun-solaris2.11`, and `x86_64-pc-linux-gnu`.
-
Jay Foad authored
-
esmeyi authored
Summary: Materialization a 64-bit constant with High32=Low32 only requires 2 instructions instead of 3 when Low32 can be materialized in 1 instruction. Reviewed By: qiucf Differential Revision: https://reviews.llvm.org/D158495
-
Tai Ly authored
This adds a native op trait SameOperandsAndResultRank and associated verifier that checks that an operator's operands and result types have same ranks if their ranks are known. Signed-off-by:
Tai Ly <tai.ly@arm.com> Change-Id: I2d536f77be10f3710d0c8d84c907ff492a984fda Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D156369
-
Jay Foad authored
This allows it to be inlined in Release builds giving a geomean 0.10% speed up according to https://llvm-compile-time-tracker.com/
-
Joseph Huber authored
These functions were implemented by simply calling their `__builtin_*` equivalents. The builtins were resolving to the libc functions back again. This patch adds explicit vendor versions for these functions to avoid the recursion.
-
Jakub Kuderski authored
This is the last remaining op from the `SPV_KHR_cooperative_matrix` extension.
-
Fangrui Song authored
From https://discourse.llvm.org/t/input-needed-teams-for-pull-request-subscriptions/73116/6 They are somehow missing in latest updates of #65131.
-
Joel E. Denny authored
This reverts commit 09b6e457. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit c981c533. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit f254bbf2. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit 3db5db92. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit 012d844f. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit b6bd9d27. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit 19b44c2b. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Joel E. Denny authored
This reverts commit efec733b. The reason for the revert is discussed at: https://discourse.llvm.org/t/rfc-improving-lits-debug-output/72839/52
-
Amara Emerson authored
-
Shilei Tian authored
This reverts commit e91e3cf0 because AMD BB is not happy with it.
-
Dmitri Gribenko authored
-
Shilei Tian authored
-
Guillaume Chatelet authored
This is needed because `cpp::in_place_t` is also used by `cpp::expected` https://en.cppreference.com/w/cpp/utility/in_place
-
kazutakahirata authored
This patch replaces any_cast with llvm::any_cast. This in turn allows us to gracefully switch to std::any in future by forwarding llvm::Any and llvm::any_cast to: using Any = std::any; template <class T> T *any_cast(Any *Value) { return std::any_cast<T>(Value); } respectively. Without this patch, it's ambiguous whether any_cast refers to std::any_cast or llvm::any_cast. As an added bonus, this patch makes it easier to mechanically replace llvm::any_cast with std::any_cast without affecting other occurrences of any_cast (e.g. in libcxx). -
Guillaume Chatelet authored
-
Will Hawkins authored
Add a [-b|--bootstrap] flag to change cxx-test-depends to runtimes-test-depends when testing a build of libcxx from bootstrapping. Signed-off-by:
Will Hawkins <hawkinsw@obs.cr> Differential Revision: https://reviews.llvm.org/D157045
-
Dmitri Gribenko authored
-