diff options
| author | tianleliu <tianle.l.liu@intel.com> | 2025-02-18 20:45:45 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-19 12:45:45 +0800 |
| commit | 6c39ee717f03a0fe28f563d525fa5aff09804ba8 (patch) | |
| tree | fc5b7e1bef8c830d4570c3c71a04a9b3ce2d1860 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 8187caf8e3691b47ca5c9849df4cebd2f46a8fea (diff) | |
[Driver][MSVC] Pass profile file to lld-link via -lto-sample-profile option (#127442)
In SPGO lto mode, linker needs -lto-sample-profile option to set sample
profile file.
Linux adds this option by transferring fprofile-sample-use to
-plugin-opt=sample-profile=, which is alias of lto-sample-profile. (in
clang\lib\Driver\ToolChains\CommonArgs.cpp: tools::addLTOOptions()).
But clang on Windows misses the transferring. So add it now.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
