diff options
author | Nuri Amari <nuri.amari99@gmail.com> | 2025-06-06 17:58:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-06 17:58:19 -0400 |
commit | 347186b25969adcb8621c0b21226f10e7a193f8d (patch) | |
tree | 5106dede412b4f63b90471248dac967022843e2a /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 3695d6cdf98c252af4a747af8e247b48e046721a (diff) | |
download | llvm-347186b25969adcb8621c0b21226f10e7a193f8d.zip llvm-347186b25969adcb8621c0b21226f10e7a193f8d.tar.gz llvm-347186b25969adcb8621c0b21226f10e7a193f8d.tar.bz2 |
Avoid Assertion Failure Using -fcs-profile-generate with distributed thin-lto (#129736)
When using `-fcs-generate-profile` with distributed thin-lto in the same
fashion we do for local thin-lto, we hit the following assertion:
https://github.com/llvm/llvm-project/blob/6041c745f32e8fd60ed24e29e7d919d8d1c87ca6/llvm/lib/Support/PGOOptions.cpp#L36
Using local thin-lto with LLD for MachO, we set the missing path
automatically to a default value: https://reviews.llvm.org/D151589. In
this fix we add the same behavior.
---------
Co-authored-by: Nuri Amari <nuriamari@fb.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions