[cfe-commits] r56943 - /cfe/trunk/Driver/clang.cpp
Mike Stump
mrs at apple.com
Wed Oct 1 18:47:23 PDT 2008
On Oct 1, 2008, at 6:21 PM, Daniel Dunbar wrote:
> (llvm up) If the target triple is unspecified, automatically set the
> OS version part to that of the host on darwin.
>
> + // On darwin, we want to update the version to match that of the
> + // host.
> + std::string::size_type DarwinDashIdx = Triple.find("-darwin");
> + if (DarwinDashIdx != std::string::npos) {
> + Triple.resize(DarwinDashIdx + strlen("-darwin"));
> +
> + Triple += llvm::sys::osVersion();
Is that a 10.5.2 style number, or a 9.2 style number? On 10.5.2, we
use darwin9.2.
More information about the cfe-commits
mailing list