aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorMichael Francis <michaelfrancis@ibm.com>2023-03-01 00:56:06 +0000
committerMichael Francis <michaelfrancis@ibm.com>2023-03-15 23:26:48 +0000
commitac1d143b0ef924cf2725bb36537f18ae2c7f9c4f (patch)
tree953b5a02d16b2f9a9556631afdbb7b24e870b1ce /lldb/source/Commands/CommandObjectThread.cpp
parent9dbce774eea515e400954f1d0ffbd858c839b546 (diff)
downloadllvm-ac1d143b0ef924cf2725bb36537f18ae2c7f9c4f.zip
llvm-ac1d143b0ef924cf2725bb36537f18ae2c7f9c4f.tar.gz
llvm-ac1d143b0ef924cf2725bb36537f18ae2c7f9c4f.tar.bz2
[Clang][AIX][p] Manually Claim -p in front end
The current implementation of `-p` does not claim the argument once it is passed. Since it pushes `-pg` directly, it is only ever referred to again when linking. As a result, when compiling with `-S`, the compiler warns that `-p` goes unused even though that is not the case. With this patch, if both `-p` and `-pg` are passed, the argument that is passed second will take precedence. `-p` will still throw an error on unsupported platforms, regardless of precedence. This revision includes a test case, which has been placed in `clang/test/Driver/zos-profiling-error.c`. As a result, `zos-profiling-error.c` has been renamed to `ibm-profiling.c`. This revision also passes `clang/test/Driver/aix-ld.c`. Differential Revision: https://reviews.llvm.org/D145021
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions