diff options
author | Steven Wu <stevenwu@apple.com> | 2019-01-11 21:16:04 +0000 |
---|---|---|
committer | Steven Wu <stevenwu@apple.com> | 2019-01-11 21:16:04 +0000 |
commit | c3399db63d159fe28ce4d5e23c3dd9e305ad8523 (patch) | |
tree | f957967c775a73e6a35a2c65f862d32946833236 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 8da9a7538e6a7549b8b34f903f53bfbf378f4030 (diff) | |
download | bcm5719-llvm-c3399db63d159fe28ce4d5e23c3dd9e305ad8523.tar.gz bcm5719-llvm-c3399db63d159fe28ce4d5e23c3dd9e305ad8523.zip |
[Darwin][Driver] Don't pass a file as object_path_lto during ThinLTO
Summary:
After r327851, Driver::GetTemporaryPath will create the file rather than
just create a potientially unqine filename. If clang driver pass the
file as parameter as -object_path_lto, ld64 will pass it back to libLTO
as GeneratedObjectsDirectory, which is going to cause a LLVM ERROR if it
is not a directory.
Now during thinLTO, pass a temp directory path to linker instread.
rdar://problem/47194182
Reviewers: arphaman, dexonsmith
Reviewed By: arphaman
Subscribers: mehdi_amini, inglorion, jkorous, cfe-commits
Differential Revision: https://reviews.llvm.org/D56608
llvm-svn: 350970
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions