summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a temporary command line option to verify machine code after each spill orJakob Stoklund Olesen2010-10-281-0/+6
| | | | | | split. llvm-svn: 117597
* Revert r117582, which reverted r77396. Searching PATH for a stringDan Gohman2010-10-281-1/+1
| | | | | | | | | | | | which contains slashes is inconsistent with the meaning of PATH on Unix-type platforms, and pretty surprising. If the user has given a specific path to execute and we can't execute it, we should fail and say why. (Apparently the new posix_spawn code doesn't always say why, but that's a separate issue.) llvm-svn: 117596
* Backward compatibility. Gracefully handle older versions of debug info.Devang Patel2010-10-281-0/+6
| | | | llvm-svn: 117595
* Add support for the .string directive.Rafael Espindola2010-10-282-8/+17
| | | | llvm-svn: 117592
* Do not work too hard to find type's file info. There is a special field to ↵Devang Patel2010-10-282-4/+10
| | | | | | record file info. llvm-svn: 117588
* Fix indentation.Devang Patel2010-10-281-4/+4
| | | | llvm-svn: 117586
* Defined weak symbols should have non-zero value.Rafael Espindola2010-10-282-6/+5
| | | | llvm-svn: 117585
* llvmc: Make ExecuteProgram() look in the driver directory first.Mikhail Glushenkov2010-10-281-3/+6
| | | | llvm-svn: 117584
* Remove an unnecessary check and an unnecessary temporary.Mikhail Glushenkov2010-10-281-3/+2
| | | | llvm-svn: 117583
* Revert r77396.Mikhail Glushenkov2010-10-281-1/+1
| | | | | | | | | | | | | | Original commit message: On "Unix", if Program::FindProgramByName is given a name containing slashes, just go with it, regardless of whether it looks like it will be executable. This follows the behavior of sh(1) more closely. It's better when behaviour is consistent between platforms. This change also makes FindExecutable() behave as expected on unix-likes (before this commit, it used to always succeed). llvm-svn: 117582
* Trailing whitespace.Mikhail Glushenkov2010-10-281-4/+4
| | | | llvm-svn: 117581
* 80-col violations.Mikhail Glushenkov2010-10-281-5/+5
| | | | llvm-svn: 117580
* Do not rely on context to find file info. It is already provided as a ↵Devang Patel2010-10-281-2/+8
| | | | | | separate field. llvm-svn: 117577
* Directly use NamespaceDecl->getLocation() to find the source file.Devang Patel2010-10-281-3/+2
| | | | llvm-svn: 117576
* Fix relocations with renamed symbols.Rafael Espindola2010-10-282-5/+52
| | | | llvm-svn: 117575
* Explicatory comment for folks that may not beSean Callanan2010-10-281-0/+1
| | | | | | | familiar with the ownership relationships involving Diagnostic. llvm-svn: 117573
* Reduce malloc thrashing.Benjamin Kramer2010-10-281-1/+1
| | | | llvm-svn: 117572
* PLD, PLDW, PLI encodings, plus refactor their use of addrmode2.Jim Grosbach2010-10-284-20/+44
| | | | llvm-svn: 117571
* Aliases defined with .symver should copy the binding of the symbols they alias.Rafael Espindola2010-10-282-9/+47
| | | | | | | Move the existing patching for undefined symbols so that all the patching is done in the same function. llvm-svn: 117570
* 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
OpenPOWER on IntegriCloud