summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When we're passing a vector with an illegal type through memory on x86-64, ↵Eli Friedman2011-12-023-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 Dunbar2011-12-012-1/+17
| | | | llvm-svn: 145651
* platform/clang_darwin: Add asan runtime library configuration.Daniel Dunbar2011-12-011-0/+16
| | | | llvm-svn: 145649
* asan: Fill in integration with compiler-rt/make build.Daniel Dunbar2011-12-014-1/+55
| | | | llvm-svn: 145648
* asan: Suppress a -Wbitwise-op-parentheses.Daniel Dunbar2011-12-011-1/+1
| | | | llvm-svn: 145647
* build/make: Add rule for .cc files.Daniel Dunbar2011-12-011-0/+3
| | | | llvm-svn: 145646
* asan: #if 0 out some unused functions (we build with -Werror).Daniel Dunbar2011-12-011-0/+6
| | | | llvm-svn: 145645
* Process IDs (lldb::pid_t) and thread IDs (lldb::tid_t) are now 64 bit. This Greg Clayton2011-12-0117-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. ThanksChad Rosier2011-12-011-25/+29
| | | | | | for the suggestion, Eric. llvm-svn: 145643
* Fix build by not assuming TLI is guaranteed. Will have to track down cases whereChad Rosier2011-12-011-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-visibleDouglas Gregor2011-12-0112-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 Rosier2011-12-012-23/+103
| | | | | | rdar://10500969 llvm-svn: 145639
* TableGen: fix CMake build s'moreDylan Noblesmith2011-12-011-0/+1
| | | | | | Oops, missed another missing file from r145629. llvm-svn: 145636
* CodeGen: fix CMake buildDylan Noblesmith2011-12-011-0/+1
| | | | | | Missing file from r145629. llvm-svn: 145634
* ExecutionEngine: honor optimization levelDylan Noblesmith2011-12-014-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 slightlyKostya Serebryany2011-12-0110-22/+39
| | | | llvm-svn: 145631
* Last bit of TargetLibraryInfo propagation. Also fixed a case for TargetDataChad Rosier2011-12-017-39/+78
| | | | | | | where it appeared beneficial to pass. More of rdar://10500969 llvm-svn: 145630
* Add a deterministic finite automaton based packetizer for VLIW architecturesAnshuman Dasgupta2011-12-017-0/+756
| | | | llvm-svn: 145629
* Modified clients of ClangASTImporter to be more robustSean Callanan2011-12-012-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 Blaikie2011-12-011-9/+5
| | | | llvm-svn: 145627
* Protect a few log->Printf calls with "if (log)"...Jim Ingham2011-12-011-5/+7
| | | | llvm-svn: 145625
* Quash a whole bunch of warningsHoward Hinnant2011-12-0140-322/+380
| | | | llvm-svn: 145624
* llvm-config: Replace with C++ version (was llvm-config-2).Daniel Dunbar2011-12-0117-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 wrongDaniel Dunbar2011-12-011-2/+1
| | | | | | directory when running from a build directory. llvm-svn: 145622
* Dummy commit to check commit access.Sanjoy Das2011-12-011-1/+1
| | | | llvm-svn: 145619
* Improved fix for abs(val) != 0 to check other similar case. Also fixed ↵Pete Cooper2011-12-012-8/+22
| | | | | | style issues and confusing comment llvm-svn: 145618
* [asan] two minor fixes: use UnreachableInst after the neverreturn function ↵Kostya Serebryany2011-12-011-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 theDavid Chisnall2011-12-011-0/+2
| | | | | | old dispatch mechanism when I introduced the new one. llvm-svn: 145609
* Add missing functions.Chad Rosier2011-12-011-1/+4
| | | | llvm-svn: 145608
* Autodetect bulldozers.Benjamin Kramer2011-12-011-0/+2
| | | | llvm-svn: 145607
* Add support for AMD's bulldozer.Benjamin Kramer2011-12-011-0/+26
| | | | llvm-svn: 145606
* Add a few more functions to TargetLibraryInfo. More of rdar://10500969.Chad Rosier2011-12-012-1/+52
| | | | llvm-svn: 145596
* fix broken tagChris Lattner2011-12-011-1/+1
| | | | llvm-svn: 145590
* Introduce the notion of name visibility into modules. For a givenDouglas Gregor2011-12-0110-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://10508828Anna Zaks2011-12-012-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'tDouglas Gregor2011-12-012-5/+12
| | | | | | typo-correct to ourselves. llvm-svn: 145583
* Revert commit 145449 (ddunbar) since it is breaking the dragonegg buildbots.Duncan Sands2011-12-0117-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. Spencer2011-12-012-7/+22
| | | | llvm-svn: 145581
* Change the Microsoft __interface keyword to be an alias for struct (not ↵Francois Pichet2011-12-012-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. MakeEric Christopher2011-12-012-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 Blaikie2011-12-016-0/+15
| | | | llvm-svn: 145578
* Fix typo.Ted Kremenek2011-12-011-1/+1
| | | | llvm-svn: 145577
* [analyzer] Refactor checkers to use helper function for getting callee Decl ↵Anna Zaks2011-12-0114-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 Kremenek2011-12-012-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 Friedman2011-12-014-7/+35
| | | | | | the arguments is an AVX vector. llvm-svn: 145574
* Pass AVX vectors which are arguments to varargs functions on the stack. ↵Eli Friedman2011-12-012-4/+24
| | | | | | <rdar://problem/10463281>. llvm-svn: 145573
* Removed use of grep from test and moved it to be with other icmp testsPete Cooper2011-12-012-10/+11
| | | | llvm-svn: 145570
* Picked up a new revision of Clang to pull in Objective-CSean Callanan2011-12-016-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 Clayton2011-12-011-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 Cooper2011-12-012-0/+24
| | | | | | | | (val != 0) == (-val != 0) so "abs(val) != 0" becomes "val != 0" Fixes <rdar://problem/10482509> llvm-svn: 145563
OpenPOWER on IntegriCloud