forked from OSchip/llvm-project
Fix example in documentation of target triple sanitization.
llvm-svn: 220804
This commit is contained in:
parent
dbae11348a
commit
d6b46b46b6
|
@ -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'([^-]+)-([^-]+)-([^.]+)([^-]*)(.*)',
|
||||
|
|
Loading…
Reference in New Issue