diff options
author | Shilei Tian <tianshilei1992@gmail.com> | 2021-07-18 21:54:05 -0400 |
---|---|---|
committer | Shilei Tian <tianshilei1992@gmail.com> | 2021-07-18 21:54:14 -0400 |
commit | 4504e1134c9118f3c322685f8a90129e09bab92c (patch) | |
tree | 184cf96b79b8e543ba4039d36d1d3630d831b137 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 0ce9acf61d0c6e7a785225975638a9941a009a0d (diff) | |
download | llvm-4504e1134c9118f3c322685f8a90129e09bab92c.zip llvm-4504e1134c9118f3c322685f8a90129e09bab92c.tar.gz llvm-4504e1134c9118f3c322685f8a90129e09bab92c.tar.bz2 |
[OpenMP][CMake] Fix an issue when there is space in the argument LIBOMPTARGET_LIT_ARGS
D106236 added a new CMake argument for `libomptarget` test, but when user's
input contains white spaces, CMake will add escape char to the final lit command,
which leads to an error. This patch converts the user's input `LIBOMPTARGET_LIT_ARGS`
into a local array, and then passes the array to the function.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D106247
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions