summaryrefslogtreecommitdiffstats
path: root/clang/docs/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-09-20 18:19:55 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-09-20 18:19:55 +0000
commitc1dd0e97f33022cedc7181f6898c8608e41c323a (patch)
tree186edda6ee79789b3a54aefdbbe13878ed04ebc0 /clang/docs/tools
parentdaebb6d80531b97133138ee9ed9a100bc9fe5030 (diff)
downloadbcm5719-llvm-c1dd0e97f33022cedc7181f6898c8608e41c323a.tar.gz
bcm5719-llvm-c1dd0e97f33022cedc7181f6898c8608e41c323a.zip
Driver/Objective-C: Retool Objective-C ABI flags to be more usable, and actually
document behavior. Will wonders never cease. llvm-svn: 114334
Diffstat (limited to 'clang/docs/tools')
-rw-r--r--clang/docs/tools/clang.pod17
1 files changed, 16 insertions, 1 deletions
diff --git a/clang/docs/tools/clang.pod b/clang/docs/tools/clang.pod
index 8284d319e7b..8a43731abfe 100644
--- a/clang/docs/tools/clang.pod
+++ b/clang/docs/tools/clang.pod
@@ -191,7 +191,6 @@ Allow loose type checking rules for implicit vector conversions.
Enable the "Blocks" language feature.
-
=item B<-fobjc-gc-only>
Indicate that Objective-C code should be compiled in GC-only mode, which only
@@ -202,6 +201,22 @@ works when Objective-C Garbage Collection is enabled.
Indicate that Objective-C code should be compiled in hybrid-GC mode, which works
with both GC and non-GC mode.
+=item B<-fobjc-abi-version>=I<version>
+
+Select the Objective-C ABI version to use. Available versions are 1 (legacy
+"fragile" ABI), 2 (non-fragile ABI 1), and 3 (non-fragile ABI 2).
+
+=item B<-fobjc-nonfragile-abi-version>=I<version>
+
+Select the Objective-C non-fragile ABI version to use by default. This will only
+be used as the Objective-C ABI when the non-fragile ABI is enabled (either via
+-fobjc-nonfragile-abi, or because it is the platform default).
+
+=item B<-fobjc-nonfragile-abi>
+
+Enable use of the Objective-C non-fragile ABI. On platforms for which this is
+the default ABI, it can be disabled with B<-fno-objc-nonfragile-abi>.
+
=back
OpenPOWER on IntegriCloud