aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-03-10 21:22:28 +0000
committerRui Ueyama <ruiu@google.com>2017-03-10 21:22:28 +0000
commit62d547441da92ac039f9d2dc2a460c8c721a6db0 (patch)
tree252631e28964bb3dae1ec7e6bfaab23951516afd /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentf025a89b3c3353795f4ee09f86183ef1799c27be (diff)
downloadllvm-62d547441da92ac039f9d2dc2a460c8c721a6db0.zip
llvm-62d547441da92ac039f9d2dc2a460c8c721a6db0.tar.gz
llvm-62d547441da92ac039f9d2dc2a460c8c721a6db0.tar.bz2
Options such as -omagic or -opt-remarks-* should be interpreted as -o.
Options can start with `-` or `--` unless they start with "o". Any option that starts with `-o` should be interpreted as an output file name. This is a quote from the GNU ld man page. Note -- there is one exception to this rule. Multiple letter options that start with a lower case 'o' can only be preceded by two dashes. This is to reduce confusion with the -o option. So for example -omagic sets the output file name to magic whereas --omagic sets the NMAGIC flag on the output. We didn't handle that properly before. llvm-svn: 297508
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions