Fix example in documentation of target triple sanitization.

llvm-svn: 220804
This commit is contained in:
Eric Fiselier 2014-10-28 18:03:38 +00:00
parent dbae11348a
commit d6b46b46b6
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ class Configuration(object):
[self.cxx, '-dumpmachine']).strip()
# Drop sub-major version components from the triple, because the
# current XFAIL handling expects exact matches for feature checks.
# Example: x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu.
# Example: x86_64-apple-darwin14.0.0 -> x86_64-apple-darwin14
# The 5th group handles triples greater than 3 parts
# (ex x86_64-pc-linux-gnu).
target_triple = re.sub(r'([^-]+)-([^-]+)-([^.]+)([^-]*)(.*)',