summaryrefslogtreecommitdiffstats
path: root/clang/docs/ClangCommandLineReference.rst
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Toolchain: Normalize dwarf, sjlj and seh eh"Martell Malone2017-11-291-8/+0
| | | | | | | | This reverts rL319294. The windows sanitizer does not like seh on x86. Will re apply with None type for x86 llvm-svn: 319295
* Toolchain: Normalize dwarf, sjlj and seh ehMartell Malone2017-11-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | adds -fseh-exceptions and -fdwarf-exceptions flags clang will check if the user has specified an exception model flag, in the absense of specifying the exception model clang will then check the driver default and append the model flag for that target to cc1 clang cc1 assumes dwarf is the default if none is passed and -fno-exceptions has a higher priority then specifying the model move __SEH__ macro definitions out of Targets into InitPreprocessor behind the -fseh-exceptions flag move __ARM_DWARF_EH__ macrodefinitions out of verious targets and into InitPreprocessor behind the -fdwarf-exceptions flag and arm|thumb check remove unused USESEHExceptions from the MinGW Driver fold USESjLjExceptions into a new GetExceptionModel function that gives the toolchain classes more flexibility with eh models Reviewers: rnk, mstorsjo Differential Revision: https://reviews.llvm.org/D39673 llvm-svn: 319294
* [Docs] Regenerate the command line option reference.Craig Topper2017-11-201-5/+45
| | | | llvm-svn: 318672
* [CFI] Add CFI-icall pointer type generalizationVlad Tsyrklevich2017-10-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | Summary: This change allows generalizing pointers in type signatures used for cfi-icall by enabling the -fsanitize-cfi-icall-generalize-pointers flag. This works by 1) emitting an additional generalized type signature metadata node for functions and 2) llvm.type.test()ing for the generalized type for translation units with the flag specified. This flag is incompatible with -fsanitize-cfi-cross-dso because it would require emitting twice as many type hashes which would increase artifact size. Reviewers: pcc, eugenis Reviewed By: pcc Subscribers: kcc Differential Revision: https://reviews.llvm.org/D39358 llvm-svn: 317044
* [docs] Regenerate command line options referenceBoris Kolpackov2017-08-301-4/+53
| | | | llvm-svn: 312106
* [Docs] Regenerate the command line option reference.Craig Topper2017-07-201-6/+48
| | | | llvm-svn: 308641
* [docs] Fix a couple of typos in command line flag help text and regenerate ↵Richard Smith2017-04-131-11/+57
| | | | | | documentation. llvm-svn: 300270
* Remove the -faltivec alias option and replace it with -maltivec everywhere.Eric Christopher2017-03-211-1/+1
| | | | | | | | | | | The alias was only ever used on darwin and had some issues there, and isn't used in practice much. Also fixes a problem with -mno-altivec not turning off -maltivec. Also add a diagnostic for faltivec/fno-altivec that directs users to use maltivec options and include the altivec.h file explicitly. llvm-svn: 298449
* [X86] Add -mprefetchwt1/-mno-prefetchwt1 command line options and ↵Craig Topper2017-02-081-0/+2
| | | | | | __PREFETCHWT1__ define to match gcc. llvm-svn: 294424
* [X86] Add -msgx/-mno-sgx command line options and __SGX__ define to match gcc.Craig Topper2017-02-081-0/+2
| | | | llvm-svn: 294423
* [X86] Update command line documentation for -mclwb and -mmovbe which I ↵Craig Topper2017-02-081-0/+4
| | | | | | forgot in my previous commits. llvm-svn: 294420
* [X86] Add -mmpx/-mno-mpx command line options and __MPX__ define to match gcc.Craig Topper2017-02-081-0/+2
| | | | llvm-svn: 294419
* [X86] Add -mclflushopt/-mno-clflushopt command line support and ↵Craig Topper2017-02-081-0/+2
| | | | | | __CLFLUSHOPT__ define to match gcc. llvm-svn: 294411
* [docs] Add help text and refine grouping for various options.Richard Smith2017-01-271-119/+129
| | | | | | Also accept -G= (and -msmall-data-threshold=) as an alias for -G on MIPS as well as Hexagon. llvm-svn: 293254
* Improve workaround for Sphinx's lack of support for command line options ↵Richard Smith2017-01-271-839/+76
| | | | | | containing '+', '.' etc. to be more stable as the set of options changes. llvm-svn: 293252
* [docs] Add TableGen-based generator for command line argument documentation,Richard Smith2017-01-241-0/+3286
and generate documentation for all (non-hidden) options supported by the 'clang' driver. llvm-svn: 292968
OpenPOWER on IntegriCloud