summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If TestBase.expect() is passed an assert message, pass it along when ↵Johnny Chen2010-10-281-1/+1
| | | | | | | | | | | | | | delegating to TestBase.runCmd() to execute the debugger command. This will result in a more semantic assert message than just the command failed message like before: AssertionError: False is not True : Command 'thread list' returns successfully And now, we will have: AssertionError: False is not True : Process state is stopped due to breakpoint llvm-svn: 117569
* Logging fixes. Added a simple class to handleSean Callanan2010-10-281-2/+25
| | | | | | | | logging for type importing, making errors much easier to diagnose. Also removed some Objective-C related logging. llvm-svn: 117568
* Don't apply -fvisibility-inlines-hidden to extern templates.John McCall2010-10-282-3/+14
| | | | | | Part 2 of rdar://problem/8595231 llvm-svn: 117567
* Technically DIFile scope should also be handled here.Devang Patel2010-10-281-0/+4
| | | | llvm-svn: 117563
* Check in an initial implementation of the "breakpoint clear" command, whose ↵Johnny Chen2010-10-2812-13/+345
| | | | | | | | | | | | | | | | | | | | purpose is clear the breakpoint associated with the (filename, line_number) combo when an arrow is pointing to a source position using Emacs Grand Unified Debugger library to interact with lldb. The current implmentation is insufficient in that it only asks the breakpoint whether it is associated with a breakpoint resolver with FileLine type and whether it matches the (filename, line_number) combo. There are other breakpoint resolver types whose breakpoint locations can potentially match the (filename, line_number) combo. The BreakpointResolver, BreakpointResolverName, BreakpointResolverAddress, and BreakpointResolverFileLine classes have extra static classof methods to support LLVM style type inquiry through isa, cast, and dyn_cast. The Breakpoint class has an API method bool GetMatchingFileLine(...) which is invoked from CommandObjectBreak.cpp to implement the "breakpoint clear" command. llvm-svn: 117562
* Stay within 80 columns.Devang Patel2010-10-281-10/+13
| | | | llvm-svn: 117561
* rearrange ParseRegisterList.Chris Lattner2010-10-281-16/+30
| | | | llvm-svn: 117560
* refactor some code to simplify it, eliminating some owningptr's.Chris Lattner2010-10-281-65/+60
| | | | llvm-svn: 117559
* Teach the DAG combiner to fold a splat of a splat. Radar 8597790.Bob Wilson2010-10-282-24/+44
| | | | | | Also do some minor refactoring to reduce indentation. llvm-svn: 117558
* Use the IDVal directly as there's no need to convert to std::string.Roman Divacky2010-10-281-2/+2
| | | | | | Pointed out by Chris! llvm-svn: 117557
* Fix the test driver as part of the fix for ↵Johnny Chen2010-10-281-1/+1
| | | | | | | | | | http://llvm.org/bugs/show_bug.cgi?id=8493 File name "2010-10-19-14:10:49.059609" is non-portable. Do not use ':' in the pathname as it is not permitted on windows platforms. llvm-svn: 117556
* Add warning if no actual locations were resolved when attemptingCaroline Tice2010-10-281-0/+11
| | | | | | to set a breakpoint. llvm-svn: 117555
* Fix http://llvm.org/bugs/show_bug.cgi?id=8493 File name ↵Johnny Chen2010-10-282-0/+5
| | | | | | "2010-10-19-14:10:49.059609" is non-portable. llvm-svn: 117554
* Implement .equ directive as a synonym to .set.Roman Divacky2010-10-282-6/+11
| | | | llvm-svn: 117553
* Testcase for PR8494 (invalid bitcode crashing the bitcode reader).Duncan Sands2010-10-282-0/+2
| | | | llvm-svn: 117552
* Fix PR8494: when reading invalid bitcode, getTypeByID may returnDuncan Sands2010-10-281-2/+7
| | | | | | a null pointer. llvm-svn: 117551
* Simplify ASTUnit's internal timers, by not trying to keep a pile ofDouglas Gregor2010-10-282-84/+70
| | | | | | | | timers to be dumped whenever the ASTUnit is destroyed. Instead, just print the time elapsed for each operation after we perform the operation. llvm-svn: 117550
* Implement R_X86_64_DTPOFF32.Rafael Espindola2010-10-282-0/+10
| | | | llvm-svn: 117548
* Implement TLSLD.Rafael Espindola2010-10-284-0/+14
| | | | llvm-svn: 117547
* Implement DTPOFF.Rafael Espindola2010-10-284-0/+16
| | | | llvm-svn: 117546
* Document LLVM_BUILD_TESTS, LLVM_INCLUDE_TESTS. New convenience targetOscar Fuentes2010-10-282-0/+17
| | | | | | UnitTests for building all the unit tests. llvm-svn: 117545
* Implement TLSLDM.Rafael Espindola2010-10-284-0/+14
| | | | llvm-svn: 117544
* Implement VK_GOTNTPOFF and switch RelocNeedsGOT to use VariantKind.Rafael Espindola2010-10-284-15/+28
| | | | llvm-svn: 117543
* Initialize the ASTMutationListener. Thanks goes to Abramo Bagnara!Argyrios Kyrtzidis2010-10-281-1/+1
| | | | llvm-svn: 117541
* Switch case IDs conflict between chained PCHs; since there is no need to be ↵Argyrios Kyrtzidis2010-10-285-0/+18
| | | | | | global, make them local to a decl. llvm-svn: 117540
* Implement an indirect-goto optimization for goto *&&lbl and respect thisJohn McCall2010-10-287-11/+75
| | | | | | | | | | | | | | in the scope checker. With that done, turn an indirect goto into a protected scope into a hard error; otherwise IR generation has to start worrying about declarations not dominating their scopes, as exemplified in PR8473. If this really affects anyone, I can probably adjust this to only hard-error on possible indirect gotos into VLA scopes rather than arbitrary scopes. But we'll see how people cope with the aggressive change on the marginal feature. llvm-svn: 117539
* Reindent.Mikhail Glushenkov2010-10-281-71/+71
| | | | llvm-svn: 117538
* Remove an assertion that hit on legitimate cases. A redeclaration may have ↵Argyrios Kyrtzidis2010-10-281-6/+0
| | | | | | | | location before the first one if the redeclaration comes from a friend decl. llvm-svn: 117537
* Use the ASTMutationListener to track when a named decl gets added to a ↵Argyrios Kyrtzidis2010-10-285-24/+40
| | | | | | | | DeclContext, meaning we need to rewrite its name lookup table in a chained PCH. llvm-svn: 117536
* Properly add chained template specializations.Argyrios Kyrtzidis2010-10-281-0/+2
| | | | llvm-svn: 117535
* Fix the re-serializing decls in a chained PCH mechanism.Argyrios Kyrtzidis2010-10-282-5/+10
| | | | llvm-svn: 117534
* Use the ASTMutationListener to track added template specializations in a ↵Argyrios Kyrtzidis2010-10-2811-86/+46
| | | | | | chained PCH. llvm-svn: 117533
* Abandon the type-visibility optimization for functions. GCC doesn't do it,John McCall2010-10-282-13/+21
| | | | | | and it's too much trouble to push for. Fixes PR8478. llvm-svn: 117532
* Re-commit 117518 and 117519 now that ARM MC test failures are out of the way.Evan Cheng2010-10-2812-31/+96
| | | | llvm-svn: 117531
* Disable most of the ARM vfp / NEON MC tests. These are too fragile to be useful.Evan Cheng2010-10-2816-0/+30
| | | | | | | I'll work with Jim, Owen, and Bill on an alternative testing strategy until the assembly parser is available. llvm-svn: 117530
* test/Transforms/SimplifyLibCalls/floor.ll: Mark as XFAIL:win32 due to lack ↵NAKAMURA Takumi2010-10-281-0/+2
| | | | | | of nearbyintf on MSVC. [PR8466] llvm-svn: 117529
* tools/llvm-shlib/Makefile: Support for FreeBSD and OpenBSD.NAKAMURA Takumi2010-10-281-1/+4
| | | | | | | | Thanks to Yuri Gribov and Vladimir Kirillov! *BSD(s) have environ(7) in CRT startup and cannot resolve "environ" at linking llvm.so. environ(7) is used inlib/System/Unix/Program.inc. llvm-svn: 117528
* When computing visibility, use the latest declaration's explicit visibilityJohn McCall2010-10-282-8/+33
| | | | | | | | attribute. Part of rdar://problem/8595231 llvm-svn: 117526
* Add test case for <rdar://problem/8356342>.Ted Kremenek2010-10-281-0/+19
| | | | llvm-svn: 117525
* Implement the newest status quo for method override checking. The idea nowJohn McCall2010-10-289-84/+161
| | | | | | | | | | | | | is that we need more information to decide the exact conditions for whether one ObjCObjectPointer is an acceptable return/parameter override for another, so we're going to disable that entire class of warning for now. The "forward developement" warning category, -Wmethod-signatures, can receive unrestricted feature work, and when we're happy with how it acts, we'll turn it on by default. This is a pretty conservative change, and nobody's totally content with it. llvm-svn: 117524
* clarify that not having the ".o file writing" featureChris Lattner2010-10-281-0/+4
| | | | | | | doesn't mean that you can't get a .o file. Apparently this is confusing :) llvm-svn: 117523
* make it really clear that vla != flexible arraysChris Lattner2010-10-281-1/+3
| | | | llvm-svn: 117522
* Don't warn about unamed bitfield ivars in the ObjCUnusedIvarsChecker. Fixes ↵Ted Kremenek2010-10-282-2/+16
| | | | | | <rdar://problem/8481311>. llvm-svn: 117521
* Revert 117518 and 117519 for now. They changed scheduling and cause MC tests ↵Evan Cheng2010-10-2812-96/+31
| | | | | | to fail. Ugh. llvm-svn: 117520
* - Assign load / store with shifter op address modes the right itinerary classes.Evan Cheng2010-10-2811-31/+93
| | | | | | | | | | - For now, loads of [r, r] addressing mode is the same as the [r, r lsl/lsr/asr #] variants. ARMBaseInstrInfo::getOperandLatency() should identify the former case and reduce the output latency by 1. - Also identify [r, r << 2] case. This special form of shifter addressing mode is "free". llvm-svn: 117519
* Fix a major bug in operand latency computation. The use index must be adjustedEvan Cheng2010-10-281-0/+3
| | | | | | by the number of defs first for it to match the instruction itinerary. llvm-svn: 117518
* Ahem. Add rest of D and Q registers to ARM inline asm handling.Dale Johannesen2010-10-281-1/+4
| | | | llvm-svn: 117517
* Fixed the "frame variable -G NAME" that would print globalGreg Clayton2010-10-283-10/+10
| | | | | | | | variables by name. It was accidentally getting all the globals for the compile unit that contained the global variable named NAME. llvm-svn: 117516
* Test passes on Darwin; try to XFAIL on freebsd, linux, xp/msvc9.Stuart Hastings2010-10-281-0/+1
| | | | llvm-svn: 117515
* Fix pastos in handling of AVX cvttsd2si, PR8491.Dale Johannesen2010-10-283-6/+6
| | | | | | | Bruno, please review, but I'm pretty sure this is right. Patch by Alex Mac! llvm-svn: 117514
OpenPOWER on IntegriCloud