- May 08, 2009
-
-
Chris Lattner authored
"This patch fixes message sends to super in categories for the GNU runtime. This used to work, but I broke it when I modified the code to emit the same thing as GCC for message sends to super in classes." Patch by David Chisnall! llvm-svn: 71220
-
Chris Lattner authored
of the underlying _N builtin, not the the type of the pointee of the actual type. This ensures that atomics involving pointers end up using the correct integer type when they are resolved, avoiding aborts in codegen. llvm-svn: 71218
-
Ted Kremenek authored
llvm-svn: 71216
-
Zhongxing Xu authored
incomplete, do not compute its size and return the original region. llvm-svn: 71213
-
Chris Lattner authored
semantic rules that gcc and icc use. This implements the variadic and concrete versions as builtins and has sema do the disambiguation. There are probably a bunch of details to finish up but this seems like a large monotonic step forward :) llvm-svn: 71212
-
Zhongxing Xu authored
llvm-svn: 71206
-
Zhongxing Xu authored
llvm-svn: 71205
-
Zhongxing Xu authored
llvm-svn: 71202
-
rdar://problem/6845148Ted Kremenek authored
implicitly be changed to unsigned values in GRSimpleVals.cpp. This can happen when the comparison involves logic in specialized transfer functions (e.g., OSAtomicCompareAndSwap). llvm-svn: 71200
-
Chris Lattner authored
"This patch is a first pass at adding support for exceptions for the GNU runtime. There are a few limitations at present: - @synchronized() is not yet supported at all. gcc currently emits calls to runtime library functions that don't exist for this directive. - Only id @catch statements are currently working. This is enough for NS_DURING and friends, but I need to spend more time reading the output from gcc -S to work out how it finds the class pointer to make arbitrary class type catch statements work. - I've tested it with a few common cases[1] and the clang test suite (which doesn't test exceptions for the GNU runtime, but shows I haven't broken anything else), but there are probably a lot of cases I've missed." Patch by David Chisnall! llvm-svn: 71198
-
Eli Friedman authored
llvm-svn: 71194
-
Ted Kremenek authored
other changes. Instead of repeatedly checking for GC mode when getting the return effect, just do this computation once. llvm-svn: 71193
-
Mike Stump authored
block pointer. Radar 6441502 llvm-svn: 71190
-
- May 07, 2009
-
-
Daniel Dunbar authored
llvm-svn: 71184
-
Mike Stump authored
llvm-svn: 71183
-
Ted Kremenek authored
- Rename 'ns_returns_owned' -> 'ns_returns_retained'. - Rename 'cf_returns_owned' -> 'cf_returns_retained'. llvm-svn: 71182
-
Fariborz Jahanian authored
refers to the underlying class. This is radar 6859726. Steve, please read the radar for my rational. llvm-svn: 71181
-
Mike Stump authored
llvm-svn: 71171
-
Ted Kremenek authored
analysis introspection) when we computed an lvalue. This shouldn't effect the current analysis results in any way. llvm-svn: 71169
-
Sebastian Redl authored
llvm-svn: 71163
-
Douglas Gregor authored
specialization type for a dependent template name. llvm-svn: 71153
-
Douglas Gregor authored
improves type identity with dependent types. llvm-svn: 71152
-
Chris Lattner authored
llvm-svn: 71148
-
Mike Stump authored
llvm-svn: 71145
-
Ted Kremenek authored
llvm-svn: 71135
-
Sebastian Redl authored
Back out r70506 (exception spec in AST) again. We won't have exception specs until we've had a lot more discussion. llvm-svn: 71125
-
- May 06, 2009
-
-
Daniel Dunbar authored
- x86 target feature handling should not be feature complete, even if the code quality is lacking. llvm-svn: 71123
-
Ted Kremenek authored
'BugReporterVisitor'. This simplifies callbacks from BugReporter to BugReports (via VisitNode). It also lays the foundation for arbitrary visitor "call backs" that can be registered to a BugReporterContext as a PathDiagnostic is constructed. These call backs can help operate as separate "experts" that can work on constructed pieces of a PathDiagnostic for which they possess special knowledge. llvm-svn: 71121
-
Daniel Dunbar authored
- Apologies for the extremely gross code duplication, I want to get this working and then decide how to get this information out of the back end. - This replaces -m[no-]sse4[12] by -m[no-]sse4, it appears gcc doesn't distinguish them? - -msse, etc. now properly disable/enable related features. - Don't always define __SSE3__... - The main missing functionality bit here is that we don't initialize the features based on the CPU for all -march options. llvm-svn: 71117
-
Ted Kremenek authored
- Update the old StoreManager::CastRegion to strip off 'ElementRegions' when casting to void* (Zhongxing: please validate) - Pass-by-reference argument invalidation logic in CFRefCount.cpp: - Strip ElementRegions when the ElementRegion is just a 'raw data' view on top of the underlying typed region. llvm-svn: 71094
-
Zhongxing Xu authored
- add a static function getTypeWidth(), which computes the width of a type with the help of TargetInfo. - no-outofbounds.c now passes for region store. llvm-svn: 71080
-
Zhongxing Xu authored
llvm-svn: 71076
-
Zhongxing Xu authored
future we would create ElementRegion directly on top of typeless regions. llvm-svn: 71075
-
Zhongxing Xu authored
llvm-svn: 71074
-
Daniel Dunbar authored
- Default to yonah on Darwin (to get SSE3). - Default to Pentium4 (32-bit) and x86-64 (64-bit) on non-Darwin. Welcome to the 21st century. llvm-svn: 71069
-
Anders Carlsson authored
llvm-svn: 71067
-
Douglas Gregor authored
llvm-svn: 71066
-
rdar://6860124Chris Lattner authored
This recognizes all the target-independent constant constraints that have target-specific meanings. llvm-svn: 71064
-
Daniel Dunbar authored
- This is a WIP... - This adds -march= handling to the driver, and fixes the defaulting of -mcpu on Darwin (which was using the wrong test). Instead of handling -m{sse, ...} in the driver, pass them to clang-cc as -target-feature [+-]name In clang-cc, communicate with the (clang) target to discover the legal features of a target, and the features which are enabled based on -mcpu. This is currently hardcoded just enough to not be a feature regression, we need to get this information from the backend's TableGen information somehow. This is used to construct the full list of features which are being used, which is in turn used to initialize the predefines. llvm-svn: 71061
-
Zhongxing Xu authored
llvm-svn: 71060
-