SuccessChanges

Summary

  1. [lld] Don't create hints-section if Hint/Name Table is empty (details)
  2. Use lld-link instead of llvm-dlltool to create an implib (details)
  3. [llvm-exegesis][NFC] Remove unecessary `using llvm::` directives. (details)
  4. Revert r374139, "[dsymutil] Fix handling of common symbols in multiple (details)
  5. [lldb] Don't crash when the ASTImporter produces diagnostics but instead (details)
  6. [llvm-exegesis] Explore LEA addressing modes. (details)
Commit c3c5e0fbbf7689aa841e9ad218ee06084554e7e6 by ruiu
[lld] Don't create hints-section if Hint/Name Table is empty
Fixes assert in addLinkerModuleCoffGroup() when using by-ordinal imports
only.
Patch by Stefan Schmidt.
Differential revision: https://reviews.llvm.org/D68352
llvm-svn: 374140
The file was modifiedlld/COFF/Writer.cpp
The file was addedlld/test/COFF/imports-ordinal-only.s
The file was addedlld/test/COFF/Inputs/ordinal-only-implib.def
Commit 07775b207a95da2abd07b286310e224865bde203 by ruiu
Use lld-link instead of llvm-dlltool to create an implib
Suggested by Martin Storsjö.
llvm-svn: 374142
The file was modifiedlld/test/COFF/imports-ordinal-only.s
Commit 2caa3a265c53e303fedebc89d2bcc776ed6e6ff3 by courbet
[llvm-exegesis][NFC] Remove unecessary `using llvm::` directives.
We've been in namespace llvm for at least a year.
llvm-svn: 374143
The file was modifiedllvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp
Commit e9c8f6fea6d6c7a18ce97768c4b457e85421d10c by jeremy.morse.llvm
Revert r374139, "[dsymutil] Fix handling of common symbols in multiple
object files."
The added test files ("com", "com1.o", "com2.o") are reserved names on
Windows, and makes 'git checkout' fail with a filesystem error.
llvm-svn: 374144
The file was removedllvm/test/tools/dsymutil/Inputs/private/tmp/common/com
The file was removedllvm/test/tools/dsymutil/Inputs/private/tmp/common/com2.o
The file was removedllvm/test/tools/dsymutil/X86/common-sym-multi.test
The file was modifiedllvm/tools/dsymutil/MachODebugMapParser.cpp
The file was removedllvm/test/tools/dsymutil/Inputs/private/tmp/common/com1.o
Commit 4e969da33e113dffc1dfcf5c5e3ef97e3b594161 by Raphael Isemann
[lldb] Don't crash when the ASTImporter produces diagnostics but instead
log them.
When playing with the C++ module prototype I noticed I can get LLDB to
crash by making a result type that depends on __make_integer_seq (a
BuiltinTemplate) which is not supported by the ASTImporter yet. This
causes the ASTImporter to emit a diagnostic when copying the type to the
ScratchASTContext. As deporting the result type is done after we are
done parsing and the Clang's diagnostic engine asserts that it can only
be used during parsing, it crashes LLDB while trying to render the
diagnostic in the HandleDiagnostic method of
ClangDiagnosticManagerAdapter.
This patch just moves the HandleDiagnostic call to Clang behind our
check that we still have a DiagnosticManager (which we remove after
parsing) which prevents the assert from firing. We also shouldn't ignore
such diagnostics, so I added a log statement for them.
There doesn't seem to way to test this as these diagnostic only happen
when we copy a node that's not supported by the ASTImporter which should
never happen once we can copy everything with the ASTImporter, so every
test case we add here will eventually become invalid.
(Note that most of this diff is just whitespace changes as we now use an
early exit instead of a huge 'if' block).
llvm-svn: 374145
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Commit c3a7fb7599316d57bc197fe566bf2bd3b65cb330 by courbet
[llvm-exegesis] Explore LEA addressing modes.
Summary: This will help for PR32326.
This shows the well-known issue with `RBP` and `R13` as base registers.
Reviewers: gchatelet
Subscribers: tschuett, llvm-commits, RKSimon, andreadb
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68646
llvm-svn: 374146
The file was modifiedllvm/tools/llvm-exegesis/lib/RegisterAliasing.h
The file was modifiedllvm/tools/llvm-exegesis/lib/Uops.cpp
The file was addedllvm/test/tools/llvm-exegesis/X86/latency-LEA64r.s
The file was addedllvm/test/tools/llvm-exegesis/X86/uops-LEA64r.s
The file was modifiedllvm/tools/llvm-exegesis/lib/X86/Target.cpp