SuccessChanges

Summary

  1. [mips] Reduce code duplication in the `loadAndAddSymbolAddress`. NFC (details)
  2. [mips] Mark tests for lw/sw expansion in PIC by a separate "check (details)
  3. [mips] Pass "xgot" flag as a subtarget feature (details)
  4. [lldb] Fix a test assertion after r372192 (details)
  5. Fix command-script-import.test on linux (details)
Commit 59d0cc82b5c0382c0d1768d43818ed4dda45ec56 by simon
[mips] Reduce code duplication in the `loadAndAddSymbolAddress`. NFC
llvm-svn: 372218
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (diff)
Commit 1ebdbad4751c5e0951974dd954a7e3b069ffd320 by simon
[mips] Mark tests for lw/sw expansion in PIC by a separate "check
prefix". NFC
That simplify adding XGOT tests later.
llvm-svn: 372219
The file was modifiedllvm/test/MC/Mips/mips64-expansions.s (diff)
The file was modifiedllvm/test/MC/Mips/mips-expansions.s (diff)
Commit 9c36de99caa5356c7ed8760ce43d8c70cd15b2e6 by simon
[mips] Pass "xgot" flag as a subtarget feature
We need "xgot" flag in the MipsAsmParser to implement correct expansion
of some pseudo instructions in case of using 32-bit GOT (XGOT).
MipsAsmParser does not have reference to MipsSubtarget but has a
reference to "feature bit set".
llvm-svn: 372220
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
The file was modifiedllvm/test/CodeGen/Mips/address-selection.ll (diff)
The file was modifiedclang/test/Driver/mips-integrated-as.s (diff)
The file was modifiedllvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir (diff)
The file was modifiedllvm/lib/Target/Mips/MipsISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/Mips/biggot.ll (diff)
The file was modifiedllvm/lib/Target/Mips/MipsSubtarget.h (diff)
The file was modifiedclang/test/Driver/mips-features.c (diff)
The file was modifiedclang/lib/Driver/ToolChains/Arch/Mips.cpp (diff)
The file was modifiedllvm/lib/Target/Mips/Mips.td (diff)
Commit 98c0dc39de24d85e3d7dca488babff952f35578c by krasimir
[lldb] Fix a test assertion after r372192
Summary: The `CHECK: frame:py: None` seems to have been a typo, causing
build bot failures:
```
# CHECK: frame:py: None
         ^
<stdin>:1:1: note: scanning from here
(lldb) command source -s 0
'E:/build_slave/lldb-x64-windows-ninja/build/tools/lldb\lit\lit-lldb-init'
^
<stdin>:23:1: note: possible intended match here
frame:py: No value
^
```
This update fixes the build bots.
--
Reviewers: bkramer
Reviewed By: bkramer
Differential Revision: https://reviews.llvm.org/D67702
llvm-svn: 372221
The file was modifiedlldb/lit/Commands/command-script-import.test (diff)
Commit fc1fd6bf9fcfac412b10b4193805ec5de0e8df57 by pavel
Fix command-script-import.test on linux
The test was expecting the value of "lldb.frame" to be None, because it
is cleared after each python interpreter session. However, this is not
true in the very first session, because lldb.py sets these values to
invalid objects (lldb.SBFrame(), etc.).
I have not investigated why is it that this test passes on darwin, but
my guess is that this is because we do extra work on darwin (loading the
objc runtime, etc), which causes us to enter the python interpreter
sooner.
This patch changes lldb.py to also initialize these values to None, as
that seems to make more sense. I also fixed some typos in the test while
I was in there.
llvm-svn: 372222
The file was modifiedlldb/scripts/lldb.swig (diff)
The file was modifiedlldb/lit/Commands/command-script-import.test (diff)
The file was modifiedlldb/lit/Commands/Inputs/frame.py (diff)