- Oct 08, 2012
-
-
Tobias Grosser authored
Contributed by: Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> llvm-svn: 165387
-
Peter Collingbourne authored
llvm-svn: 165386
-
Peter Collingbourne authored
llvm-svn: 165385
-
David Blaikie authored
llvm-svn: 165384
-
David Blaikie authored
llvm-svn: 165383
-
Craig Topper authored
llvm-svn: 165382
-
- Oct 07, 2012
-
-
Craig Topper authored
llvm-svn: 165381
-
Sean Silva authored
Found the fix on this page: http://permalink.gmane.org/gmane.comp.python.sphinx.devel/112 llvm-svn: 165380
-
Tobias Grosser authored
Scoplib only supports access functions, but not the more generic access relations. This commit now also supports access functions that where not directly expresses as A[sub] with sub = i + 5b, but with A[sub] with -sub = -i + (-5b). Test case to come. Contributed by: Dustin Feld <d3.feld@gmail.com> llvm-svn: 165379
-
Tobias Grosser authored
llvm-svn: 165378
-
Benjamin Kramer authored
Otherwise it will try to use SSE patterns and fail horribly if sse is disabled. Fixes PR14035. llvm-svn: 165377
-
Dmitry Vyukov authored
llvm-svn: 165376
-
Benjamin Kramer authored
llvm-svn: 165375
-
Benjamin Kramer authored
Patch by Leo Liu, test case by me. llvm-svn: 165374
-
Bill Wendling authored
contents of the Attributes class over to an AttributesImpl. llvm-svn: 165373
-
Bill Wendling authored
llvm-svn: 165372
-
Bill Wendling authored
llvm-svn: 165371
-
Rafael Espindola authored
llvm-svn: 165370
-
Bill Wendling authored
llvm-svn: 165369
-
Rafael Espindola authored
The darwin change should be a nop since Triple::getArchTypeForDarwinArchName doesn't know about amd64. If things like amd64-mingw32 are to be rejected, we should print a error earlier on instead of silently using the wrong abi. Remove old comment that looks out of place, this is "in clang". llvm-svn: 165368
-
rdar://problem/12423986Bob Wilson authored
Without this change, when the estimated cost for inlining a function with an "alwaysinline" attribute was lower than the inlining threshold, the getInlineCost function was returning that estimated cost rather than the special InlineCost::AlwaysInlineCost value. That is fine in the normal inlining case, but it can fail when the inliner considers the opportunity cost of inlining into an internal or linkonce-odr function. It may decide not to inline the always-inline function in that case. The fix here is just to make getInlineCost always return the special value for always-inline functions. I ran into this building clang with libc++. Tablegen failed to link because of an always-inline function that was not inlined. I have been unable to reduce the testcase down to a reasonable size. llvm-svn: 165367
-
Rafael Espindola authored
llvm-svn: 165366
-
- Oct 06, 2012
-
-
Dmitri Gribenko authored
will do the right thing for new[] allocated memory. Thanks David! llvm-svn: 165365
-
Dmitri Gribenko authored
characters. llvm-svn: 165364
-
Dmitri Gribenko authored
llvm-svn: 165363
-
Benjamin Kramer authored
GCC has always supported this on PowerPC and 4.8 supports it on all platforms, so it's a good idea to expose it in clang too. LLVM supports this on all targets. llvm-svn: 165362
-
Ted Kremenek authored
Place warn_impcast_different_enum_types in a new warning group, -Wenum-conversion, that is a subgroup of -Wconversion. llvm-svn: 165361
-
Ted Kremenek authored
llvm-svn: 165360
-
Ted Kremenek authored
llvm-svn: 165359
-
Jordan Rose authored
This should fix the bots. llvm-svn: 165358
-
Jason Molenda authored
if we have a kernel binary, set the target's architecture to match. Include the target's architecture in the ModuleSpec when we're searching for the kext binaries on the local system -- otherwise we won't get a specific slice of a fat file picked out for us and we won't use the returned Module correctly. Remove the redundant attempt to find a file on the local filesystem from this method. In ProcessGDBRemote::CheckForKernel(), if we have a kernel binary in memory, mark the canJIT as false. There is no jitting code in kernel debug sessions. llvm-svn: 165357
-
Jason Molenda authored
starting lldb I get % ./lldb -x Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/tmp/build/Debug/LLDB.framework/Versions/A/Resources/Python/lldb/__init__.py", line 9008 raise TypeError("No array item of type %s" % str(type(key))) ^ SyntaxError: invalid syntax Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined Traceback (most recent call last): File "<string>", line 1, in <module> NameError: name 'run_one_line' is not defined (lldb) I did a clean build and still got the problem so I'm backing this out until Enrico can look at it. llvm-svn: 165356
-
Jordan Rose authored
The Clang ASTs are a DAG, not a pure tree. However, ParentMap has to choose a single parent for each object. In the main (only?) cases in which the AST forms a DAG, it protects from multiple traversal by using OpaqueValueExprs. Previously, ParentMap would just unconditionally look through all OpaqueValueExprs when building its map. In order to make this behavior better for the analyzer's diagnostics, ParentMap was changed to not set a statement's parent if there already was one in the map. However, ParentMap is supposed to allow updating existing mappings by calling addStmt once again. This change makes the "transparency" of OpaqueValueExprs explicit, and disables it when it is not desired, rather than checking the current contents of the map. This new code seems like a big change, but it should actually have essentially the same performance as before. Only OpaqueValueExprs and their users (PseudoObjectExpr and BinaryConditionalOperator) will have any different behavior. There should be no user-visible functionality change, though a test has been added for the current behavior of BinaryConditionalOperator source locations and accompanying Xcode arrows (which are not so great...). llvm-svn: 165355
-
Jordan Rose authored
Some implicit statements, such as the implicit 'self' inserted for "free" Objective-C ivar access, have invalid source locations. If one of these statements is the location where an issue is reported, we'll now look at the enclosing statements for a valid source location. <rdar://problem/12446776> llvm-svn: 165354
-
Argyrios Kyrtzidis authored
llvm-svn: 165353
-
Argyrios Kyrtzidis authored
to not mess up with module building. It was not worth trying to combine indexing without preprocessing record and building modules with one because: -just importing a module/PCH that was built with a pp record, enables it anyway -the performance gain of indexing without the preprocessing record is insignificant. llvm-svn: 165352
-
Jack Carter authored
move from and to coprocessors 0 and 2. Contributer: Vladimir Medic llvm-svn: 165351
-
Jack Carter authored
Contributer: Vladimir Medic llvm-svn: 165350
-
Jim Ingham authored
Make the error message from regex commands use the command's syntax string if it exists rather than a generic but not at all helpful message about not matching some unknown regex... llvm-svn: 165349
-
Enrico Granata authored
llvm-svn: 165348
-