- Dec 25, 2019
-
-
Alexey Bataev authored
Added initialization of the extra modifier to silence sanitizer. Added extra checks to avoid such trouble in future.
-
Matt Arsenault authored
-
Kamil Rytarowski authored
Switch from PT_LWPINFO to PT_LWPSTATUS/PT_LWPNEXT. Keep compat support for < 9.99.30. No functional change intended.
-
Kamil Rytarowski authored
Enable compat support for now legacy PT_LWPINFO. Support PT_LWPSTATUS and PT_LWPNEXT.
-
Kamil Rytarowski authored
Handle PT_LWPNEXT for newer kernels and keep PT_LWPINFO for older ones.
-
Craig Topper authored
[X86] Use 128-bit vector instructions for f32/f64->i64 conversions on 32-bit targets with avx512dq and avx512vl instructions. On 32-bit targets we can't use the scalar instruction so we insert the scalar into a vector and use packed conversions. Previously we used either v4f32->v4i64 or v4f64->v4i64 to avoid some complexity creating target specific ISD opcodes for v4f32->v2i64. But this causes extra vzeroupper instructions and possibly frequency throttling on Intel CPUs. This patch changes this to create a 128-bit vector and uses a target specific ISD opcode if needed.
-
Fangrui Song authored
-
Saleem Abdulrasool authored
`/OPT:REF` is needed for link to dead strip functions, `/Gy` by itself is not sufficient.
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D71850
-
Alexey Bataev authored
-
Alexey Bataev authored
Added parsing/sema checks for conditional lastprivates.
-
- Dec 24, 2019
-
-
Matt Arsenault authored
Physical register names now start with $, not %
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Raphael Isemann authored
m_scratch_ast_source_up is only used by ClangASTContextForExpressions so it should also be declared only in that class. Also make all other members of ClangASTContext private and move the initialization code for ClangASTContextForExpressions into the constructor.
-
Ilya Mirsky authored
Replace tidy::utils::lexer::getConstQualifyingToken with a corrected and also generalized to other qualifiers variant - getQualifyingToken. Fixes PR44326
-
Florin Iucha authored
cppcoreguidelines-avoid-magic-numbers should not warn about enum class. Fixes PR40640.
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Kevin P. Neal authored
-
Sylvestre Ledru authored
-
Sylvestre Ledru authored
-
Raphael Isemann authored
ClangExternalASTSourceCommon's purpose is to store a map from Decl*/Type* to ClangASTMetadata. Usually this data is accessed via the ClangASTContext interface which then grabs the current ExternalASTSource of its ASTContext, tries to cast it to ClangExternalASTSourceCommon and then accesses the metadata map. If the casting fails the setter does nothing and the getter returns a nullptr as if there was no known metadata for a type/decl. This system breaks as soon as any non-LLDB ExternalASTSource is added via a multiplexer to our existing ExternalASTSource (in which case we suddenly loose all out metadata as the casting always fails with an ExternalASTSource that is not inheriting from ClangExternalASTSourceCommon). This patch moves the metadata map to the ClangASTContext. This gets rid of all the fragile casting, the requirement that every ExternalASTSource in LLDB has to inherit from ClangExternalASTSourceCommon and simplifies the metadata implementation to a simple map lookup. As ClangExternalASTSourceCommon had no other purpose than storing metadata, this patch deletes this class and replaces all uses with clang::ExternalASTSource. No other code changes in this commit beside the AppleObjCDeclVendor which was the only code that did not use the ClangASTContext interface but directly accessed the ClangExternalASTSourceCommon.
-
Sylvestre Ledru authored
Hopefully, it will help other people
-
Sylvestre Ledru authored
-
Russell Gallop authored
and "[Support] Try to fix bot failure after 8ddcd1dc" This reverts commits f70f1801 and 8ddcd1dc as this was breaking the MacOS build, which doesn't support thread_local.
-
Whisperity authored
The function and its called static helpers don't modify the received CXXRecordDecl arguments at all as the method's result is put into an output parameter. Thus they can be const which allows for neatly grabbing the conversion methods in a context where we only have a const ASTUnit at hand. Differential Revision: https://reviews.llvm.org/D71805
-
Sam Parker authored
Having TypeSize as a static class variable was causing problems with multi-threading. Several static functions have now been converted into methods of TypePromotion and a few other members of TypePromotion and IRPromoter have been added or removed. Differential Revision: https://reviews.llvm.org/D71832
-
David Blaikie authored
-
David Blaikie authored
-
Mehdi Amini authored
It seems that every subproject has a license file instead of having a top-level one.
-
Georgii Rymar authored
This removes the `getTypeString` from readeobj source because it almost duplicates the existent method: `ELFFile<ELFT>::getDynamicTagAsString`. Side effect: now it prints "<unknown:>0xHEXVALUE" instead of "(unknown)" for unknown values. llvm-readelf before this patch printed: ``` 0x0000000012345678 (unknown) 0x8765432187654321 0x000000006abcdef0 (unknown) 0x9988776655443322 0x0000000076543210 (unknown) 0x5555666677778888 ``` and now it prints: ``` 0x0000000012345678 (<unknown:>0x12345678) 0x8765432187654321 0x000000006abcdef0 (<unknown:>0x6abcdef0) 0x9988776655443322 0x0000000076543210 (<unknown:>0x76543210) 0x5555666677778888 ``` GNU reaedlf prints different thing: ``` 0x0000000012345678 (<unknown>: 12345678) 0x8765432187654321 0x000000006abcdef0 (Operating System specific: 6abcdef0) 0x9988776655443322 0x0000000076543210 (Processor Specific: 76543210) 0x5555666677778888 ``` I am not sure we want to follow GNU here. Even if we d...
-
Mehdi Amini authored
-
Alex Zinenko authored
Differential revision: https://reviews.llvm.org/D71844
-
Mehdi Amini authored
-
Sourabh Singh Tomar authored
Dwo files must contain have DW_AT_macro_info attribute, when macro information is emitted. Adjusted the test case for the same.
-
Fangrui Song authored
CurDAG is referenced more than 2000 times and used in many gerated .cpp files. Don't touch it for now.
-
Fangrui Song authored
For sqlite3 amalgram, this decreases the number of Worklist.push_back calls (603084) by 10%.
-
Saleem Abdulrasool authored
Adjust the flags for the LLDB test on Windows. This test was previously not running, but after the fix to the python detection, we now run this.
-