summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use -no-integrated-as only on ARM. The X86 and X86-64 integrated as have beenRafael Espindola2012-02-241-1/+4
| | | | | | the default for clang for some time now and can handle compiler-rt. llvm-svn: 151367
* [ASan] Intercept CreateThread on WindowsTimur Iskhodzhanov2012-02-246-16/+64
| | | | llvm-svn: 151366
* Teach GVN that x+y is the same as y+x and that x<y is the same as y>x.Duncan Sands2012-02-242-1/+39
| | | | llvm-svn: 151365
* SDAGBuilder: Remove register sets that were never read and prune dead code ↵Benjamin Kramer2012-02-241-63/+3
| | | | | | surrounding it. llvm-svn: 151364
* test commit. removing unnecessary whitespace.Kristof Beyls2012-02-241-1/+1
| | | | llvm-svn: 151363
* test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll: Fixup to add -march=x86.NAKAMURA Takumi2012-02-241-1/+1
| | | | | | -mcpu does not choose arch automatically, on non-x86 hosts. llvm-svn: 151362
* Remove dead code.Richard Osborne2012-02-241-3/+1
| | | | | | Patch by Ahmed Charles llvm-svn: 151360
* Revert r151357. That unreachable is reachable...Nick Lewycky2012-02-241-11/+8
| | | | llvm-svn: 151359
* Workaround a miscompilation by gcc-4.3 that showed up as a failureDuncan Sands2012-02-241-1/+1
| | | | | | of the StringRef.Split2 unittest on 32 bit machines. llvm-svn: 151358
* Silence gcc warnings pointing out that CharByteWidth could be usedNick Lewycky2012-02-241-8/+11
| | | | | | uninitialized. While there, restyle this function! No functionality change. llvm-svn: 151357
* Sink variable into assertMatt Beaumont-Gay2012-02-241-2/+1
| | | | llvm-svn: 151356
* ScheduleDAGInstrs.h:155: warning: suggest parentheses around `&&' within `||'.Nick Lewycky2012-02-241-1/+1
| | | | llvm-svn: 151355
* Remove some trivial uses of hasTrivialCopyConstructor() andDouglas Gregor2012-02-241-2/+2
| | | | | | hasTrivialMoveConstructor(). llvm-svn: 151354
* Kill a spurious use of hasTrivialDefaultConstructor()Douglas Gregor2012-02-241-2/+1
| | | | llvm-svn: 151353
* Implement a new type trait __is_trivially_constructible(T, Args...)Douglas Gregor2012-02-2433-6/+656
| | | | | | | | | | | | | | | | that provides the behavior of the C++11 library trait std::is_trivially_constructible<T, Args...>, which can't be implemented purely as a library. Since __is_trivially_constructible can have zero or more arguments, I needed to add Yet Another Type Trait Expression Class, this one handling arbitrary arguments. The next step will be to migrate UnaryTypeTrait and BinaryTypeTrait over to this new, more general TypeTrait class. Fixes the Clang side of <rdar://problem/10895483> / PR12038. llvm-svn: 151352
* Make PathDiagnosticBuilder sensitive to varying LocationContexts, thus ↵Ted Kremenek2012-02-242-59/+24
| | | | | | fixing a bug in the inlining diagnostics where the wrong location could be used. llvm-svn: 151349
* PostRA sched: speed up physreg tracking by not abusing SparseSet.Andrew Trick2012-02-242-35/+80
| | | | llvm-svn: 151348
* Remove stray path in test file.Ted Kremenek2012-02-241-1/+0
| | | | llvm-svn: 151347
* Reapply r151317, but when computing the PathDiagnostic profile and size keep ↵Ted Kremenek2012-02-248-170/+380
| | | | | | | | into account the nested structure. Also fix a problem with how inlining impacted Plist diagnostics, and adjust some ranges in the Plist output due to richer information. llvm-svn: 151346
* ARM Thumb symbol references in assembly need the low bit set.Jim Grosbach2012-02-241-0/+5
| | | | | | | | | Add support for a missed case when the symbols in a difference expression are in the same section but not the same fragment. rdar://10924681 llvm-svn: 151345
* Added the new way we will eventually do all attaches and launches. First clientsGreg Clayton2012-02-247-5/+941
| | | | | | | | | | | | | | | | | | | | | will fill out either a SBLaunchInfo or SBAttachInfo class, then call: SBProcess SBTarget::Launch (SBLaunchInfo &, SBError &); SBProcess SBTarget::Attach (SBAttachInfo &, SBError &); The attach is working right now and allows the ability to set many filters such as the parent process ID, the user/group ID, the effective user/group ID, and much more. The launch is not yet working, but I will get this working soon. By changing our launch and attach calls to take an object, it allows us to add more capabilities to launching and attaching without having to have launch and attach functions that take more and more arguments. Once this is all working we will deprecated the older launch and attach fucntions and eventually remove them. llvm-svn: 151344
* Fix test for non-block-default platforms.David Blaikie2012-02-241-2/+2
| | | | llvm-svn: 151343
* Turn avx insert intrinsic calls into INSERT_SUBVECTOR DAG nodes and remove ↵Pete Cooper2012-02-243-9/+63
| | | | | | duplicate patterns for selecting the intrinsics llvm-svn: 151342
* comment fixJia Liu2012-02-241-1/+1
| | | | llvm-svn: 151341
* some comment fixJia Liu2012-02-241-3/+3
| | | | llvm-svn: 151340
* comment fixJia Liu2012-02-241-1/+1
| | | | llvm-svn: 151339
* Revert r151317 - Rework PathDiagnostics creation.. - to appease buildbots.Chad Rosier2012-02-247-309/+161
| | | | llvm-svn: 151338
* replace a balnk with -Jia Liu2012-02-241-1/+1
| | | | llvm-svn: 151337
* <rdar://problem/10103468>Greg Clayton2012-02-2490-1027/+1357
| | | | | | | | | | | | | | | | | | | | | | | | | I started work on being able to add symbol files after a debug session had started with a new "target symfile add" command and quickly ran into problems with stale Address objects in breakpoint locations that had lldb_private::Section pointers into modules that had been removed or replaced. This also let to grabbing stale modules from those sections. So I needed to thread harded the Address, Section and related objects. To do this I modified the ModuleChild class to now require a ModuleSP on initialization so that a weak reference can created. I also changed all places that were handing out "Section *" to have them hand out SectionSP. All ObjectFile, SymbolFile and SymbolVendors were inheriting from ModuleChild so all of the find plug-in, static creation function and constructors now require ModuleSP references instead of Module *. Address objects now have weak references to their sections which can safely go stale when a module gets destructed. This checkin doesn't complete the "target symfile add" command, but it does get us a lot clioser to being able to do such things without a high risk of crashing or memory corruption. llvm-svn: 151336
* If the Address of a variable is an argument then treat the entireEric Christopher2012-02-242-3/+134
| | | | | | | | | | | variable declaration as an argument because we want that address anyhow for our debug information. This seems to fix rdar://9965111, at least we have more debug information than before and from reading the assembly it appears to be the correct location. llvm-svn: 151335
* Tabs, formatting and long lines oh my!Eric Christopher2012-02-241-4/+6
| | | | llvm-svn: 151334
* Add a class method HasWatchpointOccurred() to inspect the "method of debug ↵Johnny Chen2012-02-242-4/+32
| | | | | | | | entry" field of the DSCR to check whether it was because of watchpoint occurred. llvm-svn: 151333
* 80 columns of Mips InstPrinter MakefileJia Liu2012-02-241-1/+1
| | | | llvm-svn: 151332
* Switch ARM target to register masks.Jakob Stoklund Olesen2012-02-245-35/+25
| | | | | | | | | | | | | I'll let the buildbots determine the compile time improvements from this change, but 464.h264ref has 5% faster codegen at -O2. This patch does cause some assembly changes. Branch folding can make different decisions about calls with dead return values. CriticalAntiDepBreaker may choose different registers because its liveness tracking is affected. MachineCopyPropagation may sometimes leave a dead copy behind. llvm-svn: 151331
* [PCH] When keeping track of top-level decls for "targeted deserialization"Argyrios Kyrtzidis2012-02-243-0/+16
| | | | | | | | make sure we don't mistake ParmVarDecls for top-level decls. Fixes rdar://10920009. llvm-svn: 151330
* Make sure the regs are low regs for tMUL size reduction.Jim Grosbach2012-02-241-1/+6
| | | | llvm-svn: 151318
* Rework PathDiagnostic creation so that call stacks are captured by a nested ↵Ted Kremenek2012-02-247-161/+309
| | | | | | PathDiagnosticCallPiece. llvm-svn: 151317
* Add an ivar test for modern objc abi translator.Fariborz Jahanian2012-02-241-0/+28
| | | | llvm-svn: 151316
* Thumb2 size reduction fix for tied operands of tMUL.Jim Grosbach2012-02-244-6/+18
| | | | | | | | | The tied source operand of tMUL is the second source operand, not the first like every other two-address thumb instruction. Special case it in the size reduction pass to make sure we create the tMUL instruction properly. llvm-svn: 151315
* Make test works with FileCheck.Fariborz Jahanian2012-02-241-1/+2
| | | | llvm-svn: 151314
* EE/Interpreter/ExternalFunctions.cpp: Staticize lle_X_() entries. They can ↵NAKAMURA Takumi2012-02-241-0/+8
| | | | | | be mapped in FuncNames[] at the initialization. llvm-svn: 151313
* EE/Interpreter/ExternalFunctions.cpp: Prune "C" linkage to suppress warnings ↵NAKAMURA Takumi2012-02-241-22/+0
| | | | | | | | | | | | with -Wreturn-type (and MSC's w4190). In historical reason, Interpreter's external entries had prefix "lle_X_" as C linkage, even for well-known entries in EE/Interpreter. Now, at least on ToT, they are resolved via FuncNames[] mapper. We will not need their symbols are expected to be exported any more. Clang r150128 has introduced the warning <"%0 has C-linkage specified, but returns user-defined type %1 which is incompatible with C">. llvm-svn: 151312
* Reapply r151172 - Unwind path cleanup for array new list initializers - with aChad Rosier2012-02-242-7/+73
| | | | | | test case that only runs on debug builds. llvm-svn: 151311
* When emitting a cmp with 0 for a lowered select, mask out the highDan Gohman2012-02-242-0/+24
| | | | | | | bits of the value carying the boolean condition, as their contents are undefined. This fixes rdar://10887484. llvm-svn: 151310
* commenting parts of std::map test case which would make the test case fail ↵Enrico Granata2012-02-231-8/+20
| | | | | | when using TOT clang, but succeed on older compiler releases llvm-svn: 151309
* Release not for ARM integrated assembler support.Jim Grosbach2012-02-231-1/+21
| | | | llvm-svn: 151308
* Handle "#pragma GCC visibility" in a few more places. Switch over "#pragma ↵Eli Friedman2012-02-239-16/+115
| | | | | | | | pack" to use the same handling that gcc does. Fixes <rdar://problem/10871094> and <rdar://problem/10893316>. (Hopefully, common usage of these pragmas isn't irregular enough to break our current handling. Doug has ideas for a more crazy approach if necessary.) llvm-svn: 151307
* Updated LLVM to take some fixes that make theSean Callanan2012-02-233-22/+10
| | | | | | | | | | | Intel disassembler usable. Also flipped the switch: we are now exclusively using Disassembler.h instead of EnhancedDisassembly.h for all disassembly in LLDB. llvm-svn: 151306
* Add comments about address word offset and the calculation of byte address ↵Johnny Chen2012-02-231-2/+18
| | | | | | select mask for WCR. llvm-svn: 151305
* fixing a syntax error with objc_runtime.pyEnrico Granata2012-02-231-3/+45
| | | | llvm-svn: 151304
OpenPOWER on IntegriCloud