summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [Sanitizer] remove unused fieldAlexey Samsonov2012-09-062-7/+0
| | | | llvm-svn: 163296
* Remove duplicated helper functionMichael Liao2012-09-061-17/+1
| | | | llvm-svn: 163295
* [ASan] Nuke output_tests/ in favor of lit_tests/. Stop using Makefile.old.Alexey Samsonov2012-09-0623-615/+15
| | | | llvm-svn: 163294
* Use iPTR instead of i32 for extract_subvector/insert_subvector index in ↵Craig Topper2012-09-062-78/+78
| | | | | | lowering and patterns. This makes it consistent with the incoming DAG nodes from the DAG builder. llvm-svn: 163293
* Add patterns for converting stores of subvector_extracts of lower 128-bits ↵Craig Topper2012-09-062-9/+91
| | | | | | of a 256-bit vector to VMOVAPSmr/VMOVUPSmr. llvm-svn: 163292
* [asan] increase the maximal size of malloc/free stackKostya Serebryany2012-09-061-1/+1
| | | | llvm-svn: 163291
* Revert "Enable MCJIT tests on Darwin."Jim Grosbach2012-09-061-1/+1
| | | | | | | | This reverts commit 163278. Works OK on x86_64, but not i386. Will re-enable when that's cleared up. llvm-svn: 163290
* Whitespace.NAKAMURA Takumi2012-09-061-2/+2
| | | | llvm-svn: 163289
* Unix/Signals.inc: Fix a typo. Thanks to Dani Berg!NAKAMURA Takumi2012-09-061-1/+1
| | | | llvm-svn: 163288
* There are some Mips instructions that are lowered by the Jack Carter2012-09-066-95/+124
| | | | | | | | | | | | | | | | assembler such as shifts greater than 32. In the case of direct object, the code gen needs to do this lowering since the assembler is not involved. With the advent of the llvm-mc assembler, it also needs to do the same lowering. This patch makes that specific lowering code accessible to both the direct object output and the assembler. This patch does not affect generated output. llvm-svn: 163287
* Fix a mistake in an HTML example code snippet.Jordan Rose2012-09-061-1/+1
| | | | | | Caught by Kurt Arnlund! llvm-svn: 163286
* For the eEncodingIEEE754 registers in RegisterValue::SetType,Jason Molenda2012-09-061-2/+2
| | | | | | | only accept the first matching type based on lldb's sizeofs. <rdar://problem/12222109> llvm-svn: 163285
* Disable the "pretty stack trace" signal handler,Sean Callanan2012-09-061-0/+2
| | | | | | | which can conflict with accurate crash reporting in multithreaded contexts. llvm-svn: 163282
* PR13775: When checking for a tag type being shadowed by some other declaration,Richard Smith2012-09-062-19/+31
| | | | | | don't trample over the caller's LookupResult in the case where the check fails. llvm-svn: 163281
* Update function names to conform to guidelines.Jim Grosbach2012-09-061-26/+26
| | | | | | No functional change. llvm-svn: 163279
* Enable MCJIT tests on Darwin.Jim Grosbach2012-09-061-1/+1
| | | | llvm-svn: 163278
* Mips specific llvm assembler support for branch and jump instructions.Jack Carter2012-09-062-2/+73
| | | | | | | Test case included. Contributer: Vladimir Medic llvm-svn: 163277
* Don't include stdint.h directly.Eli Friedman2012-09-061-1/+1
| | | | llvm-svn: 163276
* Remove predicated pseudo-instructions.Jakob Stoklund Olesen2012-09-052-100/+0
| | | | | | | These pseudos are no longer needed now that it is possible to represent predicated instructions in SSA form. llvm-svn: 163275
* Use predication instead of pseudo-opcodes when folding into MOVCC.Jakob Stoklund Olesen2012-09-054-66/+41
| | | | | | | | | | | | | | | | | | | | Now that it is possible to dynamically tie MachineInstr operands, predicated instructions are possible in SSA form: %vreg3<def> = SUBri %vreg1, -2147483647, pred:14, pred:%noreg, %opt:%noreg %vreg4<def,tied1> = MOVCCr %vreg3<tied0>, %vreg1, %pred:12, pred:%CPSR Becomes a predicated SUBri with a tied imp-use: SUBri %vreg1, -2147483647, pred:13, pred:%CPSR, opt:%noreg, %vreg1<imp-use,tied0> This means that any instruction that is safe to move can be folded into a MOVCC, and the *CC pseudo-instructions are no longer needed. The test case changes reflect that Thumb2SizeReduce recognizes the predicated instructions. It didn't understand the pseudos. llvm-svn: 163274
* [ms-inline asm] Use the asm dialect from the MI to set the parser dialect.Chad Rosier2012-09-052-3/+7
| | | | llvm-svn: 163273
* Add missing file for test.Nick Lewycky2012-09-051-0/+0
| | | | llvm-svn: 163272
* Teach libObject about some more ELF relocations. llvm-objdump -r now knowsNick Lewycky2012-09-052-6/+30
| | | | | | every relocation in C++ hello world built with debug info. llvm-svn: 163271
* JumpThreading: when default destination is the destination of some cases in aManman Ren2012-09-052-3/+42
| | | | | | | | | switch, make sure we include the value for the cases when calculating edge value from switch to the default destination. rdar://12241132 llvm-svn: 163270
* [analyzer] Enhance the member expr tracking to account for references.Anna Zaks2012-09-054-2/+27
| | | | | | As per Jordan's suggestion. (Came out of code review for r163261.) llvm-svn: 163269
* Mips specific llvm assembler support for ALU instructions. This includesJack Carter2012-09-052-22/+448
| | | | | | | register support. Test case included. Contributer: Vladimir Medic llvm-svn: 163268
* Continue including temporary destructors in the CFG used for warnings.Jordan Rose2012-09-051-1/+2
| | | | | | ...and hopefully unbreak buildbots. My apologies! llvm-svn: 163267
* Format strings: suggest casts for NS(U)Integer and [SU]Int32 on Darwin.Jordan Rose2012-09-053-23/+311
| | | | | | | | | | | | | | | These types are defined differently on 32-bit and 64-bit platforms, and trying to offer a fixit for one platform would only mess up the format string for the other. The Apple-recommended solution is to cast to a type that is known to be large enough and always use that to print the value. This should only have an impact on compile time if the format string is incorrect; in cases where the format string matches the definition on the current platform, no warning will be emitted. <rdar://problem/9135072&12164284> llvm-svn: 163266
* Format string checking: change long if-statement to early returns.Jordan Rose2012-09-051-66/+69
| | | | | | No functionality change. llvm-svn: 163265
* [analyzer] Always include destructors in the analysis CFG.Jordan Rose2012-09-0514-19/+60
| | | | | | | | | | | | | | | | | | | | | While destructors will continue to not be inlined (unless the analyzer config option 'c++-inlining' is set to 'destructors'), leaving them out of the CFG is an incomplete model of the behavior of an object, and can cause false positive warnings (like PR13751, now working). Destructors for temporaries are still not on by default, since (a) we haven't actually checked this code to be sure it's fully correct (in particular, we probably need to be very careful with regard to lifetime-extension when a temporary is bound to a reference, C++11 [class.temporary]p5), and (b) ExprEngine doesn't actually do anything when it sees a temporary destructor in the CFG -- not even invalidate the object region. To enable temporary destructors, set the 'cfg-temporary-dtors' analyzer config option to '1'. The old -cfg-add-implicit-dtors cc1 option, which controlled all implicit destructors, has been removed. llvm-svn: 163264
* Cleanup a few magic numbers.Chad Rosier2012-09-053-3/+3
| | | | llvm-svn: 163263
* [analyzer] Fix a crash PR13762.Anna Zaks2012-09-052-1/+8
| | | | llvm-svn: 163262
* [analyzer] NullOrUndef diagnostics: track symbols binded to regions.Anna Zaks2012-09-052-8/+366
| | | | | | | | | If a region is binded to a symbolic value, we should track the symbol. (The code I changed was not previously exercised by the regression tests.) llvm-svn: 163261
* [analyzer] Remove unneeded code.Anna Zaks2012-09-051-18/+8
| | | | | | | This region is set as interesting as part of trackNullOrUndefValue call, no need to mark it as interesting twice. llvm-svn: 163260
* <rdar://problem/12237556>Greg Clayton2012-09-051-31/+40
| | | | | | Fixed an issue where we didn't parse N_SO stab pairs where the first N_SO was a relative path. llvm-svn: 163259
* Stop casting away const qualifier needlessly.Roman Divacky2012-09-0517-21/+21
| | | | llvm-svn: 163258
* [ms-inline asm] We only need one bit to represent the AsmDialect in theChad Rosier2012-09-053-13/+6
| | | | | | MachineInstr. llvm-svn: 163257
* Constify this properly. Found by gcc48 -Wcast-qual.Roman Divacky2012-09-051-4/+4
| | | | llvm-svn: 163256
* Mark checkSignature const, and in turn stop casting away const fromRoman Divacky2012-09-052-3/+3
| | | | | | ArchiveMemberHeader. Found by gcc48 -Wcast-qual. llvm-svn: 163255
* Constify SDNodeIterator an stop its only non-const user being cast strippedRoman Divacky2012-09-052-5/+5
| | | | | | of its constness. Found by gcc48 -Wcast-qual. llvm-svn: 163254
* Add test missed in previous commit.Eric Christopher2012-09-051-0/+56
| | | | llvm-svn: 163253
* Try to fix the windows bots.Eric Christopher2012-09-051-4/+4
| | | | llvm-svn: 163252
* Constify subtarget info properly so that we dont cast away the const inRoman Divacky2012-09-055-11/+11
| | | | | | the SubtargetInfoKV tables. Found by gcc48 -Wcast-qual. llvm-svn: 163251
* Patch for clang to include the UTF conversion routines that LLDB needsEnrico Granata2012-09-051-0/+12
| | | | llvm-svn: 163250
* Apply some driver improvements for freebsd-*-mips*.Eric Christopher2012-09-052-9/+68
| | | | | | Patch by Brooks Davis. llvm-svn: 163249
* <rdar://problem/12211320>Greg Clayton2012-09-055-11/+50
| | | | | | When the vendor and OS are not specified in a triple, only let unspecified vendor and OS fields matchs for the current host platform. llvm-svn: 163248
* Use const properly so that we dont remove const qualifier from region and MIIRoman Divacky2012-09-053-13/+13
| | | | | | by casting. Found with gcc48. llvm-svn: 163247
* Turn on the "fancy inlined stepping."Jim Ingham2012-09-051-3/+1
| | | | llvm-svn: 163246
* If the ThreadList ShouldStop restarts the target, don't resume it again.Jim Ingham2012-09-051-1/+5
| | | | llvm-svn: 163245
* Move calculating the CurrentInlinedDepth to AFTER the synchronous breakpoint ↵Jim Ingham2012-09-051-3/+7
| | | | | | | | callback gets a chance to run. If the stopped event comes in with the Restarted bit set, don't try to hand that to the plans, but just return ShouldStop = false. There's nothing useful the plans can do, since the target is already running. llvm-svn: 163244
OpenPOWER on IntegriCloud