Greg Clayton
f9d851b2ca
Bumped Xcode project versions for lldb-89 and debugserver-153.
...
llvm-svn: 144911
2011-11-17 17:22:31 +00:00
Howard Hinnant
7319160e7c
Clarify building instructions for 10.7
...
llvm-svn: 144910
2011-11-17 17:14:16 +00:00
Tobias Grosser
29ee0b14d5
Do not use getNameStr() anymore.
...
Instead we switch to the recommended getName(). This fixes compilation with
recent versions of LLVM.
llvm-svn: 144909
2011-11-17 14:52:36 +00:00
Tobias Grosser
135c9c6534
autoconf: Specify that pollyanalysis depends on pollysupport
...
llvm-svn: 144908
2011-11-17 12:56:23 +00:00
Tobias Grosser
edb8a2807a
SCEVValidator: Fix coding standards in ValidatorResult
...
llvm-svn: 144907
2011-11-17 12:56:21 +00:00
Tobias Grosser
fa043f00cd
SCEVValidator: Make ValidatorResult a class and enforce the use of wproper accessors
...
llvm-svn: 144906
2011-11-17 12:56:19 +00:00
Tobias Grosser
b1f07c5c0b
SCEVValidator: Document SCEVType and ValidatorResult
...
Suggested by Sebastian Pop.
llvm-svn: 144905
2011-11-17 12:56:17 +00:00
Tobias Grosser
bcc0a0d560
SCEVValidator: Restructure the logic of visitAddRecExpr
...
Suggested by Sebastian Pop.
llvm-svn: 144904
2011-11-17 12:56:14 +00:00
Tobias Grosser
2a7cd94215
SCEVValidator: Fix typo
...
llvm-svn: 144903
2011-11-17 12:56:12 +00:00
Tobias Grosser
7ffe4e8b0b
Fix placement of the '*' that marks a pointer
...
Suggested by Sebastian Pop.
llvm-svn: 144902
2011-11-17 12:56:10 +00:00
Tobias Grosser
92a00f818a
RegisterPasses: Avoid double negation
...
Fix suggested by Sebastian Pop.
llvm-svn: 144901
2011-11-17 12:56:06 +00:00
Tobias Grosser
6287201d6e
ScheduleOptimizer: Start with an empty union_map and add elements
...
llvm-svn: 144900
2011-11-17 12:56:04 +00:00
Tobias Grosser
1ae9a60426
ScheduleOptimizer: Some style changes
...
- Use uppercase letters according to the LLVM coding style
- Rename functions to not include 'tiledSchedule', but just Schedule. This
is more correct as tiling might be disabled.
llvm-svn: 144899
2011-11-17 12:56:03 +00:00
Tobias Grosser
79b30201d6
ScheduleOptimizer: Use early exit
...
Style fix, noted by Sebastian Pop.
llvm-svn: 144898
2011-11-17 12:56:00 +00:00
NAKAMURA Takumi
74793710c1
docs/UsersManual.html: Remove obsolete mingw issue.
...
llvm-svn: 144897
2011-11-17 07:54:13 +00:00
Craig Topper
f41e1d0246
Fix SSE/AVX integer comparison patterns to understand that all integer vector loads are promoted to i64 vector loads so patterns need a bitconvert. Also slightly simplify the AVX2 variable shift patterns by using the predefined bitconvert pattern fragments.
...
llvm-svn: 144896
2011-11-17 07:49:38 +00:00
Chad Rosier
15b2498e88
Dead code.
...
llvm-svn: 144888
2011-11-17 07:24:49 +00:00
NAKAMURA Takumi
5dd3777633
test/Frontend/dependency-gen.c: Relax expressions for Win32 host (mingw msys).
...
llvm-svn: 144887
2011-11-17 07:21:33 +00:00
Chad Rosier
f83ab704e4
When fast iseling a GEP, accumulate the offset rather than emitting a series of
...
ADDs. MaxOffs is used as a threshold to limit the size of the offset. Tradeoffs
being: (1) If we can't materialize the large constant then we'll cause fast-isel
to bail. (2) Too large of an offset can't be directly encoded in the ADD
resulting in a MOV+ADD. Generally not a bad thing because otherwise we would
have had ADD+ADD, but on Thumb this turns into a MOVS+MOVT+ADD. Working on a fix
for that. (3) Conversely, too low of a threshold we'll miss opportunities to
coalesce ADDs.
rdar://10412592
llvm-svn: 144886
2011-11-17 07:15:58 +00:00
Craig Topper
f17b600577
Remove seemingly unnecessary duplicate VROUND definitions.
...
llvm-svn: 144885
2011-11-17 07:04:00 +00:00
NAKAMURA Takumi
32f1acf14a
Revert r132539 for now, "My testing shows that function stat has no problem with trailing separators. (tested on Windows and Darwin)."
...
It caused PR10331. MSVCRT stat() cannot strip trailing '/'. (can '\')
llvm-svn: 144884
2011-11-17 06:16:05 +00:00
David Blaikie
0f65d59e52
Include named unions in union member init checking
...
llvm-svn: 144883
2011-11-17 06:01:57 +00:00
Greg Clayton
e24c4acf6c
Fixed the issue that was causing our monitor process threads to crash, it
...
turned out to be unitialized data in the ProcessLaunchInfo default constructor.
Turning on MallocScribble in the environment helped track this down.
When we launch and attach using the host layer, we now inform the process that
it shouldn't detach when by calling an accessor.
llvm-svn: 144882
2011-11-17 04:46:02 +00:00
Francois Pichet
857f9d6e5e
In Microsoft mode, make "Unqualified lookup into dependent bases of class templates" works inside default argument instantiation.
...
This is a little bit tricky because during default argument instantiation the CurContext points to a CXXMethodDecl but we can't use the keyword this or have an implicit member call generated.
This fixes 2 errors when parsing MFC code with clang.
llvm-svn: 144881
2011-11-17 03:44:24 +00:00
Douglas Gregor
5acdf59ebc
Actually free memory for the module maps
...
llvm-svn: 144880
2011-11-17 02:05:44 +00:00
Douglas Gregor
667971778c
Try to appease the failing buildbot where I can't reproduce the problem
...
llvm-svn: 144879
2011-11-17 01:44:33 +00:00
Chris Lattner
0e439c9b7c
x86/windows issues fixed.
...
llvm-svn: 144878
2011-11-17 01:42:23 +00:00
Douglas Gregor
56c6401306
When we're loading a framework header, first try to turn the framework
...
into a module. This module can either be loaded from a module map in
the framework directory (which isn't quite working yet) or inferred
from an umbrella header (which does work, and replaces the existing
hack).
llvm-svn: 144877
2011-11-17 01:41:17 +00:00
Eli Friedman
489c0ff4a4
Add support for custom names for library functions in TargetLibraryInfo. Add a custom name for fwrite and fputs on x86-32 OSX. Make SimplifyLibCalls honor the custom
...
names for fwrite and fputs.
Fixes <rdar://problem/9815881>.
llvm-svn: 144876
2011-11-17 01:27:36 +00:00
Greg Clayton
2637f82542
Fixed an issue with the pthread_setspecific() where we weren't NULL-ing out
...
the thread specific data and were destroying the thread specfic data more
than once.
Also added the ability to ask a lldb::StateType if it is stopped with an
additional paramter of "must_exist" which means that the state must be a
stopped state for a process that still exists. This means that eStateExited
and eStateUnloaded will no longer return true if "must_exist" is set to true.
llvm-svn: 144875
2011-11-17 01:23:07 +00:00
Jim Ingham
78d614883f
(no commit message)
...
llvm-svn: 144874
2011-11-17 01:22:00 +00:00
Daniel Dunbar
52f71220d5
llvm-build: Attempt to work around a CMake Makefile generator bug that doesn't
...
properly quote strings when writing the CMakeFiles/Makefile.cmake output file
(which lists the dependencies). This shows up when using CMake + MSYS Makefile
generator.
llvm-svn: 144873
2011-11-17 01:19:53 +00:00
Chad Rosier
ce619ddfc5
Don't unconditionally set the kill flag.
...
rdar://10456186
llvm-svn: 144872
2011-11-17 01:16:53 +00:00
Anna Zaks
df6ca9fbee
[analysis] Constify CheckerContext.
...
llvm-svn: 144871
2011-11-17 01:09:19 +00:00
Anna Zaks
871606d8de
[analyzer] Put CheckerConext::getCalleeName out of line.
...
llvm-svn: 144870
2011-11-17 01:09:15 +00:00
Daniel Dunbar
4f41440cf9
clang/Darwin: Use the compiler-rt provided profile library.
...
llvm-svn: 144869
2011-11-17 00:36:57 +00:00
Daniel Dunbar
e285a7d3f0
tests/Driver/darwin-ld.c: Get rid of the "splatter" test case. We have enough
...
other coverage that actually properly checks features such that this test is not
really adding value anymore.
llvm-svn: 144868
2011-11-17 00:36:53 +00:00
Eli Friedman
20439a42b0
Turn on vzeroupper insertion on call boundaries for AVX; it works as far as I know, and I'd like to see wider testing.
...
llvm-svn: 144867
2011-11-17 00:21:52 +00:00
Daniel Dunbar
6a76c5eec4
platform/clang_darwin: Add configs for profiling support.
...
llvm-svn: 144866
2011-11-17 00:12:12 +00:00
Daniel Dunbar
fb16114782
lib: Import GCDA profiling support from LLVM.
...
- I'm in the process of moving this here but it will live in both places until
the ancilliary support is ready.
- Currently unused.
llvm-svn: 144865
2011-11-17 00:12:10 +00:00
Daniel Dunbar
586aabc44a
build/make/test: Get rid of unused BUGPOINT_TOPTS variable.
...
llvm-svn: 144864
2011-11-16 23:56:03 +00:00
Eli Friedman
ff1eaa7578
Make sure to replace the chain properly when DAGCombining a LOAD+EXTRACT_VECTOR_ELT into a single LOAD. Fixes PR10747/PR11393.
...
llvm-svn: 144863
2011-11-16 23:50:22 +00:00
Douglas Gregor
b2ac5517b5
Add missing header for modules test.
...
llvm-svn: 144862
2011-11-16 23:41:39 +00:00
Michael J. Spencer
d27d51fbaf
Object/COFF: Support common symbols.
...
llvm-svn: 144861
2011-11-16 23:36:12 +00:00
Daniel Dunbar
a8c9886dcc
build/make/compiler-rt: Don't attempt to build compiler-rt runtime libraries
...
when cross compiling under the current organization.
- See verbose comment for explanation, justification, and how to fix.
llvm-svn: 144860
2011-11-16 23:22:07 +00:00
Douglas Gregor
b65dbfff52
A module with an umbrella header assumes that all of the headers in
...
the umbrella header's directory and its subdirectories are part of the
module (that's why it's an umbrella). Make sure that these headers are
considered to be part of the module for lookup purposes.
llvm-svn: 144859
2011-11-16 23:02:25 +00:00
Jim Grosbach
f4d2e0d458
Remove obsolete test.
...
The PLD encoding is checked via the .s file now.
llvm-svn: 144853
2011-11-16 22:50:38 +00:00
Jim Grosbach
d3f02cbce9
Generalize the fixup info for ARM mode.
...
We don't (yet) have the granularity in the fixups to be specific about which
bitranges are affected. That's a future cleanup, but we're not there yet.
llvm-svn: 144852
2011-11-16 22:48:37 +00:00
Jim Grosbach
d66cb5ab33
Update test for r144842.
...
llvm-svn: 144851
2011-11-16 22:46:27 +00:00
Abramo Bagnara
b0cf297654
Added missing ImplicitCastExpr around conversion operator call.
...
llvm-svn: 144850
2011-11-16 22:46:05 +00:00