Rafael Espindola
50996b2c4d
Remove unused includes.
...
llvm itself is now PathV1 clean.
llvm-svn: 184947
2013-06-26 13:54:34 +00:00
Rafael Espindola
07ffa7d08b
Port GetMainExecutable over to PathV2.
...
I will remove the V1 version as soon as I change clang in the next commit.
llvm-svn: 184914
2013-06-26 05:01:35 +00:00
Rafael Espindola
968c6bbebf
Include PathV1.h in files that use it.
...
This is preparation for replacing Path.h with PathV2.h.
llvm-svn: 183782
2013-06-11 20:00:56 +00:00
Daniel Dunbar
e481053e50
llvm-config: Use sys::fs::equivalent instead of string comparison.
...
- Hopefully fixes PR11600 (untested).
llvm-svn: 156865
2012-05-15 22:07:18 +00:00
Daniel Dunbar
64c706d674
llvm-build: Add support for non-installed libraries (e.g., gtest).
...
- These libraries are only reported by llvm-config when run from a development
tree.
llvm-svn: 156838
2012-05-15 18:44:17 +00:00
Duncan Sands
65edbb72b1
An easy case where GCC should really be able to work out that the value is only
...
used if IsInDevelopmentTree is 'true'. But it doesn't, so help it out.
llvm-svn: 151244
2012-02-23 08:25:25 +00:00
Peter Collingbourne
7d52e812ad
llvm-config: Add support for CMake build trees in which the build
...
mode does not form part of the path.
llvm-svn: 149010
2012-01-26 01:31:38 +00:00
Daniel Dunbar
68de82c003
llvm-config: Fix --targets-built, I changed this to use the registry but wasn't
...
properly initializing the target infos. I decided it wasn't worth linking them
in for this, so just switched back to using the Makefile variable for now. We
can reconsider later if we ever get pluggable targets.
llvm-svn: 146711
2011-12-16 00:04:43 +00:00
Daniel Dunbar
f961e224ec
llvm-config: Update help text for removal of "backend" pseudo component.
...
llvm-svn: 146708
2011-12-15 23:43:17 +00:00
Daniel Dunbar
e6cf061866
llvm-config: Default to "all" if no components are specified.
...
- Fixes PR11530.
llvm-svn: 146388
2011-12-12 18:22:04 +00:00
Daniel Dunbar
3c06b26f09
llvm-config: Replace with C++ version (was llvm-config-2).
...
- Another reapply of r144300, with hopefully one last fix.
llvm-svn: 145623
2011-12-01 20:18:09 +00:00
Duncan Sands
84beef543d
Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots.
...
Original commit message:
llvm-config: Replace with C++ version (was llvm-config-2).
- Reapply of r144300, with lots of fixes/migration easement in between.
llvm-svn: 145582
2011-12-01 10:50:19 +00:00
Daniel Dunbar
7dcd93d4fa
llvm-config: Replace with C++ version (was llvm-config-2).
...
- Reapply of r144300, with lots of fixes/migration easement in between.
llvm-svn: 145449
2011-11-29 22:56:31 +00:00
Daniel Dunbar
745409c62f
Revert r144300 "llvm-config: Replace with C++ version (was llvm-config-2).",
...
which didn't appear ready for prime time.
llvm-svn: 144309
2011-11-10 19:59:35 +00:00
Daniel Dunbar
e9f2479115
llvm-config: Replace with C++ version (was llvm-config-2).
...
llvm-svn: 144300
2011-11-10 18:49:59 +00:00