- Jun 07, 2023
-
-
Craig Topper authored
Where C is a simm32. This costs an extra temporary register, but avoids a constant pool. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D152236
-
Peter Klausler authored
12.10.2.17 defines that a INQUIRE statement's NEXTREC=n output value for a unit that is not connected for direct access becomes undefined, but the current I/O runtime can fail in a confusing manner by trying to return uninitialized stack garbage. Reported on Slack by Tarun Prabhu as an intermittent failure in the gfortran regression test inquire_pre.f90. Differential Revision: https://reviews.llvm.org/D152295
-
Simon Pilgrim authored
Reduces diff in a future commit
-
Andrey Portnoy authored
The call to 'multiply_transpose' in the initialization of the variable 'f' was intended to have a shape mismatch. However the variable 'a' has shape <2, 3> and the variable 'c' has shape <3, 2>, so the arguments 'transpose(a)' and 'c' have in fact compatible shapes (<3, 2> both), the opposite of what is wanted here. This commit removes the transpose so that arguments 'a' and 'c' have incompatible shapes <2, 3> and <3, 2>, respectively. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D151897
-
Jacques Pienaar authored
Serves as rather self-contained documentation for using the generator from https://reviews.llvm.org/D144820. Differential Revision: https://reviews.llvm.org/D152118
-
Alex Langford authored
Re-apply "Revert "[DebugInfo] Add error checking around data extraction in DWARFAbbreviationDeclaration::extract"" This reverts commit 11d61c07 to re-apply 6836a47b with modifications. Specifically, the errors in DWARFAbbreviationDeclaration::extract needed to be moved as they are returned to ensure the right Error constructor is selected.
-
Arthur Eubanks authored
Follow up to D151815. Or else we properly handle the first instance of a file, then error out on the second instance of the same file. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D152198
-
Alex Langford authored
Revert "[DebugInfo] Add error checking around data extraction in DWARFAbbreviationDeclaration::extract" This reverts commit 6836a47b. This breaks some bots, need to investigate.
-
Med Ismail Bennani authored
This patch should fix path completion starting from the root directory. To do so, this patch adds a special case when setting the search directory when the completion buffer points to the root directory. Differential Revision: https://reviews.llvm.org/D152013 Signed-off-by:
Med Ismail Bennani <ismail@bennani.ma>
-
Med Ismail Bennani authored
This patch should fix a crash in the opening a crash report that was passed with a relative path. This patch expands the crash report path before parsing it and raises a `FileNotFoundError` exception if the file doesn't exist. Differential Revision: https://reviews.llvm.org/D152012 Signed-off-by:
Med Ismail Bennani <ismail@bennani.ma>
-
Med Ismail Bennani authored
This patch should allow the user to set specific auto-completion type for their custom commands. To do so, we had to hoist the `CompletionType` enum so the user can access it and add a new completion type flag to the CommandScriptAdd Command Object. So now, the user can specify which completion type will be used with their custom command, when they register it. This also makes the `crashlog` custom commands use disk-file completion type, to browse through the user file system and load the report. Differential Revision: https://reviews.llvm.org/D152011 Signed-off-by:
Med Ismail Bennani <ismail@bennani.ma>
-
Med Ismail Bennani authored
This patch add the ability for the user to set a label for a target. This can be very useful when debugging targets with the same executables in the same session. Labels can be set either at the target creation in the command interpreter or at any time using the SBAPI. Target labels show up in the `target list` output, following the target index, and they also allow the user to switch targets using them. rdar://105016191 Differential Revision: https://reviews.llvm.org/D151859 Signed-off-by:
Med Ismail Bennani <ismail@bennani.ma>
-
Tue Ly authored
The libc's equivalent of std::expected has a non-standard and non-explicit operator T - https://github.com/llvm/llvm-project/issues/62738 Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D152270
-
Alex Langford authored
In trying to hoist errors further up this callstack, I discovered that if the data in the debug_abbrev section is invalid entirely, the code that parses the debug_abbrev section may do strange or unpredictable things. The underlying issue is that DataExtractor will return a value of 0 when it encounters an error in extracting a LEB128 value. It's thus difficult to determine if there was an error just by looking at the return value. This patch aims to bail at the first sight of an error in the debug_abbrev parsing code. Differential Revision: https://reviews.llvm.org/D151755
-
Elizabeth Andrews authored
Clang currently emits an error when a friend of a local class tries to access it's private data members. This patch fixes the bug. Differential Revision: https://reviews.llvm.org/D152195
-
Simon Pilgrim authored
Revert rG98061013 - [X86] X86FixupVectorConstantsPass - attempt to replace full width fp vector constant loads with broadcasts on AVX+ targets Reverting while we address an existing issue exposed by this (Issue #63108)
-
Dirk MG Seynhaeve authored
Fix a small but misleading/confusing typo in the comments (which shows up in the doxygen documentation): Black -> BLACK (the enumeration is case-sensitive). Differential revision: https://reviews.llvm.org/D151598
-
Slava Zakharin authored
The changes convert hlfir.designate to fir.array_coor/fir.embox to represent a subscripted element of a polymorphic array. The type information is conveyed via the fir.embox's source_box. Reviewed By: tblah Differential Revision: https://reviews.llvm.org/D152200
-
Craig Topper authored
This property was intended to indicate when RISCVAsmPrinter should drop the tied source operand when converting to MCInst. Using it in RISCVDAGToDAGISel distorts what it intended for. This should remove some changes from D151850. Reviewed By: frasercrmck, asb Differential Revision: https://reviews.llvm.org/D152039
-
Nick Desaulniers authored
As suggested by @erichkeane in https://reviews.llvm.org/D141451#inline-1429549 There's potential for a lot more cleanups around these APIs. This is just a start. Callers need to be more careful about sub-expressions producing strings that don't outlast the expression using `llvm::demangle`. Add a release note. Differential Revision: https://reviews.llvm.org/D149104
-
Simon Pilgrim authored
Revert rGab4b9248 - [X86] X86FixupVectorConstantsPass - attempt to replace full width integer vector constant loads with broadcasts on AVX2+ targets Reverting while we address an existing issue exposed by this (Issue #63108)
-
Aart Bik authored
Document better that unary/binary may only feed to the output or the input of a custom reduction (not even a regular reduction since it may have "no value"!). Also fixes a bug when present branch is empty and feeds into custom reduction. Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D152224
-
Vy Nguyen authored
Details: See bug report: https://github.com/llvm/llvm-project/issues/63039 Differential Revision: https://reviews.llvm.org/D151824
-
Aaron Ballman authored
-
Sam McCall authored
Differential Revision: https://reviews.llvm.org/D151557
-
Kazu Hirata authored
The corresponding function definition was removed by: commit 1ebee7ad Author: Hiroshi Yamauchi <yamauchi@google.com> Date: Fri Oct 2 13:00:40 2020 -0700
-
Prabhdeep Singh Soni authored
This patch fixes an unused variable warning that was caused by the task depend patch. Original Commit: 3373c840 Original Differential Revision: https://reviews.llvm.org/D146766
-
Yaxun (Sam) Liu authored
Device variables in an anonymous namespace may be referenced by host code, therefore they need to be externalized in a similar way as a static device variables or kernels in an anonymous namespace. Fixes: https://github.com/ROCm-Developer-Tools/HIP/issues/3246 Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D152164
-
- Jun 06, 2023
-
-
yronglin authored
Clang now incorrectly allowed increment of bool in unevaluated contexts, we set `diagnostic::ext_increment_bool` to be SFINAEFailure to fix this issue. ``` template<class T> auto f(T t) -> decltype(++t); auto f(...) -> void; void g() { f(true); // Clang wrongly makes this a hard error } ``` ``` template <class T> concept can_increment = requires(T t) { ++t; }; template <class T> void f() { static_assert(requires(T t) { ++t; }); // Incorrectly allowed } int main() { f<bool>(); static_assert(!can_increment<bool>); // Incorrectly fails bool b = false; ++b; // Correctly rejected } ``` Fix issue: https://github.com/llvm/llvm-project/issues/47517 Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D152259 -
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: #libc, ldionne Spies: ldionne, libcxx-commits Differential Revision: https://reviews.llvm.org/D151841
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D150128
-
prabhukr authored
Target triple to support "x86_64-unknown-uefi" Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D131594
-
Mikhail Goncharov authored
(missing piece from https://reviews.llvm.org/D152265) 476e7c49
-
Marco Elver authored
Build bots are still failing, and getting it to work on Windows should be done in a separate patch, should this even be technically feasible. | lld-link: error: | stage2_win_x64/obj/compiler-rt/lib/asan/asan_shared_library.asan_activation.obj: | memcpy should not refer to special section 0
-
Jolanta Jensen authored
Differential Revision: https://reviews.llvm.org/D152004
-
Zequan Wu authored
There are two age fields in a PDB file. One from the PDB Stream and another one from the DBI stream. According to https://randomascii.wordpress.com/2011/11/11/source-indexing-is-underused-awesomeness/#comment-34328, The age in DBI stream is used to against the binary's age. `Pdbstr.exe` is used to only increment the age from PDB stream without changing the DBI age. I also verified this by manually changing the DBI age of a PDB file and let `windbg.exe` to load it. It shows the following logs before and after changing: Before: ``` SYMSRV: BYINDEX: 0xA c:\symbols*https://msdl.microsoft.com/download/symbols nlaapi.pdb D72AA69CD5ABE5D28C74FADB17DE3F8C1 SYMSRV: PATH: c:\symbols\nlaapi.pdb\D72AA69CD5ABE5D28C74FADB17DE3F8C1\nlaapi.pdb SYMSRV: RESULT: 0x00000000 *** WARNING: Unable to verify checksum for NLAapi.dll DBGHELP: NLAapi - public symbols c:\symbols\nlaapi.pdb\D72AA69CD5ABE5D28C74FADB17DE3F8C1\nlaapi.pdb ... ``` After: ``` SYMSRV: BYINDEX: 0xA c:\symbols*https://msdl.microsoft.com/download/symbols nlaapi.pdb D72AA69CD5ABE5D28C74FADB17DE3F8C1 SYMSRV: PATH: c:\symbols\nlaapi.pdb\D72AA69CD5ABE5D28C74FADB17DE3F8C1\nlaapi.pdb SYMSRV: RESULT: 0x00000000 DBGHELP: c:\symbols\nlaapi.pdb\D72AA69CD5ABE5D28C74FADB17DE3F8C1\nlaapi.pdb - mismatched pdb SYMSRV: BYINDEX: 0xB c:\symbols*https://chromium-browser-symsrv.commondatastorage.googleapis.com nlaapi.pdb D72AA69CD5ABE5D28C74FADB17DE3F8C1 SYMSRV: PATH: c:\symbols\nlaapi.pdb\D72AA69CD5ABE5D28C74FADB17DE3F8C1\nlaapi.pdb SYMSRV: RESULT: 0x00000000 DBGHELP: c:\symbols\nlaapi.pdb\D72AA69CD5ABE5D28C74FADB17DE3F8C1\nlaapi.pdb - mismatched pdb SYMSRV: BYINDEX: 0xC c:\src\symbols*https://msdl.microsoft.com/download/symbols nlaapi.pdb D72AA69CD5ABE5D28C74FADB17DE3F8C1 SYMSRV: PATH: c:\src\symbols\nlaapi.pdb\D72AA69CD5ABE5D28C74FADB17DE3F8C1\nlaapi.pdb SYMSRV: RESULT: 0x00000000 *** WARNING: Unable to verify checksum for NLAapi.dll DBGHELP: NLAapi - public symbols c:\src\symbols\nlaapi.pdb\D72AA69CD5ABE5D28C74FADB17DE3F8C1\nlaapi.pdb ``` So, `windbg.exe` uses the DBI age to detect mismatched pdb, but it still loads the pdb even if the age mismatched. Probably lldb should do the same and give some warnings. This fixes a bug that lldb can't load some windows system pdbs due to mismatched uuid. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D152189
-
Mark de Wever authored
-
paperchalice authored
The lifetime of clang_resource_path should be same as kResourceDirSuffixes, because kResourceDirSuffixes doesn't own clang_resource_path. Differential Revision: https://reviews.llvm.org/D152225
-