- Aug 01, 2013
-
-
Fariborz Jahanian authored
retainable pointer is passed to an audited CF function expecting CF type. // rdar://14569171 llvm-svn: 187543
-
Michael Sartain authored
CR: mkopec llvm-svn: 187542
-
Hans Wennborg authored
This depends on LLVM r187537. The SUPPORT_ALIASARGS macro will be removed once all option parsing clients have been updated. llvm-svn: 187541
-
Daniel Jasper authored
With this patch, clang-format can be configured to: * not indent in namespace at all (former behavior). * indent in namespace as in other blocks. * indent only in inner namespaces (as required by WebKit style). Also fix alignment of access specifiers in WebKit style. Patch started by Marek Kurdej. Thank you! llvm-svn: 187540
-
Rui Ueyama authored
llvm-svn: 187539
-
Hans Wennborg authored
This depends on LLVM r187537. The SUPPORT_ALIASARGS macro will be removed once all option parsing clients have been updated. llvm-svn: 187538
-
Hans Wennborg authored
This makes option aliases more powerful by enabling them to pass along arguments to the option they're aliasing. For example, if we have a joined option "-foo=", we can now specify a flag option "-bar" to be an alias of that, with the argument "baz". This is especially useful for the cl.exe compatible clang driver, where many options are aliases. For example, this patch enables us to alias "/Ox" to "-O3" (-O is a joined option), and "/WX" to "-Werror" (again, -W is a joined option). Differential Revision: http://llvm-reviews.chandlerc.com/D1245 llvm-svn: 187537
-
Hans Wennborg authored
llvm-svn: 187536
-
Nadav Rotem authored
llvm-svn: 187535
-
Rui Ueyama authored
This reverts commit r187390 because we should not handle argv's quotes ourselves. In Windows, unlike Unix, quotes are not processed by the shell. Instead the C startup routine parses it as described in http://msdn.microsoft.com/en-us/library/a1y7w461.aspx and pass the results to main(). So, at the time when the control reaches main(), quotes that should be removed has already been removed. We still need to handle quotes in the response file and in .drectve section ourselves. That will be addressed in different patches. llvm-svn: 187534
-
- Jul 31, 2013
-
-
Matt Kopec authored
Also, rework the signed types test to check for signed or char type in the output as char is signed by default. llvm-svn: 187533
-
Fariborz Jahanian authored
passing a retainable object arg to a CF audited function expecting a CF object type. Issue a normal type mismatch diagnostic. This is wip // rdar://14569171 llvm-svn: 187532
-
Andrew Trick authored
llvm-svn: 187531
-
Kevin Enderby authored
While the .td entry is nice and all, it takes a pretty gross hack in ARMAsmParser::ParseInstruction() because of handling of other "subs" instructions to get it to match. Ran it by Jim Grosbach and he said it was about what he expected to make this work given the existing code. rdar://14214063 llvm-svn: 187530
-
Marshall Clow authored
llvm-svn: 187529
-
Reid Kleckner authored
This change unifies the logic for template instantiation of methods and functions declared with typedefs. It ensures that SubstFunctionType() always fills the Params out param with non-null ParmVarDecls or returns null. Reviewers: rsmith Differential Revision: http://llvm-reviews.chandlerc.com/D1135 llvm-svn: 187528
-
Hans Wennborg authored
This adds a few more clang-cl options. It also exposes two core clang options to the clang-cl mode: we need to be able to claim --driver_mode so it doesn't show up as unused in cl mode, and we need -### for tests. Differential Revision: http://llvm-reviews.chandlerc.com/D1232 llvm-svn: 187527
-
Tom Stellard authored
This reverts commit 98ce62780ea7185ba710868bf83c8077e8d7f6d6. llvm-svn: 187526
-
Tom Stellard authored
This reverts commit 2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0. llvm-svn: 187525
-
Tom Stellard authored
This reverts commit 3f1de26cb5cc0543a6a1d71259a7a39d97139051. llvm-svn: 187524
-
Daniel Malea authored
Fix lock hierarchy violation in Process (lock ordering of ThreadList mutex and StackFrameList mutex) - this fix ensures the ThreadList mutex is always locked before the StackFrameList mutex Situation where deadlock could occur (without this fix): Thread 1 is in Process::WillResume and locks the ThreadList mutex (on entry), and subsequently calls StackFrameList::Clear() which locks the StackFrameList mutex. Meanwhile, thread 2 is in Process::RunThreadPlan and calls Thread::SetSelectedFrame() (which locks the StackFrameList mutex) before calling GetSelectedThread (which attempts to lock the ThreadList mutex) In my testing on both Linux and Mac OS X, I was unable to reproduce any hangs with this patch applied. llvm-svn: 187522
-
Kaelyn Uhrain authored
llvm-svn: 187521
-
Matt Kopec authored
Patch from Andy Kaylor. llvm-svn: 187520
-
Ashok Thirumurthi authored
TODO: Improve coverage of SBTypeMember and of 'target module dump'. llvm-svn: 187519
-
Marshall Clow authored
llvm-svn: 187518
-
Marshall Clow authored
llvm-svn: 187517
-
Vincent Lejeune authored
If we merge vector when a vector is used, it will generate an artificial antidependency that can prevent 2 tex/vtx instructions to use the same clause and thus generate extra clauses that reduce performance. There is no test case as such situation is really hard to predict. llvm-svn: 187516
-
Vincent Lejeune authored
llvm-svn: 187515
-
Vincent Lejeune authored
llvm-svn: 187514
-
Vincent Lejeune authored
There are a lot of restrictions on instruction groups that contain LDS instructions, so for now we will be conservative and not packetize anything else with them. llvm-svn: 187513
-
Vincent Lejeune authored
llvm-svn: 187512
-
Vincent Lejeune authored
llvm-svn: 187511
-
Vincent Lejeune authored
We were using two instructions for similar purpose : break and predicated break. Only predicated_break was emitted and it was lowered at R600ControlFlowFinalizer to JUMP;CF_BREAK;POP. This commit simplify the situation by making AMDILCFGStructurizer emit IF_PREDICATE;BREAK;ENDIF; instead of predicated_break (which is now removed). There is no functionality change. llvm-svn: 187510
-
Fariborz Jahanian authored
to avoid future false positives. // rdar://14569171 llvm-svn: 187509
-
Fariborz Jahanian authored
for parameters passed to CF audited functions to be used for better diagnostics. Current set but unused. // rdar://14569171 llvm-svn: 187508
-
Matt Kopec authored
llvm-svn: 187507
-
Matt Arsenault authored
llvm-svn: 187506
-
Rui Ueyama authored
llvm-svn: 187505
-
Kaelyn Uhrain authored
changing '->' to '.' when there is no operator-> defined for a class. llvm-svn: 187504
-
Fariborz Jahanian authored
out of ImpCastExprToType and to the caller site as appropriate. This is in prep. to do more work for // rdar://14569171 llvm-svn: 187503
-