- Aug 11, 2020
-
-
Georgii Rymar authored
It removes all `unwrapOrError` calls except the first one, which is is bit different and can be removed separately. Differential revision: https://reviews.llvm.org/D85303
-
Rainer Orth authored
Two tests currently `XPASS` on sparcv9: Unexpectedly Passed Tests (2): Builtins-sparcv9-sunos :: compiler_rt_logbl_test.c Builtins-sparcv9-sunos :: divtc3_test.c The following patch fixes this. Tested on `sparcv9-sun-solaris2.11`. Differential Revision: https://reviews.llvm.org/D85119 -
Georgii Rymar authored
program-headers.test was merged to gnu-phdrs.test and removed in D85526. Now, gnu-phdrs.test contains tests for both GNU and LLVM style. It was decided that this renaming should be done separately for a better commit history and diffing purposes.
-
Valentin Clement authored
This patch takes advantage of the directive information and tablegen generation to replace the clauses class parse tree and in the dump parse tree sections. Reviewed By: sscalpone Differential Revision: https://reviews.llvm.org/D85549
-
Georgii Rymar authored
We have `gnu-phdrs.test` that tests `-l`, `--program-headers` and `--segment` options for `llvm-readelf`. We also have: 1) `program-headers.test` that tests `--program-headers` and `-l` for `llvm-readobj`. It doesn't test `--segment` and also uses lots of precompiled objects. It is very incomplete in compare with the `gnu-phdrs.test`. 2) `pt-gnu-property.test` that contains a simple test for the `PT_GNU_PROPERTY` segment. There is no reason to have it in a separate file. This patch: 1) Merges `program-headers.test` and `pt-gnu-property.test` to `gnu-phdrs.test`. 2) Removes 2 precompiled binaries used by `program-headers.test` (other ones are still used by another tests). Differential revision: https://reviews.llvm.org/D85526
-
Sjoerd Meijer authored
-
Pavel Labath authored
Fixes some unused variable warnings with gcc.
-
Pavel Labath authored
These definitions are needed by any file which uses gtest. Previously we were adding them in the add_unittest function, but over time we've accumulated libraries (which don't go through add_unittest) building on gtest and this has resulted in proliferation of the definitions. Making this a part of the library interface enables them to be managed centrally. This follows a patch for -Wno-suggest-override (D84554) which took a similar approach. Differential Revision: https://reviews.llvm.org/D84748
-
Simon Pilgrim authored
This should be addressed by combineHorizOpWithShuffle once we enable it for HADD/SUB
-
Simon Pilgrim authored
This should be addressed by combineHorizOpWithShuffle once we enable it for HADD/SUB
-
Maximilian Fickert authored
Use spaces to align binary and ternary expressions when using AlignOperands and UT_AlignWithSpaces. This fixes an oversight in the new UT_AlignWithSpaces option (see D75034), which did not correctly identify the alignment of binary/ternary expressions. Reviewed By: curdeius Patch by: fickert Differential Revision: https://reviews.llvm.org/D85600
-
Raphael Isemann authored
Like the other type sugar removed by RemoveWrappingTypes, SubstTemplateTypeParm is just pure sugar that should be ignored. If we don't ignore it (as we do now), LLDB will fail to read values from record fields that have a SubstTemplateTypeParm type. Only way to produce such a type in LLDB is to either use the `import-std-module` setting to get a template into the expression parser or just create your own template directly in the expression parser which is what we do in the test. Reviewed By: jarin Differential Revision: https://reviews.llvm.org/D85132
-
Gongyu Deng authored
[lldb] watchpoint ID common completion for commands `watchpoint delete/enable/disable/modify/ignore` 1. Added a common completion WatchPointIDs to complete with a list of the IDs of the current watchpoints; 2. Applied the completion to these commands: watchpoint delete/enable/disable/modify/ignore; 3. Added a correlated test case. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D84104
-
Florian Hahn authored
This is the max version of D85046. This change causes binary changes in 44 out of 237 benchmarks (out of MultiSource/SPEC2000/SPEC2006) Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D85189
-
Georgii Rymar authored
It turns that gnu-ifunc-plt-i386.s and gnu-ifunc-plt.s tests are broken. Initially they were implemented in D27581 and tested that `IRELATIVE` relocations are placed after other relocations in `.rel.plt`. Later, we started to place `IRELATIVE` relocations to `.rela.dyn` (D65651). Also, at some point `.plt` was renamed to `.iplt` (D71520). Now, `gnu-ifunc*` tests mentioned do not test what they intended to test initially: they should test that `IRELATIVE` relocations are placed after other ones in `.rela.dyn`. Also, comments needs to be updated accordingly after changes performed. This patch updates them. Differential revision: https://reviews.llvm.org/D85642
-
Kerry McLaughlin authored
When the result type of insertelement needs to be split, SplitVecRes_INSERT_VECTOR_ELT will try to store the vector to a stack temporary, store the element at the location of the stack temporary plus the index, and reload the Lo/Hi parts. This patch does the following to ensure this works for scalable vectors: - Sets the StackID with getStackIDForScalableVectors() in CreateStackTemporary - Adds an IsScalable flag to getMemBasePlusOffset() and scales the offset by VScale when this is true - Ensures the immediate is clamped correctly by clampDynamicVectorIndex so that we don't try to use an out of range index Reviewed By: david-arm Differential Revision: https://reviews.llvm.org/D84874 -
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Haojian Wu authored
If a functionDecl is invalid (e.g. return type cannot be formed), int is use as he fallback type, which may lead to some bogus diagnostics. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D85714
-
David Stenberg authored
Allow the GNU .debug_macro extension to be parsed and printed by llvm-dwarfdump. In an upcoming patch support will be added for emitting that format also. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D82974
-
David Stenberg authored
This is a preparatory patch for allowing the GNU .debug_macro extension, which is a precursor to the DWARF 5 format, to be emitted by LLVM for earlier DWARF versions. The entries share the same encoding and behavior as in DWARF5; there are just more entries in the DWARF 5 format. Therefore, we could have used those existing DWARF 5 entries, but I think that explicitly referring to the GNU macro variants makes the code more clear. The defines that this patch introduces can be found in GCC in the dwarf2.h header: https://gcc.gnu.org/git/?p=gcc.git;a=blob; f=include/dwarf2.h; h=0b6facfd4cf4c02320c7328114231b128ab42d5e; hb=dccbf1e2a6e544f71b4a5795f0c79015db019fc3#l425 Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D82972
-
David Stenberg authored
Move the Dwarf version checks that determine if the .debug_macro section should be emitted, into a DwarfDebug member. This is a preparatory refactoring for allowing the GNU .debug_macro extension, which is a precursor to the DWARF 5 format, to be emitted by LLVM for earlier DWARF versions. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D82971
-
Gongyu Deng authored
1. Added a common completion completing with a list of the threads of the current process; 2. Apply the common completion above to these commands: thread continue/info/exception/select/step-in/step-inst/step-inst-over/step-out/step-over/step-script 3. Correlated test case test_common_completion_thread_index. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D84088
-
Kirill Bobyrev authored
Reviewed By: hokein Differential Revision: https://reviews.llvm.org/D85711
-
Benjamin Kramer authored
No need to set the name on an instruction that's going away, just move it from the old instruction to the new one.
-
Kerry McLaughlin authored
Changes the Offset arguments to both functions from int64_t to TypeSize & updates all uses of the functions to create the offset using TypeSize::Fixed() Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D85220
-
Gongyu Deng authored
1. Added a common completion StopHookIDs to provide completion with a list of stop hook ids; 2. Applied the common completion to commands: `target stop-hook delete/enable/disable'; 3. Added an related test case. Reviewed By: teemperor Differential Revision: https://reviews.llvm.org/D84123
-
Benjamin Kramer authored
Found by asan!
-
Raphael Isemann authored
Just implementing the default case that emits an error to supress the compiler warning.
-
Rainer Orth authored
Two ubsan tests FAIL on Sparc: UBSan-Standalone-sparc :: TestCases/TypeCheck/misaligned.cpp UBSan-Standalone-sparcv9 :: TestCases/TypeCheck/misaligned.cpp I've reported the details in Bug 47015, but it boils down to the fact that the `s1` subtest actually incurs a fault on strict-alignment targets like Sparc which UBSan doesn't expect. This can be fixed like the `w1` subtest by compiling with `-fno-sanitize-recover=alignment`. Tested on `sparcv9-sun-solaris2.11`, `amd64-pc-solaris2.11`, and `x86_64-pc-linux-gnu`. Differential Revision: https://reviews.llvm.org/D85433
-
Kazushi (Jam) Marukawa authored
Change bitreverse/bswap/ctlz/ctpop/cttz regression tests to support i128 and signext/zeroext i32 types. This patch also change the way to support i32 types using 64 bits VE instructions. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D85712
-
Paul Walker authored
These are useful instructions when lowering fixed length vector extends, so I've broken this patch out as kind of NFC like work. Differential Revision: https://reviews.llvm.org/D85546
-
Simon Pilgrim authored
The plan is to use this for (F)HADD/SUB opcodes as well as PACKs - similar to how we use combineShuffleWithHorizOp
-
Simon Pilgrim authored
Fixes PR47070
-
Gongyu Deng authored
1. Added a common completion ModuleUUIDs to provide a list of the UUIDs of modules for completion; 2. Added a new enumeration item eArgTypeModuleUUID to CommandArgumentType which is set as the option argument type of OptionGroupUUID; 3. Applied the module UUID completion to the argument of the type eArgTypeModuleUUID in lldb/source/Interpreter/CommandObject.cpp; 4. Added an related test case in lldb/test/API/functionalities/completion/TestCompletion.py.
-
Paul Walker authored
Differential Revision: https://reviews.llvm.org/D85665
-
Gongyu Deng authored
[lldb] move the frame index completion into a common completion and apply it to `thread backtrace -s` Commands frame select and thread backtrace -s can be completed in the same way. Moved the dedicated completion of frame select into a common completion and apply it to the both commands, along with the test modified.
-
David Zarzycki authored
Caught with a build-system that remounts the source directory read-only.
-
Gongyu Deng authored
Dedicated completion for the command `target modules search-paths insert` with a test case. Reviewed By: JDevlieghere Differential Revision: https://reviews.llvm.org/D83309
-
Kai Nacke authored
Twelvth -> Twelfth
-