ThinLTO needs to pass down the sample profile file path to linker.
Is this covered by a driver test usually?
add a test.
"fname" -> "FName", "FileName", etc, or any name that starts with a capital letter
LGTM, but fix what @bruno spotted before committing.
fix function name