Commit
45f630d729e2cce044ed48e6eaf4b8e61e06fede
by bion[libcxx] [test] Don't assert that moved-from containers with non-POCMA allocators are empty.
|
 | libcxx/test/std/containers/sequences/vector.bool/assign_move.pass.cpp |
 | libcxx/test/std/containers/associative/multiset/multiset.cons/move_assign.pass.cpp |
 | libcxx/test/std/containers/associative/map/map.cons/move_assign.pass.cpp |
 | libcxx/test/std/containers/associative/multimap/multimap.cons/move_assign.pass.cpp |
 | libcxx/test/std/containers/associative/set/set.cons/move_assign.pass.cpp |
Commit
53a28bd8917c6cc243e81418178ef9596a13babe
by suc-daniil[LICM] NFC. Remove AST caching infrastructure Since LICM doesn't use AST caching any more (see D73081), this infrastructure is now obsolete and we can remove it. Reviewers: asbirlea, fhahn, efriedma, reames Reviewed-By: asbirlea Differential Revision: https://reviews.llvm.org/D73084
|
 | llvm/lib/Transforms/Scalar/LICM.cpp |
Commit
5e017c12d22ab48aae34dced543bdbeba9b9893c
by ikudrin[DWARF] Allow empty address range tables. Empty address range tables are allowed by the DWARF standard; Moreover, generating them is recommended as a best practice, see http://wiki.dwarfstd.org/index.php?title=Best_Practices#Generating_.debug_aranges_data Differential Revision: https://reviews.llvm.org/D71931
|
 | llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp |
 | llvm/test/DebugInfo/X86/dwarfdump-debug-aranges.s |
Commit
dcff3961c2d0872074e405d3fb06b28259bb652f
by ikudrin[DWARF] Return Error from DWARFDebugArangeSet::extract(). This helps to detect and report parsing errors better. The patch follows the ideas of LLDB's patches D59370 and D59381. It adds tests for valid and some invalid cases. More checks and tests to come. Note that the patch fixes validation of the Length field because the value does not include the field itself. The existing users are updated to show the error messages. Differential Revision: https://reviews.llvm.org/D71875
|
 | llvm/test/DebugInfo/X86/dwarfdump-debug-aranges.s |
 | llvm/test/tools/llvm-dwarfdump/X86/debug_aranges-error.s |
 | llvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml |
 | llvm/test/tools/obj2yaml/macho-DWARF-debug_aranges-error.yaml |
 | llvm/tools/obj2yaml/obj2yaml.h |
 | llvm/test/ObjectYAML/MachO/DWARF-debug_str.yaml |
 | llvm/lib/DebugInfo/DWARF/DWARFContext.cpp |
 | llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp |
 | llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h |
 | llvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml |
 | llvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml |
 | llvm/unittests/DebugInfo/DWARF/CMakeLists.txt |
 | llvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp |
 | llvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp |
 | llvm/tools/obj2yaml/dwarf2yaml.cpp |
 | llvm/test/ObjectYAML/MachO/DWARF2-AddrSize8-FormValues.yaml |
 | llvm/tools/obj2yaml/macho2yaml.cpp |
 | llvm/tools/obj2yaml/obj2yaml.cpp |
Commit
d6f39cfed06c027d653839adc5b20cee1d79f51d
by ikudrin[DWARF] Make dwarf::getUnitLengthFieldByteSize() constexpr. NFC. This will help make some expressions in upcoming patches constexpr. Differential Revision: https://reviews.llvm.org/D73036
|
 | llvm/include/llvm/BinaryFormat/Dwarf.h |
Commit
a0f367f792aca27c78e9be75bc44f0d346ee157a
by ikudrin[DWARF] Make dwarf::getDwarfOffsetByteSize() a free function. NFC. This will help simplify code in upcoming patches and make some expressions constexpr. Differential Revision: https://reviews.llvm.org/D73039
|
 | llvm/include/llvm/BinaryFormat/Dwarf.h |
Commit
6332990721d9b231ead9ea39e96a6ec0dc61c6cb
by ikudrin[DWARF] Support DWARF64 in DWARFDebugArangeSet. This allows parsing Address Range Tables in the 64-bit DWARF format. Differential Revision: https://reviews.llvm.org/D71876
|
 | llvm/test/DebugInfo/X86/dwarfdump-debug-aranges.s |
 | llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h |
 | llvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp |
 | llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp |
Commit
ed9851a0a682d1ff288ed749287fbc7682ed1514
by ikudrin[DWARF] Better detect errors in Address Range Tables. The patch tries to cover most remaining cases of wrong data. Differential Revision: https://reviews.llvm.org/D71932
|
 | llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp |
 | llvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp |
Commit
1b15965932c4c13e19d323df98c2950dbc2ce313
by llvmgnsyncbot[gn build] Port dcff3961c2d
|
 | llvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn |
Commit
15ac72771430743f69da4d2848e6cf081c3df53a
by ikudrinFix build bot failures. Unfortunately, not all compilers allow using llvm_unreachable in a constexpr function.
|
 | llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp |
 | llvm/include/llvm/BinaryFormat/Dwarf.h |
Commit
6fc9e601494fcb03efccbb0cbebd5053a302a2ad
by suc-daniilNFC. Remove obsolete SimpleAnalysis infrastructure Apparently cache of AliasSetTrackers held by LICM was the only user of SimpleAnalysis infrastructure. Now, given that we no longer have that cache, this infrastructure is obsolete and, taking into account its nature, we don't want any new solutions to be based on it. Reviewers: asbirlea, fhahn, efriedma, reames Reviewed-By: asbirlea Differential Revision: https://reviews.llvm.org/D73085
|
 | llvm/lib/Transforms/Scalar/LoopUnswitch.cpp |
 | llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp |
 | llvm/lib/Analysis/LoopPass.cpp |
 | llvm/include/llvm/Analysis/LoopPass.h |
Commit
660076645315c600e7f3da2af1c859db14500a3d
by suc-daniilNFC. Add PR44320 IR test case.
|
 | llvm/test/Transforms/LCSSA/pr44320.ll |
Commit
1db1b8b8b35727a01387c1bc0bbf25701ad05d3f
by martin[lldb/Test] Don't add a check-* target as dependency in add_lit_testsuite This causes the toplevel "test-depends" target, which should only build all the dependencies necessary for running tests, to suddenaly also run the check-lldb-repro-capture tests. Instead add check-lldb-repro-capture as a dependency to check-lldb-repro with a separate explicit add_dependencies call.
|
 | lldb/test/Shell/CMakeLists.txt |
Commit
0e3ae353a47273825cd2f20f4777dcb5731cf8ec
by saar[Concepts] Profile TypeConstraints in ProfileTemplateParameterList Profile TypeConstraints in ProfileTemplateParameterList so we can distinguish between partial specializations which differ in their TemplateParameterList type constraints
|
 | clang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp |
 | clang/lib/AST/DeclTemplate.cpp |
Commit
5a9ef6c15f37b5908fcf34e6b509bde0e0f70118
by ikudrin[DWARF] Support 64-bit DWARF in .debug_pubnames and similar tables. Differential Revision: https://reviews.llvm.org/D73103
|
 | llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h |
 | llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp |
 | llvm/test/DebugInfo/X86/dwarfdump-debug-pubnames.s |
Commit
c985e7b07db2660b14508d3da45d55f3d4490019
by saarRevert "[Concepts] Profile TypeConstraints in ProfileTemplateParameterList" This temporarily reverts commit 0e3ae353a47273825cd2f20f4777dcb5731cf8ec because of a potential bug.
|
 | clang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp |
 | clang/lib/AST/DeclTemplate.cpp |
Commit
62c221b5090c2e1d3ca408bcab6f69c4d9e175b7
by saar[Concepts] Profile TypeConstraints in ProfileTemplateParameterList Profile TypeConstraints in ProfileTemplateParameterList so we can distinguish between partial specializations which differ in their TemplateParameterList type constraints. Recommit, now profiling the IDC so that we can deal with situations where the TemplateArgsAsWritten are nullptr (happens when canonicalizing type constraints).
|
 | clang/test/CXX/temp/temp.constr/temp.constr.constr/partial-specializations.cpp |
 | clang/lib/AST/DeclTemplate.cpp |
Commit
99960de7414a350a2953008875e904a0b70df171
by ikudrin[DWARF] Get rid of DWARFDebugNames::HeaderPOD. NFC. This structure was used to get the size of the fixed-size part of a Name Index header for 32-bit DWARF. It is unsuitable for 64-bit DWARF because the size of the unit length field is different. Differential Revision: https://reviews.llvm.org/D73040
|
 | llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h |
 | llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp |
Commit
8306f55bfa2b14ac4289c6f1d3ab5c4a64d37f6b
by ikudrin[DWARF] Eliminate the DWARFDebugNames::Header::Padding field. The padding field is reserved for DWARF and does not contain any useful information. No need to read, store and report it. Differential Revision: https://reviews.llvm.org/D73042
|
 | llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp |
 | llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h |
 | llvm/test/DebugInfo/X86/dwarfdump-debug-names.s |
Commit
4a8dbc617d0b28ce2ce3e6856376b3802409554e
by suc-daniil[SSAUpdater] Don't call ValueIsRAUWd upon single use replacement It is incorrect to call ValueHandleBase::ValueIsRAUWd when only one use is replaced since it simply violates semantics of the callback and leads to bugs like PR44320. Previously this call was used specifically to keep LICM's cache of AliasSetTrackers up to date across passes (as PR36801 showed, even for that purpose it didn't work properly), but since LICM doesn't have that cache anymore, we can safely remove this incorrect call with no repercussions. This patch fixes https://bugs.llvm.org/show_bug.cgi?id=44320 Reviewers: asbirlea, fhahn, efriedma, reames Reviewed-By: asbirlea Differential Revision: https://reviews.llvm.org/D73089
|
 | llvm/test/Transforms/LCSSA/pr44320.ll |
 | llvm/lib/Transforms/Utils/SSAUpdater.cpp |
Commit
9dbc1ab23268abce5db98ad9a1e3aef89c371524
by martin[LLD][COFF] Enable linking of __declspec(selectany) symbols from Clang and GCC When annotating a symbol with __declspec(selectany), Clang assigns it comdat 2 while GCC assigns it comdat 3. This patch enables two object files that contain a __declspec(selectany) symbol, one created by gcc and the other by clang, to be linked together instead of issuing a duplicate symbol error. Differential Revision: https://reviews.llvm.org/D73139
|
 | lld/test/COFF/comdat-gcc-compatibility.s |
 | lld/COFF/InputFiles.cpp |
Commit
6d2510d30a01927546f115810fff82609c7ae9dd
by courbet[llvm-exegesis] Restrict to allowed back-to-back instructions in SerialSnippetGenerator. Summary: Followup to D73161. Reviewers: gchatelet, mstojanovic Subscribers: tschuett, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73256
|
 | llvm/tools/llvm-exegesis/lib/SerialSnippetGenerator.cpp |
Commit
6e3b0cc2fb9eff778e370686b2459a4e997424c5
by Raphael Isemann[lldb][NFC] Rename ClangASTContext to TypeSystemClang Summary: This commit renames ClangASTContext to TypeSystemClang to better reflect what this class is actually supposed to do (implement the TypeSystem interface for Clang). It also gets rid of the very confusing situation that we have both a `clang::ASTContext` and a `ClangASTContext` in clang (which sometimes causes Clang people to think I'm fiddling with Clang's ASTContext when I'm actually just doing LLDB work). I also have plans to potentially have multiple clang::ASTContext instances associated with one ClangASTContext so the ASTContext naming will then become even more confusing to people. Reviewers: #lldb, aprantl, shafik, clayborg, labath, JDevlieghere, davide, espindola, jdoerfert, xiaobai Reviewed By: clayborg, labath, xiaobai Subscribers: wuzish, emaste, nemanjai, mgorny, kbarton, MaskRay, arphaman, jfb, usaxena95, jingham, xiaobai, abidh, JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D72684
|
 | lldb/unittests/SymbolFile/PDB/SymbolFilePDBTests.cpp |
 | lldb/source/Plugins/Language/CPlusPlus/LibCxxMap.cpp |
 | lldb/source/Symbol/TypeSystemClang.cpp |
 | lldb/source/Plugins/Language/ObjC/NSError.cpp |
 | lldb/include/lldb/Symbol/TypeSystem.h |
 | lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp |
 | lldb/tools/lldb-test/lldb-test.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.cpp |
 | lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp |
 | lldb/source/Core/ValueObject.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp |
 | lldb/source/Plugins/Language/ObjC/NSIndexPath.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangUserExpression.cpp |
 | lldb/source/Plugins/Language/ObjC/NSException.cpp |
 | lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.h |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangFunctionCaller.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp |
 | lldb/source/Symbol/ClangASTContext.cpp |
 | lldb/source/Plugins/Language/ObjC/NSArray.cpp |
 | lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.h |
 | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetItemInfoHandler.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp |
 | lldb/source/Symbol/ClangUtil.cpp |
 | lldb/source/Plugins/Language/CPlusPlus/LibCxxBitset.cpp |
 | lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp |
 | lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp |
 | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetQueuesHandler.cpp |
 | lldb/unittests/Symbol/CMakeLists.txt |
 | lldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp |
 | lldb/include/lldb/Symbol/ClangExternalASTSourceCallbacks.h |
 | lldb/source/Plugins/Language/ObjC/NSDictionary.cpp |
 | lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV1.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.h |
 | lldb/source/Plugins/Language/CPlusPlus/LibStdcpp.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.h |
 | lldb/source/Symbol/ClangExternalASTSourceCallbacks.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp |
 | lldb/include/lldb/Symbol/CompilerType.h |
 | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetPendingItemsHandler.cpp |
 | lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp |
 | lldb/source/Symbol/CMakeLists.txt |
 | lldb/include/lldb/Symbol/ClangASTContext.h |
 | lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp |
 | lldb/include/lldb/Symbol/TypeSystemClang.h |
 | lldb/source/Symbol/CxxModuleHandler.cpp |
 | lldb/unittests/Symbol/TestClangASTImporter.cpp |
 | lldb/source/Plugins/Language/ObjC/Cocoa.cpp |
 | lldb/packages/Python/lldbsuite/test/lang/c/enum_types/TestEnumTypes.py |
 | lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp |
 | lldb/unittests/SymbolFile/DWARF/DWARFASTParserClangTests.cpp |
 | lldb/unittests/Symbol/TestClangASTContext.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp |
 | lldb/include/lldb/Symbol/ClangASTImporter.h |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp |
 | lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp |
 | lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOS.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTrampolineHandler.cpp |
 | lldb/unittests/Symbol/TestLineEntry.cpp |
 | lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.h |
 | lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp |
 | lldb/include/lldb/lldb-forward.h |
 | lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp |
 | lldb/unittests/TestingSupport/Symbol/ClangTestUtils.h |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.h |
 | lldb/unittests/SymbolFile/DWARF/SymbolFileDWARFTests.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h |
 | lldb/source/API/SystemInitializerFull.cpp |
 | lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp |
 | lldb/source/Plugins/SymbolFile/NativePDB/UdtRecordCompleter.cpp |
 | lldb/source/Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp |
 | lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp |
 | lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h |
 | lldb/source/Symbol/Type.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h |
 | lldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp |
 | lldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp |
 | lldb/source/Plugins/Language/ObjC/NSSet.cpp |
 | lldb/include/lldb/Symbol/CompilerDeclContext.h |
 | lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp |
 | lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp |
 | lldb/source/Symbol/ClangASTImporter.cpp |
 | lldb/unittests/Symbol/TestTypeSystemClang.cpp |
 | lldb/source/Plugins/SymbolFile/NativePDB/PdbAstBuilder.cpp |
 | lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangPersistentVariables.cpp |
 | lldb/source/Plugins/Language/ObjC/CF.cpp |
 | lldb/tools/lldb-test/SystemInitializerTest.cpp |
 | lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h |
 | lldb/source/Plugins/Language/CPlusPlus/LibCxxList.cpp |
 | lldb/source/Plugins/Language/ObjC/NSString.cpp |
Commit
46acce42b322e116c871bf90964bf4ce124d6908
by grimar[Object][test] - Remove readobj-elf-versioning.test and support files. `readobj-elf-versioning.test` was added in rL152436 and checks how llvm-readobj --dyn-syms prints versioned symbols. We test the same in `llvm-readobj\ELF\dyn-symbols.test` currently. This patch removes the test and 4 more support files from Inputs. Differential revision: https://reviews.llvm.org/D73163
|
 | llvm/test/Object/Inputs/elfver.S |
 | llvm/test/Object/readobj-elf-versioning.test |
 | llvm/test/Object/Inputs/elfver.script |
 | llvm/test/Object/Inputs/elf-versioning-test.i386 |
 | llvm/test/Object/Inputs/elf-versioning-test.x86_64 |
Commit
5f6ff716417a7b150d7462a5c146208f65b3d984
by grimar[llvm-readobj][test] - Add a check for --dyn-syms. We have a `-dyn-symbols` option. It has a `--dyn-syms` alias that is not tested in llvm-readobj tests currently. There was a Object/readobj-elf-versioning.test where it is used, but I've removed it in D73163. And also it is not the right place to test it anyways. Differential revision: https://reviews.llvm.org/D73164
|
 | llvm/test/tools/llvm-readobj/ELF/dyn-symbols.test |
Commit
4662f6e1c7781bea5cc836948b1aa67f58b8b98d
by russell.gallop[test] Avoid loop-unroll.c test getting confused by fadd in git revision Differential Revision: https://reviews.llvm.org/D73162
|
 | clang/test/CodeGen/loop-unroll.c |
Commit
a1e0b53490af15633e44170cdf5c0bfc0aac4ba0
by Raphael Isemann[lldb][NFC] Delete empty file source/Host/linux/ProcessLauncherLinux.cpp This was renamed in 816ae4b0dfac9a2bd964e8c4dae6dd7183ceb92a but it seems the commit only emptied the file instead of deleting it.
|
 | lldb/source/Host/linux/ProcessLauncherLinux.cpp |
Commit
5c02fe1faabd5519c48ded170fe849f9b2c8d10f
by sam.mccallRevert "[Concepts] Placeholder constraints and abbreviated templates" This reverts commit e57a9abc4b01fa69fe81ace8df70517983b6cbac. Parser/cxx2a-placeholder-type-constraint.cpp has MSan failures. Present at 7b81c3f8793d30a4285095a9b67dcfca2117916c: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/17133/steps/check-clang%20msan/logs/stdio not present at eaa594f4ec54eba52b03fd9f1c789b214c66a753: http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-msan/builds/17132/steps/check-clang%20msan/logs/stdio Stack trace: ``` ==57032==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0xccfe016 in clang::AutoTypeLoc::getLocalSourceRange() const /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/include/clang/AST/TypeLoc.h:2036:19 #1 0xcc56758 in CheckDeducedPlaceholderConstraints(clang::Sema&, clang::AutoType const&, clang::AutoTypeLoc, clang::QualType) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:4505:56 #2 0xcc550ce in clang::Sema::DeduceAutoType(clang::TypeLoc, clang::Expr*&, clang::QualType&, llvm::Optional<unsigned int>, bool) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:4707:11 #3 0xcc52407 in clang::Sema::DeduceAutoType(clang::TypeSourceInfo*, clang::Expr*&, clang::QualType&, llvm::Optional<unsigned int>, bool) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Sema/SemaTemplateDeduction.cpp:4457:10 #4 0xba38332 in clang::Sema::deduceVarTypeFromInitializer(clang::VarDecl*, clang::DeclarationName, clang::QualType, clang::TypeSourceInfo*, clang::SourceRange, bool, clang::Expr*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Sema/SemaDecl.cpp:11351:7 #5 0xba3a8a9 in clang::Sema::DeduceVariableDeclarationType(clang::VarDecl*, bool, clang::Expr*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Sema/SemaDecl.cpp:11385:26 #6 0xba3c520 in clang::Sema::AddInitializerToDecl(clang::Decl*, clang::Expr*, bool) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Sema/SemaDecl.cpp:11725:9 #7 0xb39c498 in clang::Parser::ParseDeclarationAfterDeclaratorAndAttributes(clang::Declarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::ForRangeInit*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseDecl.cpp:2399:17 #8 0xb394d80 in clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseDecl.cpp:2128:21 #9 0xb383bbf in clang::Parser::ParseSimpleDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, bool, clang::Parser::ForRangeInit*, clang::SourceLocation*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseDecl.cpp:1848:10 #10 0xb383129 in clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, clang::SourceLocation*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/include/llvm/ADT/PointerUnion.h #11 0xb53a388 in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseStmt.cpp:221:13 #12 0xb539309 in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector<clang::Stmt*, 32u>&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseStmt.cpp:106:20 #13 0xb55610e in clang::Parser::ParseCompoundStatementBody(bool) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseStmt.cpp:1079:11 #14 0xb559529 in clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseStmt.cpp:2204:21 #15 0xb33c13e in clang::Parser::ParseFunctionDefinition(clang::ParsingDeclarator&, clang::Parser::ParsedTemplateInfo const&, clang::Parser::LateParsedAttrList*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/Parser.cpp:1339:10 #16 0xb394703 in clang::Parser::ParseDeclGroup(clang::ParsingDeclSpec&, clang::DeclaratorContext, clang::SourceLocation*, clang::Parser::ForRangeInit*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseDecl.cpp:2068:11 #17 0xb338e52 in clang::Parser::ParseDeclOrFunctionDefInternal(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/Parser.cpp:1099:10 #18 0xb337674 in clang::Parser::ParseDeclarationOrFunctionDefinition(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*, clang::AccessSpecifier) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/Parser.cpp:1115:12 #19 0xb334a96 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/Parser.cpp:935:12 #20 0xb32f12a in clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, bool) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/Parser.cpp:686:12 #21 0xb31e193 in clang::ParseAST(clang::Sema&, bool, bool) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Parse/ParseAST.cpp:158:20 #22 0x80263f0 in clang::FrontendAction::Execute() /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Frontend/FrontendAction.cpp:936:8 #23 0x7f2a257 in clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:965:33 #24 0x8288bef in clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:290:25 #25 0xad44c2 in cc1_main(llvm::ArrayRef<char const*>, char const*, void*) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/tools/driver/cc1_main.cpp:239:15 #26 0xacd76a in ExecuteCC1Tool(llvm::ArrayRef<char const*>) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/tools/driver/driver.cpp:325:12 #27 0xacc9fd in main /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/clang/tools/driver/driver.cpp:398:12 #28 0x7f7d82cdb2e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0) #29 0xa4dde9 in _start (/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan/bin/clang-11+0xa4dde9) ```
|
 | clang/test/CXX/dcl/dcl.fct/p17.cpp |
 | clang/lib/Parse/ParseCXXInlineMethods.cpp |
 | clang/lib/AST/TextNodeDumper.cpp |
 | clang/include/clang/AST/TypeLoc.h |
 | clang/include/clang/Basic/DiagnosticParseKinds.td |
 | clang/test/SemaCXX/cxx1y-generic-lambdas.cpp |
 | clang/lib/AST/TemplateBase.cpp |
 | clang/lib/Parse/ParseDeclCXX.cpp |
 | clang/include/clang/AST/Type.h |
 | clang/test/CXX/expr/expr.prim/expr.prim.lambda/expr.prim.lambda.closure/p3.cpp |
 | clang/lib/Parse/ParseTentative.cpp |
 | clang/lib/AST/DeclTemplate.cpp |
 | clang/lib/Parse/ParseDecl.cpp |
 | clang/lib/Sema/SemaTemplateInstantiateDecl.cpp |
 | clang/include/clang/Basic/DiagnosticSemaKinds.td |
 | clang/include/clang/AST/ASTContext.h |
 | clang/include/clang/Sema/Sema.h |
 | clang/include/clang/AST/TemplateBase.h |
 | clang/include/clang/AST/TypeProperties.td |
 | clang/test/CXX/temp/temp.param/p10-2a.cpp |
 | clang/include/clang/AST/RecursiveASTVisitor.h |
 | clang/lib/Sema/SemaDeclCXX.cpp |
 | clang/lib/Serialization/ASTReader.cpp |
 | clang/lib/Sema/TreeTransform.h |
 | clang/test/Parser/cxx2a-placeholder-type-constraint.cpp |
 | clang/lib/AST/ASTImporter.cpp |
 | clang/lib/Sema/SemaTemplate.cpp |
 | clang/test/SemaTemplate/ms-delayed-default-template-args.cpp |
 | clang/lib/AST/ASTStructuralEquivalence.cpp |
 | clang/lib/Sema/DeclSpec.cpp |
 | clang/include/clang/AST/PropertiesBase.td |
 | clang/include/clang/Sema/DeclSpec.h |
 | clang/lib/Serialization/ASTReaderDecl.cpp |
 | clang/lib/Serialization/ASTWriter.cpp |
 | clang/lib/Parse/ParseTemplate.cpp |
 | clang/lib/AST/ASTContext.cpp |
 | clang/lib/Sema/SemaType.cpp |
 | clang/lib/Sema/SemaDecl.cpp |
 | clang/include/clang/Sema/Scope.h |
 | clang/include/clang/AST/ASTNodeTraverser.h |
 | clang/lib/AST/Type.cpp |
 | clang/lib/Serialization/ASTWriterDecl.cpp |
 | clang/lib/Sema/Sema.cpp |
 | clang/lib/Sema/SemaTemplateDeduction.cpp |
 | clang/lib/AST/TypePrinter.cpp |
 | clang/lib/AST/ODRHash.cpp |
 | clang/lib/AST/TypeLoc.cpp |
 | clang/include/clang/Sema/ScopeInfo.h |
 | clang/lib/Sema/SemaLambda.cpp |
 | clang/include/clang/AST/DeclTemplate.h |
 | clang/lib/Parse/Parser.cpp |
 | clang/test/CXX/dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp |
 | clang/test/AST/ast-dump-record-definition-data-json.cpp |
Commit
04fd20415612f02c4b09da526f19d24e6fe18e7e
by courbet[llvm-exegesis] Allow the randomizer to fail nicely... Summary: ... instead of crashing. On typical exmaple is when there are no available registers. Reviewers: gchatelet Subscribers: tschuett, mstojanovic, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73196
|
 | llvm/tools/llvm-exegesis/lib/SnippetGenerator.h |
 | llvm/tools/llvm-exegesis/lib/Target.cpp |
 | llvm/tools/llvm-exegesis/lib/RegisterAliasing.h |
 | llvm/tools/llvm-exegesis/lib/RegisterAliasing.cpp |
 | llvm/tools/llvm-exegesis/lib/SnippetGenerator.cpp |
 | llvm/tools/llvm-exegesis/lib/X86/Target.cpp |
 | llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp |
 | llvm/tools/llvm-exegesis/lib/Target.h |
Commit
90c01357b8171e6131fbb904f4c7ebfabd7ede04
by benny.kra[mlir] Shrink-wrap anonymous namespaces around the classes it's supposed to enclose. NFC. The coding standards prefer smaller anonymous namespaces with free functions just being static and in the global namespace.
|
 | mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp |
 | mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp |
 | mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp |
Commit
91b0956f3886c225c7011f11220e225cded06e57
by djordje.todorovic[NFC][DwarfDebug] Use proper analog GNU attribute for the pc address The low_pc is analog to the DW_AT_call_return_pc, since it describes the return address after the call. The DW_AT_call_pc is the address of the call instruction, and we don't use it at the moment. Differential Revision: https://reviews.llvm.org/D73173
|
 | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp |