Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | When we're passing a vector with an illegal type through memory on x86-64, ↵ | Eli Friedman | 2011-12-02 | 3 | -13/+48 |
| | | | | | | use byval so we're sure the backend does the right thing. Fixes va_arg with illegal vectors and an obscure ABI mismatch with __m64 vectors. llvm-svn: 145652 | ||||
* | Driver/Darwin: Add ASAN runtime library link support. | Daniel Dunbar | 2011-12-01 | 2 | -1/+17 |
| | | | | llvm-svn: 145651 | ||||
* | platform/clang_darwin: Add asan runtime library configuration. | Daniel Dunbar | 2011-12-01 | 1 | -0/+16 |
| | | | | llvm-svn: 145649 | ||||
* | asan: Fill in integration with compiler-rt/make build. | Daniel Dunbar | 2011-12-01 | 4 | -1/+55 |
| | | | | llvm-svn: 145648 | ||||
* | asan: Suppress a -Wbitwise-op-parentheses. | Daniel Dunbar | 2011-12-01 | 1 | -1/+1 |
| | | | | llvm-svn: 145647 | ||||
* | build/make: Add rule for .cc files. | Daniel Dunbar | 2011-12-01 | 1 | -0/+3 |
| | | | | llvm-svn: 145646 | ||||
* | asan: #if 0 out some unused functions (we build with -Werror). | Daniel Dunbar | 2011-12-01 | 1 | -0/+6 |
| | | | | llvm-svn: 145645 | ||||
* | Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This | Greg Clayton | 2011-12-01 | 17 | -47/+47 |
| | | | | | | | | will allow us to represent a process/thread ID using a pointer for the OS plug-ins where they might want to represent the process or thread ID using the address of the process or thread structure. llvm-svn: 145644 | ||||
* | Abuse of mass replace isn't warranted even when the build is failing. Thanks | Chad Rosier | 2011-12-01 | 1 | -25/+29 |
| | | | | | | for the suggestion, Eric. llvm-svn: 145643 | ||||
* | Fix build by not assuming TLI is guaranteed. Will have to track down cases where | Chad Rosier | 2011-12-01 | 1 | -24/+23 |
| | | | | | | TLI isn't being passed to ensure we don't miss opportunities to fold calls. llvm-svn: 145641 | ||||
* | Implement name hiding for declarations deserialized from a non-visible | Douglas Gregor | 2011-12-01 | 12 | -7/+117 |
| | | | | | | module. When that module becomes visible, so do those declarations. llvm-svn: 145640 | ||||
* | Prevent library calls from being folded if -fno-builtin has been specified. | Chad Rosier | 2011-12-01 | 2 | -23/+103 |
| | | | | | | rdar://10500969 llvm-svn: 145639 | ||||
* | TableGen: fix CMake build s'more | Dylan Noblesmith | 2011-12-01 | 1 | -0/+1 |
| | | | | | | Oops, missed another missing file from r145629. llvm-svn: 145636 | ||||
* | CodeGen: fix CMake build | Dylan Noblesmith | 2011-12-01 | 1 | -0/+1 |
| | | | | | | Missing file from r145629. llvm-svn: 145634 | ||||
* | ExecutionEngine: honor optimization level | Dylan Noblesmith | 2011-12-01 | 4 | -8/+10 |
| | | | | | | | | | | It was getting ignored after r144788. Also fix an accidental implicit cast from the OptLevel enum to an optional bool argument. MSVC warned on this, but gcc didn't. llvm-svn: 145633 | ||||
* | [asan] flatten the asan-rt build slightly | Kostya Serebryany | 2011-12-01 | 10 | -22/+39 |
| | | | | llvm-svn: 145631 | ||||
* | Last bit of TargetLibraryInfo propagation. Also fixed a case for TargetData | Chad Rosier | 2011-12-01 | 7 | -39/+78 |
| | | | | | | | where it appeared beneficial to pass. More of rdar://10500969 llvm-svn: 145630 | ||||
* | Add a deterministic finite automaton based packetizer for VLIW architectures | Anshuman Dasgupta | 2011-12-01 | 7 | -0/+756 |
| | | | | llvm-svn: 145629 | ||||
* | Modified clients of ClangASTImporter to be more robust | Sean Callanan | 2011-12-01 | 2 | -1/+60 |
| | | | | | | | | | | in the face of failures to import types, since blithely passing on NULL types can sometimes lead to trouble. Also eliminated a use of getAs and replaced it with dyn_cast, which is more robust. llvm-svn: 145628 | ||||
* | Fix unreachable return & simplify some branches. | David Blaikie | 2011-12-01 | 1 | -9/+5 |
| | | | | llvm-svn: 145627 | ||||
* | Protect a few log->Printf calls with "if (log)"... | Jim Ingham | 2011-12-01 | 1 | -5/+7 |
| | | | | llvm-svn: 145625 | ||||
* | Quash a whole bunch of warnings | Howard Hinnant | 2011-12-01 | 40 | -322/+380 |
| | | | | llvm-svn: 145624 | ||||
* | llvm-config: Replace with C++ version (was llvm-config-2). | Daniel Dunbar | 2011-12-01 | 17 | -1302/+425 |
| | | | | | | - Another reapply of r144300, with hopefully one last fix. llvm-svn: 145623 | ||||
* | llvm-config-2: Fix --cflags and --includedir which pointed at the wrong | Daniel Dunbar | 2011-12-01 | 1 | -2/+1 |
| | | | | | | directory when running from a build directory. llvm-svn: 145622 | ||||
* | Dummy commit to check commit access. | Sanjoy Das | 2011-12-01 | 1 | -1/+1 |
| | | | | llvm-svn: 145619 | ||||
* | Improved fix for abs(val) != 0 to check other similar case. Also fixed ↵ | Pete Cooper | 2011-12-01 | 2 | -8/+22 |
| | | | | | | style issues and confusing comment llvm-svn: 145618 | ||||
* | [asan] two minor fixes: use UnreachableInst after the neverreturn function ↵ | Kostya Serebryany | 2011-12-01 | 1 | -2/+3 |
| | | | | | | call; use report_fatal_error when blacklist file can not be found llvm-svn: 145611 | ||||
* | Fix -forwardingTargetForSelector: (GNUstep runtime) which was broken for the | David Chisnall | 2011-12-01 | 1 | -0/+2 |
| | | | | | | old dispatch mechanism when I introduced the new one. llvm-svn: 145609 | ||||
* | Add missing functions. | Chad Rosier | 2011-12-01 | 1 | -1/+4 |
| | | | | llvm-svn: 145608 | ||||
* | Autodetect bulldozers. | Benjamin Kramer | 2011-12-01 | 1 | -0/+2 |
| | | | | llvm-svn: 145607 | ||||
* | Add support for AMD's bulldozer. | Benjamin Kramer | 2011-12-01 | 1 | -0/+26 |
| | | | | llvm-svn: 145606 | ||||
* | Add a few more functions to TargetLibraryInfo. More of rdar://10500969. | Chad Rosier | 2011-12-01 | 2 | -1/+52 |
| | | | | llvm-svn: 145596 | ||||
* | fix broken tag | Chris Lattner | 2011-12-01 | 1 | -1/+1 |
| | | | | llvm-svn: 145590 | ||||
* | Introduce the notion of name visibility into modules. For a given | Douglas Gregor | 2011-12-01 | 10 | -13/+89 |
| | | | | | | | | | | | | | | (sub)module, all of the names may be hidden, just the macro names may be exposed (for example, after the preprocessor has seen the import of the module but the parser has not), or all of the names may be exposed. Importing a module makes its names, and the names in any of its non-explicit submodules, visible to name lookup (transitively). This commit only introduces the notion of name visible and marks modules and submodules as visible when they are imported. The actual name-hiding logic in the AST reader will follow (along with test cases). llvm-svn: 145586 | ||||
* | [analyzer] Make KeychainAPI checker less aggressive. radar://10508828 | Anna Zaks | 2011-12-01 | 2 | -4/+22 |
| | | | | | | We trigger an error if free is called after a possibly failed allocation. Do not trigger the error if we know that the buffer is not null. llvm-svn: 145584 | ||||
* | When typo-correction an Objective-C superclass name, don't | Douglas Gregor | 2011-12-01 | 2 | -5/+12 |
| | | | | | | typo-correct to ourselves. llvm-svn: 145583 | ||||
* | Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots. | Duncan Sands | 2011-12-01 | 17 | -426/+1303 |
| | | | | | | | | Original commit message: llvm-config: Replace with C++ version (was llvm-config-2). - Reapply of r144300, with lots of fixes/migration easement in between. llvm-svn: 145582 | ||||
* | Add Microsoft mangling of constructors and destructors. Patch by Dmitry! | Michael J. Spencer | 2011-12-01 | 2 | -7/+22 |
| | | | | llvm-svn: 145581 | ||||
* | Change the Microsoft __interface keyword to be an alias for struct (not ↵ | Francois Pichet | 2011-12-01 | 2 | -1/+6 |
| | | | | | | class) since members are public by default. llvm-svn: 145580 | ||||
* | For 64-bit the rest of the general regs are ok for the q constraint. Make | Eric Christopher | 2011-12-01 | 2 | -1/+24 |
| | | | | | | | | sure we can emit both the high and low versions of those registers. Fixes rdar://10392864 llvm-svn: 145579 | ||||
* | Add some missing anchors. | David Blaikie | 2011-12-01 | 6 | -0/+15 |
| | | | | llvm-svn: 145578 | ||||
* | Fix typo. | Ted Kremenek | 2011-12-01 | 1 | -1/+1 |
| | | | | llvm-svn: 145577 | ||||
* | [analyzer] Refactor checkers to use helper function for getting callee Decl ↵ | Anna Zaks | 2011-12-01 | 14 | -111/+52 |
| | | | | | | | | and name. We are getting name of the called function or it's declaration in a few checkers. Refactor them to use the helper function in the CheckerContext. llvm-svn: 145576 | ||||
* | When analyzing a C++ method (without a specific caller), assume 'this' is ↵ | Ted Kremenek | 2011-12-01 | 2 | -17/+48 |
| | | | | | | non-null. Fixes <rdar://problem/10508787>. llvm-svn: 145575 | ||||
* | Don't use a varargs convention for calls unprototyped functions where one of ↵ | Eli Friedman | 2011-12-01 | 4 | -7/+35 |
| | | | | | | the arguments is an AVX vector. llvm-svn: 145574 | ||||
* | Pass AVX vectors which are arguments to varargs functions on the stack. ↵ | Eli Friedman | 2011-12-01 | 2 | -4/+24 |
| | | | | | | <rdar://problem/10463281>. llvm-svn: 145573 | ||||
* | Removed use of grep from test and moved it to be with other icmp tests | Pete Cooper | 2011-12-01 | 2 | -10/+11 |
| | | | | llvm-svn: 145570 | ||||
* | Picked up a new revision of Clang to pull in Objective-C | Sean Callanan | 2011-12-01 | 6 | -14/+15 |
| | | | | | | | | | | | | | | | | | enhancements. With these enhancements, the return values of Objective-C methods with unknown return types can be implicitly cast to id for the purpose of making method calls. So what would have required this: (int)[(id)[ClassWithNoDebugInfo methodReturningObject] methodReturningInt] can now be written as: (int)[[ClassWithNoDebugInfo methodReturningObject] methodReturningInt] llvm-svn: 145567 | ||||
* | <rdar://problem/10507811> | Greg Clayton | 2011-12-01 | 1 | -1/+10 |
| | | | | | | | Avoid a crash for the new DW_OP_stack_value and DW_OP_implicit_value opcodes that was due to an assertion. llvm-svn: 145564 | ||||
* | Added instcombine pattern to spot comparing -val or val against 0. | Pete Cooper | 2011-12-01 | 2 | -0/+24 |
| | | | | | | | | (val != 0) == (-val != 0) so "abs(val) != 0" becomes "val != 0" Fixes <rdar://problem/10482509> llvm-svn: 145563 |