• Home
  • History
  • Annotate
  • only in /external/llvm/lib/Option/
History log of /external/llvm/lib/Option/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cd81d94322a39503e4a3e87b6ee03d4fcb3465fb 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
rgList.cpp
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
rgList.cpp
ptTable.cpp
ption.cpp
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
ndroid.mk
rgList.cpp
ce9904c6ea8fd669978a8eefb854b330eb9828ff 12-Feb-2014 Stephen Hines <srhines@google.com> Merge remote-tracking branch 'upstream/release_34' into merge-20140211

Conflicts:
lib/Linker/LinkModules.cpp
lib/Support/Unix/Signals.inc

Change-Id: Ia54f291fa5dc828052d2412736e8495c1282aa64
42f2a6b41ea62d4ccd10a6c469b27549881a7406 04-Nov-2013 Jakub Staszak <kubastaszak@gmail.com> Use startswith_lower() where possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194007 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
add560eee426339135fbabcad764b2afad46285e 11-Sep-2013 Eli Friedman <eli.friedman@gmail.com> Fix another mistake in r190442.

Sorry about that; I'll try to be more careful about DEBUG mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190449 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
63a9660a414299bbb93a1edf914c5200413adf73 11-Sep-2013 Eli Friedman <eli.friedman@gmail.com> Remove unused functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190442 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
2957273b888dabe8be8e2fa5ac691e39879685c4 28-Aug-2013 Rui Ueyama <ruiu@google.com> Option parsing: support case-insensitive option matching.

Re-submitting r189416 with fix for Windows build on where strcasecmp is not defined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189501 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
1997734e37775a68182b3fd508a52e0c28ff36f8 28-Aug-2013 Rui Ueyama <ruiu@google.com> Revert "Option parsing: support case-insensitive option matching." as it broke Windows buildbot.

This reverts r189416.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189424 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
055f4e99ffb32462db6fc62f9a306f2865acacb0 28-Aug-2013 Rui Ueyama <ruiu@google.com> Option parsing: support case-insensitive option matching.

Link.exe's command line options are case-insensitive. This patch
adds a new attribute to OptTable to let the option parser to compare
options, ignoring case.

Command lines are generally case-insensitive on Windows. CL.exe is an
exception. So this new attribute should be useful for other commands
running on Windows.

Differential Revision: http://llvm-reviews.chandlerc.com/D1485

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189416 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
b06ccefc910a32564cb55aaf6fe265182293bfaa 14-Aug-2013 Hans Wennborg <hans@hanshq.net> Options: explicit handling of --

Clients of the option parsing library should handle it explicitly
using a KIND_REMAINING_ARGS option.

Clang and lld have been updated in r188316 and r188318, respectively.

Also fix -Wsign-compare warning in the option parsing test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188323 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
af9e3557552c341615052a05d4eeb36d7fd5c33f 13-Aug-2013 Hans Wennborg <hans@hanshq.net> Options: Add new option kind that consumes remaining arguments

This adds KIND_REMAINING_ARGS, a class of options that consume
all remaining arguments on the command line.

This will be used to support /link in clang-cl, which is used
to forward all remaining arguments to the linker.

It also allows us to remove the hard-coded handling of "--",
allowing clients (clang and lld) to implement that functionality
themselves with this new option class.

Differential Revision: http://llvm-reviews.chandlerc.com/D1387

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188314 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
ption.cpp
ead8d02a509cd69a74e01e4af90d8b237f30ed1c 08-Aug-2013 Stephen Hines <srhines@google.com> Update LLVM for merge to r187913.

Add HAVE_FUTIMENS to */include/llvm/Config/config.h

Update version number to 3.3 (even though this is tracking 3.4)

Removed lib/Archive

Added lib/Option

Android.mk changes:
- PathV2.cpp
- SimplifyLibCalls.cpp
- BlackList.cpp
- VecUtils.cpp
+ MD5.cpp
+ CFG.cpp
+ SpecialCaseList.cpp
+ MachOUniversal.cpp
+ StructurizeCFG.cpp

Change-Id: I8ee072cd0d4210a6a5492c0e6663f8464ff21386
ndroid.mk
27770f46aa07caa2729ecee9ce0bd7db9f126722 06-Aug-2013 NAKAMURA Takumi <geek4civic@gmail.com> Option/CMakeLists.txt: Don't use target_link_libraries. LLVMBuild knows dependencies.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187777 91177308-0d34-0410-b5e6-96231b3b80d8
MakeLists.txt
6bf104b165cec9c14dacf10bf3380eeb32c278d7 02-Aug-2013 Hans Wennborg <hans@hanshq.net> Option parsing: recognize the special -- token

Everything that comes after -- should be treated as a filename. This
enables passing in filenames that would otherwise be conflated with
command-line options.

This is especially important for clang-cl which supports options
starting with /, which are easily conflatable with Unix-style
path names.

Differential Revision: http://llvm-reviews.chandlerc.com/D1274

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187675 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
9dd8c0cffe7de82900823c05159bba765120f1e3 01-Aug-2013 Hans Wennborg <hans@hanshq.net> Option parsing: add support for alias arguments.

This makes option aliases more powerful by enabling them to
pass along arguments to the option they're aliasing.

For example, if we have a joined option "-foo=", we can now
specify a flag option "-bar" to be an alias of that, with the
argument "baz".

This is especially useful for the cl.exe compatible clang driver,
where many options are aliases. For example, this patch enables
us to alias "/Ox" to "-O3" (-O is a joined option), and "/WX" to
"-Werror" (again, -W is a joined option).

Differential Revision: http://llvm-reviews.chandlerc.com/D1245

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187537 91177308-0d34-0410-b5e6-96231b3b80d8
ption.cpp
3f60fb86103f08b1d1da5f98d735fedb41f93f34 22-Jul-2013 Richard Trieu <rtrieu@google.com> Silence gcc warning.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186879 91177308-0d34-0410-b5e6-96231b3b80d8
ption.cpp
6c7e78746e059916892f1df279b681d962a70954 22-Jul-2013 Hans Wennborg <hans@hanshq.net> Option parsing: allow aliases in groups

Option aliases in option groups were previously disallowed by an assert.
As far as I can tell, there was no technical reason for this, and I would
like to be able to put cl.exe compatible options in their own group for Clang,
so let's change the assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186838 91177308-0d34-0410-b5e6-96231b3b80d8
ption.cpp
a2549d382789fa33b5541708b2e4cf39e8bf56c9 19-Jul-2013 Reid Kleckner <reid@kleckner.net> [Option] Add inclusion and exclusion flags to option parsing

Summary:
This allows the clang driver to put MSVC compatible options in the same
enumerator space as its normal options but exclude them from normal
option parsing.

Also changes the standard ParseArgs() method to consider unknown
arguments with a leading slash as being inputs rather than flags.

High level discussion for clang-cl is here:
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-June/030404.html

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1049

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186703 91177308-0d34-0410-b5e6-96231b3b80d8
ptTable.cpp
f73f80975639a7413bee66391556f7ea51f83423 15-Jul-2013 Reid Kleckner <reid@kleckner.net> Revert "[Option] Store arg strings in a set backed by a BumpPtrAllocator"

This broke clang's crash-report.c test, and I haven't been able to
figure it out yet.

This reverts commit r186319.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186329 91177308-0d34-0410-b5e6-96231b3b80d8
rgList.cpp
95695c8bb3fcfdf0c728c59d03bb89b2cea80f07 15-Jul-2013 Reid Kleckner <reid@kleckner.net> [Option] Store arg strings in a set backed by a BumpPtrAllocator

No functionality change.

This is preparing to move response file parsing into lib/Option so it
can be shared between clang and lld. This change isn't just a
micro-optimization. Clang's driver uses a std::set<std::string> to
unique arguments while parsing response files, so this matches that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186319 91177308-0d34-0410-b5e6-96231b3b80d8
rgList.cpp
b0a9ffaeb0cb3802da3611b95d3ea7f49f03f787 27-Jun-2013 Reid Kleckner <reid@kleckner.net> Fix a crash bug in dumping options with groups

Option groups don't have prefixes. Option dumping is basically dead
code unless there is something wrong with the option table, so this
isn't an important crasher.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185031 91177308-0d34-0410-b5e6-96231b3b80d8
ption.cpp
1ee21dc1e11abdc56102d0f54265af73f5468bf9 13-Jun-2013 Reid Kleckner <reid@kleckner.net> Merge changes to clang's Driver code into LLVM's Option library

This is in preparation for switching the clang driver over to using LLVM's
Option library. Richard Smith introduced most of these changes to the clang
driver in r167638.

Reviewers: espindola on IRC

Differential Revision: http://llvm-reviews.chandlerc.com/D970

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183925 91177308-0d34-0410-b5e6-96231b3b80d8
rgList.cpp
ptTable.cpp
58a2cbef4aac9ee7d530dfb690c78d6fc11a2371 02-Jan-2013 Chandler Carruth <chandlerc@gmail.com> Resort the #include lines in include/... and lib/... with the
utils/sort_includes.py script.

Most of these are updating the new R600 target and fixing up a few
regressions that have creeped in since the last time I sorted the
includes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171362 91177308-0d34-0410-b5e6-96231b3b80d8
rg.cpp
rgList.cpp
ptTable.cpp
ption.cpp
96a564f2beec8c1930f0640844eec433e03bbce8 05-Dec-2012 Michael J. Spencer <bigcheesegs@gmail.com> Copy clang/Driver/<Option parsing stuff> to llvm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169344 91177308-0d34-0410-b5e6-96231b3b80d8
rg.cpp
rgList.cpp
MakeLists.txt
LVMBuild.txt
akefile
ptTable.cpp
ption.cpp