SuccessChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. [platform process list] add a flag for showing the processes of all (details)
  2. [asan] Return true from instrumentModule (details)
  3. [libunwind] Fix issues introduced in r374606 (details)
  4. Revert "[platform process list] add a flag for showing the processes of (details)
  5. [platform process list] add a flag for showing the processes of all (details)
  6. Slightly relax restriction on exact order arguments must appear. (details)
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/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
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
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/src/CMakeLists.txt
The file was modifiedlibunwind/CMakeLists.txt
Commit 892482eb9cb377a66e03b73f273fe9af8cfab75a by a20012251
Revert "[platform process list] add a flag for showing the processes of
all users"
This reverts commit 90d0de4999354a5223f08ad714222b0a5dca3cad.
llvm-svn: 374625
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was removedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
Commit d334b78f25cdd70546b79072c7fd12d575d4ec1c 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: 374626
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py
The file was modifiedlldb/source/Commands/Options.td
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
Commit 0bb06f6f667eb174f1cec638fc181f1f32dffb44 by douglas.yung
Slightly relax restriction on exact order arguments must appear.
llvm-svn: 374627
The file was modifiedclang/test/Driver/openmp-offload.c