- Jan 13, 2024
-
-
Greg Clayton authored
Some builds don't enable the x86_64 target, so we sometimes don't see register names in DWARF output.
-
Krzysztof Parzyszek authored
These two constructs were both handled in `genOMP` for loop constructs. There is some shared code between the two, but there are also enough differences to separate these two cases into individual functions. The shared code converting loop bounds and steps has been extracted into a separate function. Recursive lowering [1/5]
-
Dominik Wójt authored
The updated picolibc version has "isblank" function with external linkage. This is required for C++ modules support. This should solve all the problems reported in #76980, but we'll wait to validate this with the modules build without closing that issue.
-
Michael Buch authored
This adds API tests for the `target.max-string-summary-length`, which was recently fixed in https://github.com/llvm/llvm-project/pull/72233
-
MaheshRavishankar authored
This makes it consistent with how other linalg operations represent indexing maps.
-
John Harrison authored
When generating a `display_value` for a variable the current approach calls `SBValue::GetValue()` and `SBValue::GetSummary()` to generate a `display_value` for the `SBValue`. However, there are cases where both of these return an empty string and the fallback is to print a pointer and type name instead (e.g. `FooBarType @ 0x00321`). For swift types, lldb includes a langauge runtime plugin that can generate a description of the object but this is only used with `SBValue::GetDescription()`. For example: ``` $ lldb swift-binary ... stop at breakpoint ... lldb> script >>> event = lldb.frame.GetValueForVariablePath("event") >>> print("Value", event.GetValue()) Value None >>> print("Summary", event.GetSummary()) Summary None >>> print("Description", event) # __str__ calls SBValue::GetDescription() Description (main.Event) event = (name = "Greetings", time = 2024-01-04 23:38:06 UTC) ``` With this change, if GetValue and GetSummary return empty then we try `SBValue::GetDescription()` as a fallback before using the previous logic of printing `<type> @ <addr>`. -
erichkeane authored
-
Jon Roelofs authored
-
Alex Langford authored
BreakpointIDList does not need to know about CommandReturnObject. BreakpointIDList::FindAndReplaceIDRanges is the last place that uses it in BreakpointIDList. Instead of passing in a CommandReturnObject, it now returns an llvm::Error. The callsite uses the Error to populate the CommandReturnObject as needed.
-
Greg Clayton authored
Allow the dumping of .dwo files contents to show up when dumping an executable with split DWARF. (#66726) Allow the dumping of .dwo files contents to show up when dumping an executable with split DWARF. Currently if you run llvm-dwarfdump on a binary that has skeleton compile units, you only see the skeleton compile units. Since the main binary has the linked addresses it would be nice to be able to dump DWARF from the .dwo files and how the resolved addresses instead of showing the address index and "<unresolved>" in the output. This patch adds an option that can be specified to dump the non skeleton DIEs named --dwo. Added the ability to use the following options with split dwarf as well: --name <name> --lookup <addr> --debug-info <die-offset>
-
Jonas Devlieghere authored
When I added the MD5 checksum I was on the fence between storing it in FileSpec or creating a new SupportFile abstraction. The latter was deemed overkill for just the MD5 hashes, but support for inline sources in the DWARF 5 line table tipped the scales. This patch moves the MD5 checksum into the new SupportFile class.
-
Amir Ayupov authored
Reduces BAT section size: - large binary: to 12283500 bytes (0.32x original size), - medium binary: to 1616020 bytes (0.27x original size), - small binary: to 404 bytes (0.28x original size). Test Plan: Updated bolt/test/X86/bolt-address-translation.test
-
carlobertolli authored
Reverts llvm/llvm-project#77851
-
Ryan Prichard authored
This commit adds ABI lists for the Android NDK. Fixes: https://github.com/llvm/llvm-project/issues/69270 Differential Revision: https://reviews.llvm.org/D155341
-
carlobertolli authored
Some are missing setting of HSA_XNACK=1 environment variable, used to enable unified memory support on amdgpu's when it's not been set at kernel boot time. Some others needed to be marked as supporting unified_shared_memory in the lit test harness.
-
lntue authored
-
Arthur Eubanks authored
Make it apply to x86-64 medium and large code models since that's what the backend does. Limit logic to exclude x86-32. Default to 0, let the driver set it to 65536 for the medium code model if one is not passed. Set it to 0 for the large code model by default to match gcc and since some users make assumptions about the large code model that any small data will break.
-
lntue authored
-
Craig Topper authored
This makes them more consistent with other extensions so they appear move similar in the -print-supported-extensions output.
-
Will Hawkins authored
Rather than allow for a message to be considered a match for the actual assertion if it is anywhere in the assertion text, make sure that the expected and the actual assertion are identical. Addresses #77701
-
Petr Hosek authored
When crosscompiling tools for a different architecture, we need to build native libc-hdrgen which can be achieved using the existing CMake support for crosscompiling tablegen tools.
-
Usman Nadeem authored
Code builds on NEON code and the tests are adapted from NEON tests minus the tests for illegal types.
-
Igor Kudrin authored
After #75679, it is no longer necessary to add the `All` pseudo subcommand to the list of registered subcommands. The change causes the list to contain only real subcommands, i.e. an unnamed top-level subcommand and named ones. This simplifies the code a bit by removing some checks for this special case. This is a fixed version of #77041, where options of the 'All' subcommand were not added to subcommands defined after them.
-
Emilio Cota authored
-
spupyrev authored
The change (i) fixes an issue with double-int conversion in CacheMetrics and (ii) removes command-line options for computing metrics (which aren't modified anyway). This change might break some tests verifying the exact output of CacheMetrics.
-
XDeme authored
Done as requested in llvm/llvm-project#77045 I have changed the test a bit, because since the root problem was fixed, the original test would possibly never crash.
-
Fangrui Song authored
They fail in a CLANG_DEFAULT_PIE_ON_LINUX=off build.
-
Felix Schneider authored
Before applying the peeling patterns, it can happen that the `ForOp` gets a step of zero during folding. This leads to a division-by-zero down the line. This patch adds an additional check for a constant-zero step and a test. Fix https://github.com/llvm/llvm-project/issues/75758
-
Min-Yih Hsu authored
Add missing tests for inttoptr/ptrtoint on scalable vectors. Previously we only had inttoptr/ptrtoint tests for fixed vectors.
-
Piotr Zegar authored
Ignore false-positives when referring to non-constexpr variables in non-unevaluated context (like decltype, sizeof, ...). Moved from https://reviews.llvm.org/D158657 Fixes: #24066
-
Krzysztof Drewniak authored
In order to ensure the correctness of ptr addrspace(7) lowering, we need a backwards-compatible way to flag buffer intrinsics as volatile that can't be dropped (unlike metadata). To acheive this in a backwards-compatible way, we use bit 31 of the auxilliary immediates of buffer intrinsics as the volatile flag. When this bit is set, the MachineMemOperand for said intrinsic is marked volatile. Existing code will ensure that this results in the appropriate use of flags like glc and dlc. This commit also harmorizes the handling of the auxilliary immediate for atomic intrinsics, which new go through extract_cpol like loads and stores, which masks off the volatile bit.
-
Jay Foad authored
This avoids listing all soft waitcnt opcodes in two places (getNonSoftWaitcntOpcode and isSoftWaitcnt) and avoids the need for helpers isWaitcnt and isWaitcntVsCnt.
-
Jay Foad authored
Always set the upper bound for VS_CNT higher than the lower bound. Before #77439 this code was only executed on function entry where the lower bound was 0 so it was not a problem. Fixes #77931
-
Alex Zinenko authored
-
Wu Yingcong authored
A logical mistake is made in #77058, we should try to find a new file path for socket creation when the path's length generated is bigger than the socket length limit.
-
LLVM GN Syncbot authored
-
Michael Buch authored
All its usages were removed in `2206b48d`.
-
David Spickett authored
Fixes d199ab46.
-
Balázs Kéri authored
[clang][analyzer] Add function 'fprintf' to StreamChecker.
-
- Jan 12, 2024
-
-
Paschalis Mpeis authored
This reverts commit 9fdc5688, as it linker crashes on some platforms.
-