Duncan Sands
3aa3673f5b
The C backend does not support arbitrary precision integers.
...
llvm-svn: 65447
2009-02-25 11:51:54 +00:00
Duncan Sands
966fd26c83
Note on new type legalizer.
...
llvm-svn: 65446
2009-02-25 11:50:08 +00:00
Duncan Sands
d9c3557fcc
Add note on support for arbitrary precision integers.
...
llvm-svn: 65445
2009-02-25 11:37:39 +00:00
Gabor Greif
267e01cb28
minor tweaks to readability
...
llvm-svn: 65440
2009-02-25 09:45:40 +00:00
Chris Lattner
3ab27b75a7
more notes.
...
llvm-svn: 65439
2009-02-25 07:32:53 +00:00
Evan Cheng
86673f2806
Clean up dwarf writer, part 1. This eliminated the horrible recursive getGlobalVariablesUsing and replaced it something readable. It eliminated use of slow UniqueVector and replaced it with StringMap, SmallVector, and DenseMap, etc. It also fixed some non-deterministic behavior.
...
This is a very minor compile time win.
llvm-svn: 65438
2009-02-25 07:04:34 +00:00
Nick Lewycky
5c10a3aa7f
Add a totally synthetic situation I came up with while looking at a bug in
...
related code.
llvm-svn: 65437
2009-02-25 06:52:48 +00:00
Chris Lattner
d02da04564
random notes
...
llvm-svn: 65436
2009-02-25 06:34:50 +00:00
Nick Lewycky
2db07614e7
Recommend against using Gold to build LLVM.
...
llvm-svn: 65435
2009-02-25 06:29:47 +00:00
Chris Lattner
b39faaa57e
don't know if there is a vmkit release to match 2.5
...
llvm-svn: 65434
2009-02-25 05:45:05 +00:00
Chris Lattner
d79eb11e22
update
...
llvm-svn: 65433
2009-02-25 05:43:33 +00:00
Chris Lattner
014d2ad55f
Headers are basically done, debug info is just about done (and
...
will improve a lot this week hopefully), and a libgcc replacement
is ready once I wrangle lawyers.
llvm-svn: 65432
2009-02-25 05:39:01 +00:00
Chris Lattner
a004a1846b
clang seems "generally useful" for c and objc by now, though obviously bugs
...
still remain.
llvm-svn: 65431
2009-02-25 05:35:47 +00:00
Chris Lattner
f70a024c43
update clang section
...
llvm-svn: 65430
2009-02-25 05:09:54 +00:00
Chris Lattner
7fad44b004
rip out llvm 2.4 details to make room for 2.5
...
llvm-svn: 65429
2009-02-25 04:41:31 +00:00
Eli Friedman
8163b7aa20
Minor cleanup for IntToBlockPointer so it applies to all callers of
...
Sema::CheckAssignmentConstraints; not really visible, but the right
thing to do.
llvm-svn: 65428
2009-02-25 04:20:42 +00:00
Scott Michel
e2fdc31759
Expand tabs to spaces (overlooked in previous commit)
...
llvm-svn: 65427
2009-02-25 03:57:49 +00:00
Scott Michel
bb878288cb
Remove all "cached" data from BuildVectorSDNode, preferring to retrieve
...
results via reference parameters.
This patch also appears to fix Evan's reported problem supplied as a
reduced bugpoint test case.
llvm-svn: 65426
2009-02-25 03:12:50 +00:00
Ted Kremenek
dce7846c24
retain/release checker: Implement basic tracking of autorelease stack. Next thing is to wire up pools with their contents.
...
llvm-svn: 65425
2009-02-25 02:54:57 +00:00
Ted Kremenek
47bd78ef73
Implement 'Add' method for GRStatePartialTrait<ImmutableList<T>>.
...
llvm-svn: 65424
2009-02-25 02:54:00 +00:00
Devang Patel
410dc00184
Fix comments.
...
llvm-svn: 65423
2009-02-25 01:36:11 +00:00
Devang Patel
9d7d17a8ec
Enable debug info emission for objc methods.
...
llvm-svn: 65422
2009-02-25 01:09:46 +00:00
Ted Kremenek
7a164114f6
Update checker build.
...
llvm-svn: 65421
2009-02-25 00:54:41 +00:00
Daniel Dunbar
a1047857f7
Remove a FIXME; I was mistaken in believing gcc rejected this.
...
llvm-svn: 65420
2009-02-25 00:22:25 +00:00
Ted Kremenek
86cb75a7cc
Fix condition in ccc-analyzer that would cause the analyzer never to be run.
...
llvm-svn: 65417
2009-02-25 00:10:37 +00:00
Fariborz Jahanian
30b3ac5e9e
Minor refactoring.
...
llvm-svn: 65414
2009-02-24 23:38:42 +00:00
Fariborz Jahanian
240f2b7851
patch for two things.
...
make sure objc2's nonfragile abi is enacted for Leopard too.
add -fobjc-gc-only flag to the image_info symbol.
llvm-svn: 65413
2009-02-24 23:34:44 +00:00
Ted Kremenek
260c49a712
Fix broken logic from my last commit. Branches only occur at basic blocks that end with terminators.
...
llvm-svn: 65410
2009-02-24 23:34:17 +00:00
Ted Kremenek
c324a0e089
Fix diagnostic regression where the leak diagnostic could appear earlier in the path than the branches taken.
...
llvm-svn: 65407
2009-02-24 23:30:57 +00:00
Mon P Wang
b402493161
Added support to have TableGen provide information if an intrinsic (core
...
or target) can be overloaded or not.
llvm-svn: 65404
2009-02-24 23:17:49 +00:00
Devang Patel
ab19ecad22
If Loc is invalid (e.g. "self" in Objective-C) then use MainFileID's compile unit.
...
llvm-svn: 65403
2009-02-24 23:16:03 +00:00
Devang Patel
0c83e84f40
If compile unit's language is not set then don't crash while dump'ing compile unit.
...
llvm-svn: 65402
2009-02-24 23:15:09 +00:00
Chris Lattner
d8b741c85f
handle @encode interactions with array initializers.
...
llvm-svn: 65401
2009-02-24 23:10:27 +00:00
Chris Lattner
94e6c4be9a
rename CheckStringLiteralInit to CheckStringInit and pass in the
...
string size as an argument.
llvm-svn: 65400
2009-02-24 23:01:39 +00:00
Chris Lattner
b0912a59d3
make SemaRef be a reference to sema, not a pointer.
...
llvm-svn: 65399
2009-02-24 22:50:46 +00:00
Chris Lattner
9ececceea9
move InitListChecker to be private to SemaInit.cpp
...
llvm-svn: 65398
2009-02-24 22:48:58 +00:00
Chris Lattner
94d2f6819f
Make CheckSingleInitializer a static function in SemaInit.cpp
...
llvm-svn: 65397
2009-02-24 22:46:58 +00:00
Chris Lattner
edbf3ba3d2
make CheckStringLiteralInit a static function in SemaInit.cpp
...
llvm-svn: 65396
2009-02-24 22:41:04 +00:00
Chris Lattner
9c60e859a5
change IsStringLiteralInit into a static function in SemaInit.cpp
...
llvm-svn: 65395
2009-02-24 22:36:59 +00:00
Chris Lattner
0cb7803341
move some initialization checking code from SemaDecl.cpp
...
to SemaInit.cpp, no functionality change.
llvm-svn: 65394
2009-02-24 22:27:37 +00:00
Chris Lattner
d7e7b8e411
first wave of fixes for @encode sema support. This is part of PR3648.
...
The big difference here is that (like string literal) @encode has
array type, not pointer type.
llvm-svn: 65391
2009-02-24 22:18:39 +00:00
Ted Kremenek
9b15effcd1
ccc-analyzer: Don't analyze files with '-arch ppc' or '-arch ppc64' since Clang
...
doesn't support Altivec intrisics nor is it likely that we're currently
generating all the right #defines, etc., for those architectures.
llvm-svn: 65390
2009-02-24 22:07:12 +00:00
Chris Lattner
0be5aa875a
some minor cleanups, handle ObjCEncodeExpr in a couple places.
...
llvm-svn: 65389
2009-02-24 21:54:33 +00:00
Chris Lattner
3bf2878556
improve comments.
...
llvm-svn: 65388
2009-02-24 21:52:14 +00:00
Fariborz Jahanian
6fe4306195
Set flag for -fobjc-gc in IMAGE_INFO variable.
...
llvm-svn: 65387
2009-02-24 21:08:09 +00:00
Douglas Gregor
eddf4333fd
When we're declaring an object or function with linkage, teach name
...
lookup to skip over names without linkage. This finishes
<rdar://problem/6127293>.
llvm-svn: 65386
2009-02-24 20:03:32 +00:00
Douglas Gregor
5d68a20949
Extend the implicit declaration and checking against out-of-scope
...
external declarations to also support external variable
declarations. Unified the code for these two cases into two new
subroutines.
Note that we fail to diagnose cases like the one Neil pointed
out, where a visible non-external declaration hides an external
declaration by the same name. That will require some reshuffling of
name lookup.
llvm-svn: 65385
2009-02-24 19:23:27 +00:00
Ted Kremenek
c52f9394ce
retain/release checker:
...
- For autorelease pool tracking, keep information about the stack of pools
separate from their contents. Also, keep track of the number of times an
autorelease pool will send the "release" message to an object when the pool is
destroyed.
- Update CFRefCount::Update to return a new state instead of a reference count
binding. This will allow us to implement more complicated semantics with
autorelease pools.
llvm-svn: 65384
2009-02-24 19:15:11 +00:00
Daniel Dunbar
5bf00893b6
Extension of GEP in constant folder was broken (apparently this code
...
has never been run!).
- Sorry, don't know how to make an LLVM test case for this.
llvm-svn: 65383
2009-02-24 19:10:46 +00:00
Dan Gohman
0bddac16a8
Rename ScalarEvolution's getIterationCount to getBackedgeTakenCount,
...
to more accurately describe what it does. Expand its doxygen comment
to describe what the backedge-taken count is and how it differs
from the actual iteration count of the loop. Adjust names and
comments in associated code accordingly.
llvm-svn: 65382
2009-02-24 18:55:53 +00:00