llvm-project/compiler-rt/cmake
Hans Wennborg ec841cf36c [cmake] Strip quotes in try_compile_only
After r372209, the compile command can end up including an argument with
quotes in it, e.g.

  -fprofile-instr-use="/foo/bar.profdata"

when invoking the compiler with execute_process, the compiler ends up
getting that argument with quotes and all, and fails to open the file.

This all seems horribly broken, but one way of working around it is to
simply strip the quotes from the string here. If they were there to
protect a path that's got spaces in it, that wasn't going to work
anyway because the string is later split by spaces.

llvm-svn: 372312
2019-09-19 11:28:32 +00:00
..
Modules [cmake] Strip quotes in try_compile_only 2019-09-19 11:28:32 +00:00
caches [CMake] Updating Apple CMake cache file 2016-04-28 18:24:29 +00:00
base-config-ix.cmake Use host's executable suffix for clang when cross-compiling compiler-rt 2019-09-12 18:44:47 +00:00
builtin-config-ix.cmake [CMake] Separate the detection Darwin platforms architectures for the 2019-09-13 17:31:22 +00:00
config-ix.cmake [cmake] enable x86 libfuzzer on Windows 2019-08-29 17:47:43 +00:00