Author: fhahn
Date: Mon Dec  5 16:52:20 2016
New Revision: 288723

URL: http://llvm.org/viewvc/llvm-project?rev=288723&view=rev
Log:
[docs] Use x86_64 and i386 instead of x86 as arch for triples.

Summary: x86 is not a valid arch for target triples, but x86_64 and i386 are.

Reviewers: rengolin, silvas

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D26960

Modified:
    cfe/trunk/docs/CrossCompilation.rst

Modified: cfe/trunk/docs/CrossCompilation.rst
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/CrossCompilation.rst?rev=288723&r1=288722&r2=288723&view=diff
==============================================================================
--- cfe/trunk/docs/CrossCompilation.rst (original)
+++ cfe/trunk/docs/CrossCompilation.rst Mon Dec  5 16:52:20 2016
@@ -78,14 +78,14 @@ go ahead, creating code for the host pla
 on when assembling or linking.
 
 The triple has the general format ``<arch><sub>-<vendor>-<sys>-<abi>``, where:
- * ``arch`` = ``x86``, ``arm``, ``thumb``, ``mips``, etc.
+ * ``arch`` = ``x86_64``, ``i386``, ``arm``, ``thumb``, ``mips``, etc.
  * ``sub`` = for ex. on ARM: ``v5``, ``v6m``, ``v7a``, ``v7m``, etc.
  * ``vendor`` = ``pc``, ``apple``, ``nvidia``, ``ibm``, etc.
  * ``sys`` = ``none``, ``linux``, ``win32``, ``darwin``, ``cuda``, etc.
  * ``abi`` = ``eabi``, ``gnu``, ``android``, ``macho``, ``elf``, etc.
 
 The sub-architecture options are available for their own architectures,
-of course, so "x86v7a" doesn't make sense. The vendor needs to be 
+of course, so "x86v7a" doesn't make sense. The vendor needs to be
 specified only if there's a relevant change, for instance between PC
 and Apple. Most of the time it can be omitted (and Unknown)
 will be assumed, which sets the defaults for the specified architecture.


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to