FailedChanges

Summary

  1. [Stats] Convert some ad-hoc header search stats to (details)
  2. llvm-dwarfdump: Add verbose printing for debug_loclists (details)
  3. make ConstString allocate memory in non-tiny chunks (details)
  4. [platform process list] add a flag for showing the processes of all (details)
  5. Add -fgnuc-version to ClangModuleCompilationOptions on Darwin. (details)
  6. [NativePDB] Remove unused references to ClangASTImporter (details)
  7. [MachineIRBuilder] Fix an assertion failure with buildMerge (details)
  8. [GISel][CallLowering] Enable vector support in argument lowering (details)
  9. [Mips][llvm-exegesis] Add a Mips target (details)
  10. Set GNUC version in the LLDB expression parser. (details)
  11. Revert 374373: [Codegen] Alter the default promotion for saturating adds (details)
  12. Release notes: Add the option WarnForDeadNestedAssignments (details)
  13. [GISel][UnitTest] Fix a bunch of tests that were not doing anything (details)
  14. [ObjC] Remove default parameter no caller was providing. NFC intended. (details)
  15. [mips] Use less instruction to load zero into FPR by li.s / li.d pseudos (details)
  16. [mips] Store 64-bit `li.d' operand as a single 8-byte value (details)
  17. [mips] Remove unused local variables. NFC (details)
  18. DebugInfo: Use base address selection entries for debug_loc (details)
  19. [lit] Change regex filter to ignore case (details)
  20. [lit] Small cleanups in main.py (details)
  21. Revert "[platform process list] add a flag for showing the processes of (details)
  22. [AMDGPU] link dpp pseudos and real instructions on gfx10 (details)
  23. [libunwind] Refactor CMake flag checks to match libc++ and libc++abi (details)
  24. [AMDGPU] Use GCN prefix in dpp_combine.mir. NFC. (details)
  25. gn build: Cmanually) merge r374590 (details)
  26. [platform process list] add a flag for showing the processes of all (details)
  27. gn build: Merge r235758 (details)
  28. gn build: (manually) merge r374606 better (details)
  29. [libFuzzer] Don't prefix absolute paths in fuchsia. (details)
  30. DebugInfo: Reduce the scope of some variables related to debug_ranges (details)
  31. [X86] Add test case showing missing opportunity to fold vmovsdb into a (details)
  32. [X86] Fold a VTRUNCS/VTRUNCUS+store into a saturating truncating store. (details)
  33. Temporarily Revert [platform process list] add a flag for showing the (details)
  34. [llvm-profdata] Make "malformed-ptr-to-counter-array.test" textual (details)
  35. DebugInfo: Fix msan use-of-uninitialized exposed by r374600 (details)
  36. [platform process list] add a flag for showing the processes of all (details)
  37. Revert "[platform process list] add a flag for showing the processes of (details)
  38. [platform process list] add a flag for showing the processes of all (details)
  39. [asan] Return true from instrumentModule (details)
  40. [libunwind] Fix issues introduced in r374606 (details)
Commit e8752a9d1bcf7f68397d59cfe42eb304945dceec by vsapsai
[Stats] Convert some ad-hoc header search stats to
ALWAYS_ENABLED_STATISTIC.
rdar://problem/55715134
Reviewers: dsanders, bogner, rtereshin
Reviewed By: dsanders
Subscribers: hiraditya, jkorous, dexonsmith, ributzka, cfe-commits,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68252
llvm-svn: 374581
The file was modifiedclang/lib/Lex/HeaderSearch.cpp (diff)
The file was modifiedclang/lib/Basic/FileManager.cpp (diff)
The file was modifiedclang/include/clang/Lex/HeaderSearch.h (diff)
The file was modifiedclang/include/clang/Basic/FileManager.h (diff)
Commit f358c3d3717648cd076add3774c164ad444168d6 by dblaikie
llvm-dwarfdump: Add verbose printing for debug_loclists
llvm-svn: 374582
The file was modifiedllvm/test/DebugInfo/X86/fission-ranges.ll (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp (diff)
The file was modifiedllvm/test/DebugInfo/X86/dwarfdump-debug-loclists.test (diff)
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h (diff)
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDie.cpp (diff)
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_loclists_startx_length.s (diff)
Commit e2ca7cb504a84b7a64c670455eb5e66e9cf0ecff by l.lunak
make ConstString allocate memory in non-tiny chunks
BumpPtrAllocator allocates in 4KiB chunks, which with any larger project
is going to result in a large number of allocations. Increasing
allocation size this way can save 10%-20% of symbol load time for a huge
C++ project with correctly built debuginfo.
Differential Revision: https://reviews.llvm.org/D68549
llvm-svn: 374583
The file was modifiedlldb/source/Utility/ConstString.cpp (diff)
Commit 089a334c39d06e958607e1e8e0c9796f9387f512 by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
llvm-svn: 374584
The file was modifiedlldb/source/Commands/Options.td (diff)
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp (diff)
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
Commit 886099974e067c380ceca27ef2374961e6e1168e by Adrian Prantl
Add -fgnuc-version to ClangModuleCompilationOptions on Darwin.
This adapts LLDB for https://reviews.llvm.org/D68055.
Darwin's libC headers expect the GNUC macro to be set.
llvm-svn: 374585
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp (diff)
Commit 03fbde6d84704e32eef204c1e59a2c26350aacde by apl
[NativePDB] Remove unused references to ClangASTImporter
llvm-svn: 374587
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h (diff)
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp (diff)
Commit 7720f1149867ac11543470a945438df59dcd2824 by quentin.colombet
[MachineIRBuilder] Fix an assertion failure with buildMerge
Teach buildMerge how to deal with scalar to vector kind of requests.
Prior to this patch, buildMerge would issue either a G_MERGE_VALUES when
all the vregs are scalars or a G_CONCAT_VECTORS when the destination
vreg is a vector. G_CONCAT_VECTORS was actually not the proper
instruction when the source vregs were scalars and the compiler would
assert that the sources must be vectors. Instead we want is to issue a
G_BUILD_VECTOR when we are in this situation.
This patch fixes that.
llvm-svn: 374588
The file was modifiedllvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp (diff)
Commit 9c36ec5941730364d4b9befd15e20365a039a2f1 by quentin.colombet
[GISel][CallLowering] Enable vector support in argument lowering
The exciting code is actually already enough to handle the splitting of
vector arguments but we were lacking a test case.
This commit adds a test case for vector argument lowering involving
splitting and enable the related support in call lowering.
llvm-svn: 374589
The file was modifiedllvm/lib/CodeGen/GlobalISel/CallLowering.cpp (diff)
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/irtranslator-split-vector-arg.ll
Commit cf1ba238d4f752133897af1773e85056b1492803 by simon
[Mips][llvm-exegesis] Add a Mips target
The target does just enough to be able to run llvm-exegesis in latency
mode for at least some opcodes.
Patch by Miloš Stojanović.
Differential Revision: https://reviews.llvm.org/D68649
llvm-svn: 374590
The file was addedllvm/tools/llvm-exegesis/lib/Mips/LLVMBuild.txt
The file was addedllvm/lib/Target/Mips/MipsPfmCounters.td
The file was modifiedllvm/lib/Target/Mips/CMakeLists.txt (diff)
The file was addedllvm/unittests/tools/llvm-exegesis/Mips/CMakeLists.txt
The file was addedllvm/unittests/tools/llvm-exegesis/Mips/TargetTest.cpp
The file was modifiedllvm/unittests/tools/llvm-exegesis/CMakeLists.txt (diff)
The file was modifiedllvm/tools/llvm-exegesis/lib/Assembler.cpp (diff)
The file was addedllvm/tools/llvm-exegesis/lib/Mips/CMakeLists.txt
The file was modifiedllvm/lib/Target/Mips/Mips.td (diff)
The file was modifiedllvm/tools/llvm-exegesis/lib/CMakeLists.txt (diff)
The file was addedllvm/tools/llvm-exegesis/lib/Mips/Target.cpp
Commit f30ae7173958681b4b639e82e6530b3b047c1fde by Adrian Prantl
Set GNUC version in the LLDB expression parser.
This adapts LLDB for https://reviews.llvm.org/D68055.
Darwin's libC headers expect the GNUC macro to be set.
llvm-svn: 374591
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp (diff)
Commit 7c30af8e65904bc2eb7e8926c7d2a2ad68aeab4d by david.green
Revert 374373: [Codegen] Alter the default promotion for saturating adds
and subs
This commit is not extending the promoted integers as it should.
Reverting whilst I look into the details.
llvm-svn: 374592
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat_vec.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/sadd_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat_vec.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/uadd_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/uadd_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat_vec.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/usub_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/usub_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat_vec.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/sadd_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/ssub_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/uadd_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/usub_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/ssub_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/ssub_sat.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/sadd_sat.ll (diff)
Commit 9bea4ec28cdf2a0b020e17b1999723b3e48eb088 by sylvestre
Release notes: Add the option WarnForDeadNestedAssignments
https://reviews.llvm.org/D66733
llvm-svn: 374593
The file was modifiedclang/docs/ReleaseNotes.rst (diff)
Commit 49036dd3aef9265270dcf4bb645050510b68e183 by quentin.colombet
[GISel][UnitTest] Fix a bunch of tests that were not doing anything
After r368065, all the tests using GISelMITest must call setUp() before
doing anything, otherwise the TargetMachine is not going to be set up. A
few tests added after that commit were not doing that and ended up
testing effectively nothing.
Fix the setup of all the tests and fix the failing tests.
llvm-svn: 374595
The file was modifiedllvm/unittests/CodeGen/GlobalISel/MachineIRBuilderTest.cpp (diff)
The file was modifiedllvm/unittests/CodeGen/GlobalISel/KnownBitsTest.cpp (diff)
Commit b95d4c3a99794f57b3ac7accd86f5c061f6c69f9 by vsapsai
[ObjC] Remove default parameter no caller was providing. NFC intended.
Currently there is no need to make ObjCTypeParamType have a canonical
type different from the one in corresponding ObjCTypeParamDecl. So
remove the corresponding unused API.
llvm-svn: 374596
The file was modifiedclang/lib/AST/ASTContext.cpp (diff)
The file was modifiedclang/include/clang/AST/ASTContext.h (diff)
Commit 5ebe3511b35d41b9364be62a28966e279fc568b0 by simon
[mips] Use less instruction to load zero into FPR by li.s / li.d pseudos
If `li.s` or `li.d` loads zero into a FPR, it's not necessary to load
zero into `at` GPR register and then move its value into a floating
point register. We can use as a source register the `zero / $0` one.
Differential Revision: https://reviews.llvm.org/D68777
llvm-svn: 374597
The file was modifiedllvm/test/MC/Mips/macro-li.s.s (diff)
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (diff)
The file was modifiedllvm/test/MC/Mips/macro-li.d.s (diff)
Commit 66048fed828987eff8db73bdbe878b06ee941338 by simon
[mips] Store 64-bit `li.d' operand as a single 8-byte value
Now assembler generates two consecutive `.4byte` directives to store
64-bit `li.d' operand. The first directive stores high 4-byte of the
value. The second directive stores low 4-byte of the value. But on
64-bit system we load this value at once and get wrong result if the
system is little-endian.
This patch fixes the bug. It stores the `li.d' operand as a single
8-byte value.
Differential Revision: https://reviews.llvm.org/D68778
llvm-svn: 374598
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (diff)
The file was modifiedllvm/test/MC/Mips/macro-li.d.s (diff)
Commit fcb393433694745afc1793a61019a138c2f4a053 by simon
[mips] Remove unused local variables. NFC
llvm-svn: 374599
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (diff)
Commit 289c45cc62e47f71ae0bd30296e6b2086dffbf33 by dblaikie
DebugInfo: Use base address selection entries for debug_loc
Unify the range and loc emission (for both DWARFv4 and DWARFv5 style
lists) and take advantage of that unification to use strategic base
addresses for loclists.
Differential Revision: https://reviews.llvm.org/D68620
llvm-svn: 374600
The file was modifiedllvm/test/DebugInfo/X86/sret.ll (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/debug-loclists.ll (diff)
Commit ac36dafb692129c2f3f78c903333a3c9b7705ae1 by jlettner
[lit] Change regex filter to ignore case
Make regex filter `--filter=REGEX` option more lenient via
`re.IGNORECASE`.
Reviewed By: yln
Differential Revision: https://reviews.llvm.org/D68834
llvm-svn: 374601
The file was modifiedllvm/utils/lit/lit/main.py (diff)
The file was modifiedllvm/utils/lit/lit/cl_arguments.py (diff)
The file was modifiedllvm/utils/lit/tests/selecting.py (diff)
Commit afa8903ad6de54a3a45237af4af5b75b820c613e by jlettner
[lit] Small cleanups in main.py
* Extract separate function for running tests from main
* Push single-usage imports to point of usage
* Remove unnecessary sys.exit(0) calls
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D68836
llvm-svn: 374602
The file was modifiedllvm/utils/lit/lit/main.py (diff)
Commit 6fcf0681609f95493595825d428e802e756c7c50 by a20012251
Revert "[platform process list] add a flag for showing the processes of
all users"
Summary: This reverts commit e4ac611cd787f3f0e727a394e96fb1a5c3b19ccb.
There's a failure according to
http://lab.llvm.org:8080/green/view/LLDB/job/lldb-cmake/2538/testReport/junit/lldb-api/functionalities_gdb_remote_client/TestPlatformClient_py/
Reviewers: labath, aadsm, clayborg
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68883
llvm-svn: 374603
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Commands/Options.td (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (diff)
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp (diff)
Commit e2d104f64ca8f3b77888f218f0054c28c96a3975 by Stanislav.Mekhanoshin
[AMDGPU] link dpp pseudos and real instructions on gfx10
This defaults to zero fi operand, but we do not expose it anyway. Should
we expose it later it needs to be added to the pseudo.
This enables dpp combining on gfx10.
Differential Revision: https://reviews.llvm.org/D68888
llvm-svn: 374604
The file was modifiedllvm/lib/Target/AMDGPU/VOP2Instructions.td (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp (diff)
The file was addedllvm/test/CodeGen/AMDGPU/dpp_combine.ll
The file was modifiedllvm/lib/Target/AMDGPU/VOP1Instructions.td (diff)
Commit 20da3bdb96c306c3e89d56039ffdeaf2bd41d737 by phosek
[libunwind] Refactor CMake flag checks to match libc++ and libc++abi
libunwind was using its own set of macros/functions for flag checking
which was similar but different from libc++ and libc++abi. This made it
difficult to replicate the same checks across projects, in fact there
were some checks that appear to have been copy & pasted from another
project and that were broken in the standalone libunwind build. This
change refactors flag checks to match libc++ and libc++abi using a copy
of HandleLibunwindFlags.cmake which is derived from the versions used by
the other projects. This also paves a road to deduplicating and unifying
HandleLibunwindFlags.cmake, HandleLibcxxabiFlags.cmake and
HandleLibcxxFlags.cmake post monorepo switch.
Differential Revision: https://reviews.llvm.org/D68855
llvm-svn: 374606
The file was modifiedlibunwind/src/CMakeLists.txt (diff)
The file was modifiedlibunwind/cmake/config-ix.cmake (diff)
The file was addedlibunwind/cmake/Modules/HandleLibunwindFlags.cmake
The file was modifiedlibunwind/CMakeLists.txt (diff)
Commit f87fe45d5c3fd222029b33960e83189cb56a23b7 by Stanislav.Mekhanoshin
[AMDGPU] Use GCN prefix in dpp_combine.mir. NFC.
llvm-svn: 374607
The file was modifiedllvm/test/CodeGen/AMDGPU/dpp_combine.mir (diff)
Commit 71ecae9d54c0223261c1bbafb70c8176f6427c9f by nicolasweber
gn build: Cmanually) merge r374590
llvm-svn: 374608
The file was addedllvm/utils/gn/secondary/llvm/unittests/tools/llvm-exegesis/Mips/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/targets.gni (diff)
The file was addedllvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/BUILD.gn (diff)
Commit 696d3cf8ad6f3a0b3019c87526d561bb77ad538e by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
> llvm-svn: 374584
llvm-svn: 374609
The file was modifiedlldb/source/Commands/Options.td (diff)
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp (diff)
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (diff)
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
Commit 92e11e6d394df8acaed857724b27f57823143a0e by llvmgnsyncbot
gn build: Merge r235758
llvm-svn: 374610
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn (diff)
Commit 1b82fb61c18474473ea21123b9a150e1a88dddbf by nicolasweber
gn build: (manually) merge r374606 better
llvm-svn: 374611
The file was modifiedllvm/utils/gn/secondary/libunwind/src/BUILD.gn (diff)
Commit cde860a1c996b0badff5f8f10baf48df3c19d921 by jakehehrlich
[libFuzzer] Don't prefix absolute paths in fuchsia.
The ExecuteCommand function in fuchsia used to prefix the getOutputFile
for each command run with the artifact_prefix flag if it was available,
because fuchsia components don't have a writable working directory.
However, if a file with a global path is provided, fuchsia should honor
that.
An example of this is using the global /tmp directory to store stuff. In
fuchsia it ended up being translated to data///tmp, whereas we want to
make sure it is using /tmp (which is available to components using the
isolated-temp feature).
To test this I made the change, compiled fuchsia with this toolchain and
ran a fuzzer with the -fork=1 flag (that mode makes use of the /tmp
directory). I also tested that normal fuzzing workflow was not affected
by this.
Author: charco (Marco Vanotti) Differential Revision:
https://reviews.llvm.org/D68774
llvm-svn: 374612
The file was modifiedcompiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp (diff)
Commit de9aa37bf061abce87d0fbca68959a79e0cc7c51 by dblaikie
DebugInfo: Reduce the scope of some variables related to debug_ranges
emission
Minor tidy up/NFC
llvm-svn: 374613
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp (diff)
Commit 7dcd440d44ddaf5c31f99128b1869e9dea5b767c by craig.topper
[X86] Add test case showing missing opportunity to fold vmovsdb into a
store after type legalization. NFC
llvm-svn: 374614
The file was modifiedllvm/test/CodeGen/X86/avx512-trunc.ll (diff)
Commit 3472feb94cdf90ce8d4761b2c44f080da1b5a79d by craig.topper
[X86] Fold a VTRUNCS/VTRUNCUS+store into a saturating truncating store.
We already did this for VTRUNCUS with a specific combination of types.
This extends this to VTRUNCS and handles any types where a truncating
store is legal.
llvm-svn: 374615
The file was modifiedllvm/test/CodeGen/X86/avx512-trunc.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp (diff)
Commit b15c886ba5b6474b64a782b35b1c66098fc60920 by Adrian Prantl
Temporarily Revert [platform process list] add a flag for showing the
processes of all users
as it breaks the bots.
This reverts r374609 (git commit
696d3cf8ad6f3a0b3019c87526d561bb77ad538e)
llvm-svn: 374616
The file was modifiedlldb/source/Commands/Options.td (diff)
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp (diff)
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
Commit 852e3b207651ce4cc8e9382282eca5e91ac1476b by Vedant Kumar
[llvm-profdata] Make "malformed-ptr-to-counter-array.test" textual
As pointed out in https://reviews.llvm.org/D66979 post-commit, making
this test textual would make it more maintainable.
Differential Revision: https://reviews.llvm.org/D68718
llvm-svn: 374617
The file was removedllvm/test/tools/llvm-profdata/Inputs/malformed-ptr-to-counter-array.profraw
The file was modifiedllvm/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test (diff)
Commit c8e5b90ba65959fed4b1da1a7aee2175003f1a7c by dblaikie
DebugInfo: Fix msan use-of-uninitialized exposed by r374600
llvm-svn: 374619
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp (diff)
Commit 914f38295e1249daea77d75da230a4179a9a5b3b by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
> llvm-svn: 374584
llvm-svn: 374620
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
The file was modifiedlldb/source/Commands/Options.td (diff)
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (diff)
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp (diff)
Commit 16194bf8bff9e6ed1315fea34b9fa0530b511ef8 by a20012251
Revert "[platform process list] add a flag for showing the processes of
all users"
This reverts commit 08781f4c53a177662c029d3da9c407ba65ae6747.
llvm-svn: 374621
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp (diff)
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Commands/Options.td (diff)
Commit e031bdfefad08739a986a6ec9c46712533979d98 by a20012251
[platform process list] add a flag for showing the processes of all
users
Summary: For context: https://reviews.llvm.org/D68293
We need a way to show all the processes on android regardless of the
user id. When you run `platform process list`, you only see the
processes with the same user as the user that launched lldb-server.
However, it's quite useful to see all the processes, though, and it will
lay a foundation for full apk debugging support from lldb.
Before:
``` PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 3234   1               
aarch64-unknown-linux-android adbd 8034   3234            
aarch64-unknown-linux-android sh 9096   3234            
aarch64-unknown-linux-android sh 9098   9096            
aarch64-unknown-linux-android lldb-server
(lldb) ^D
```
Now:
```
(lldb) platform process list -x 205 matching processes were found on
"remote-android" PID    PARENT USER       TRIPLE                   NAME
====== ====== ========== ========================
============================ 1      0                                  
      init 524    1                                          init 525  
1                                          init 531    1               
                         ueventd 568    1                              
          logd 569    1                 aarch64-unknown-linux-android
servicemanager 570    1                 aarch64-unknown-linux-android
hwservicemanager 571    1                 aarch64-unknown-linux-android
vndservicemanager 577    1                 aarch64-unknown-linux-android
qseecomd 580    577               aarch64-unknown-linux-android qseecomd
... 23816  979                                      
com.android.providers.calendar 24600  979                              
        com.verizon.mips.services 27888  979                           
           com.hualai 28043  2378                                     
com.android.chrome:sandboxed_process0 31449  979                       
               com.att.shm 31779  979                                  
    com.samsung.android.authfw 31846  979                              
        com.samsung.android.server.iris 32014  979                     
                 com.samsung.android.MtpApplication 32045  979         
                             com.samsung.InputEventApp
```
Reviewers: labath,xiaobai,aadsm,clayborg
Subscribers:
> llvm-svn: 374584
llvm-svn: 374622
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp (diff)
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (diff)
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (diff)
The file was modifiedlldb/source/Commands/Options.td (diff)
Commit 4cdd8287b836238595fc8e87922177f13fa4a842 by Vitaly Buka
[asan] Return true from instrumentModule
createSanitizerCtorAndInitFunctions always change the module.
llvm-svn: 374623
The file was modifiedllvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp (diff)
Commit e3250b0c400cacf66978a180fe3fab9f73f1afd7 by phosek
[libunwind] Fix issues introduced in r374606
There are few differences in compile flags introduced in r374606 which
are causing libcxx-libcxxabi-libunwind-armv8-linux to fail. This change
should address all of those, I've compared the generated build file from
before r374606 and with this change and the set of flags is the same
modulo order.
llvm-svn: 374624
The file was modifiedlibunwind/CMakeLists.txt (diff)
The file was modifiedlibunwind/src/CMakeLists.txt (diff)