diff options
| author | Jinsong Ji <jji@us.ibm.com> | 2021-08-19 15:37:50 +0000 |
|---|---|---|
| committer | Jinsong Ji <jji@us.ibm.com> | 2021-08-19 15:39:53 +0000 |
| commit | 0541ce4ef9cae2176dc80d32fd5225208f2059e3 (patch) | |
| tree | 6a9f07d38c5da0525b753737e9fb7ea09b8c515e /llvm/lib/Object/ObjectFile.cpp | |
| parent | b0bf0b2e79e848ae502d7efc00a0bac37a96aedb (diff) | |
| download | llvm-0541ce4ef9cae2176dc80d32fd5225208f2059e3.zip llvm-0541ce4ef9cae2176dc80d32fd5225208f2059e3.tar.gz llvm-0541ce4ef9cae2176dc80d32fd5225208f2059e3.tar.bz2 | |
[CRT][LIT] build the target_cflags for Popen properly
We recently enabled crt for powerpc in
https://reviews.llvm.org/rGb7611ad0b16769d3bf172e84fa9296158f8f1910.
And we started to see some unexpected error message when running
check-runtimes.
eg:
https://lab.llvm.org/buildbot/#/builders/57/builds/9488/steps/6/logs/stdio
line 100 - 103:
"
clang-14: error: unknown argument: '-m64 -fno-function-sections'
clang-14: error: unknown argument: '-m64 -fno-function-sections'
clang-14: error: unknown argument: '-m64 -fno-function-sections'
clang-14: error: unknown argument: '-m64 -fno-function-sections'
"
Looks like we shouldn't strip the space at the beginning,
or else the command line passed to subprocess won't work well.
Reviewed By: phosek, MaskRay
Differential Revision: https://reviews.llvm.org/D108329
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
