mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-12 19:01:55 +00:00
cfc3e7f458
Patch by Zhizhou Yang! In his own words: """ Similar change to CMakeLists as r372312. After r372209, compiler command line may include argument with quotes: ``` -fprofile-instr-use="/foo/bar.profdata" ``` And it causes a hidden failure with execute_process later: Could not read profile "/foo/bar.profdata": No such file or directory. In this particular case, the check for .init_array will fail silently and creates a PGO-ed binary with bad .init_array section in compiler-rt. Bug details can be found in PR45022 """ Differential Revision: https://reviews.llvm.org/D75065