diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2020-03-09 15:48:19 -0700 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2020-03-09 15:52:39 -0700 |
commit | cfc3e7f458f8798782c01a0dadf872c60340c23e (patch) | |
tree | 85967cb66ac55a8f509648ade8db982cc4dc3ca0 /mlir/lib/Transforms/LoopInvariantCodeMotion.cpp | |
parent | 20dfcf189d224e637377970318a021c81d2fbde0 (diff) | |
download | llvm-cfc3e7f458f8798782c01a0dadf872c60340c23e.zip llvm-cfc3e7f458f8798782c01a0dadf872c60340c23e.tar.gz llvm-cfc3e7f458f8798782c01a0dadf872c60340c23e.tar.bz2 |
[cmake] Strip quotes in compiler-rt/lib/crt; error if checks fail
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
Diffstat (limited to 'mlir/lib/Transforms/LoopInvariantCodeMotion.cpp')
0 files changed, 0 insertions, 0 deletions