platform/upstream/llvm.git
11 years agoMake Bitrig's clang understand -stdlib= correctly.
Chandler Carruth [Mon, 8 Oct 2012 21:31:38 +0000 (21:31 +0000)]
Make Bitrig's clang understand -stdlib= correctly.
With this patch Bitrig can use a different c++ library without pain and
within the normal commandline parameters.

Original patch by David Hill, with lots of fixes and cleanup by me.

llvm-svn: 165430

11 years agoUse a special path to place the .o files in.
Bill Wendling [Mon, 8 Oct 2012 21:17:59 +0000 (21:17 +0000)]
Use a special path to place the .o files in.

llvm-svn: 165429

11 years agoUse a special path to place the .o files in.
Bill Wendling [Mon, 8 Oct 2012 21:17:45 +0000 (21:17 +0000)]
Use a special path to place the .o files in.

llvm-svn: 165428

11 years agoFixup comment.
Eric Christopher [Mon, 8 Oct 2012 20:48:54 +0000 (20:48 +0000)]
Fixup comment.

llvm-svn: 165427

11 years agoFixup comments.
Eric Christopher [Mon, 8 Oct 2012 20:48:49 +0000 (20:48 +0000)]
Fixup comments.

llvm-svn: 165426

11 years agoCompilationDatabaseTest: Fix another Windows path issue.
Daniel Jasper [Mon, 8 Oct 2012 20:32:51 +0000 (20:32 +0000)]
CompilationDatabaseTest: Fix another Windows path issue.

llvm-svn: 165425

11 years agoCompilationDatabase: Use //net paths for tests, as they should be
Daniel Jasper [Mon, 8 Oct 2012 20:08:25 +0000 (20:08 +0000)]
CompilationDatabase: Use //net paths for tests, as they should be
considered absolute on all platforms.

llvm-svn: 165422

11 years ago<rdar://problem/12200505> Fixing a logical error in SBProcess, where the get_process_...
Enrico Granata [Mon, 8 Oct 2012 19:06:11 +0000 (19:06 +0000)]
<rdar://problem/12200505> Fixing a logical error in SBProcess, where the get_process_thread_list function was creating invalid threads_access instances, and hence failing to correctly fill in the list

llvm-svn: 165421

11 years agoSilly me! There was a closing ) missing from one of the lines - and Python complained...
Enrico Granata [Mon, 8 Oct 2012 19:01:10 +0000 (19:01 +0000)]
Silly me! There was a closing ) missing from one of the lines - and Python complained about syntax errors on the next line. It being a Friday afternoon made the rest

llvm-svn: 165420

11 years agoPR12716: PPC crashes on vector compare
Adhemerval Zanella [Mon, 8 Oct 2012 18:59:53 +0000 (18:59 +0000)]
PR12716: PPC crashes on vector compare

Vector compare using altivec 'vcmpxxx' instructions have as third argument
a vector register instead of CR one, different from integer and float-point
compares. This leads to a failure in code generation, where 'SelectSETCC'
expects a DAG with a CR register and gets vector register instead.

This patch changes the behavior by just returning a DAG with the
vector compare instruction based on the type. The patch also adds a testcase
for all vector types llvm defines.

It also included a fix on signed 5-bits predicates printing, where
signed values were not handled correctly as signed (char are unsigned by
default for PowerPC). This generates 'vspltisw' (vector splat)
instruction with SIM out of range.

llvm-svn: 165419

11 years agomisched: remove the unused getSpecialAddressLatency hook.
Andrew Trick [Mon, 8 Oct 2012 18:54:00 +0000 (18:54 +0000)]
misched: remove the unused getSpecialAddressLatency hook.

llvm-svn: 165418

11 years agomisched: remove forceUnitLatencies. Defaults are handled by the default SchedModel
Andrew Trick [Mon, 8 Oct 2012 18:53:57 +0000 (18:53 +0000)]
misched: remove forceUnitLatencies. Defaults are handled by the default SchedModel

llvm-svn: 165417

11 years agomisched: avoid scheduling an instruction twice.
Andrew Trick [Mon, 8 Oct 2012 18:53:53 +0000 (18:53 +0000)]
misched: avoid scheduling an instruction twice.

llvm-svn: 165416

11 years agoDon't emit double parentheses in __clang_version__.
Benjamin Kramer [Mon, 8 Oct 2012 18:49:39 +0000 (18:49 +0000)]
Don't emit double parentheses in __clang_version__.

PR14040.

llvm-svn: 165415

11 years agoHopefully appease Windows buildbot with Japanese (?) error message.
Daniel Jasper [Mon, 8 Oct 2012 18:37:21 +0000 (18:37 +0000)]
Hopefully appease Windows buildbot with Japanese (?) error message.

llvm-svn: 165414

11 years agoFileNameMatchTrie: Use StringRef instead of Twines where possible.
Daniel Jasper [Mon, 8 Oct 2012 18:31:54 +0000 (18:31 +0000)]
FileNameMatchTrie: Use StringRef instead of Twines where possible.

llvm-svn: 165412

11 years agoPowerPC: Fix object creation with PPC::MTCRF8 instruction
Adhemerval Zanella [Mon, 8 Oct 2012 18:25:11 +0000 (18:25 +0000)]
PowerPC: Fix object creation with PPC::MTCRF8 instruction

llvm-svn: 165411

11 years agoRetrying to apply Vishal's patch - hopefully this time it won't break Jason's build
Enrico Granata [Mon, 8 Oct 2012 17:32:55 +0000 (17:32 +0000)]
Retrying to apply Vishal's patch - hopefully this time it won't break Jason's build

llvm-svn: 165410

11 years agoAdd floating-point to and from integer conversion
Adhemerval Zanella [Mon, 8 Oct 2012 17:27:24 +0000 (17:27 +0000)]
Add floating-point to and from integer conversion

This patch add altivec support for v4i32 to v4f32 and for v4f32 to
v4i32 vector rounding conversion.

llvm-svn: 165409

11 years agoMove TargetData to DataLayout to fix build breakage caused by LLVM r16540
Micah Villmow [Mon, 8 Oct 2012 17:26:19 +0000 (17:26 +0000)]
Move TargetData to DataLayout to fix build breakage caused by LLVM r16540

llvm-svn: 165408

11 years agoFix the ocaml binding breakage from TargetData -> DataLayout changes.
Micah Villmow [Mon, 8 Oct 2012 17:06:25 +0000 (17:06 +0000)]
Fix the ocaml binding breakage from TargetData -> DataLayout changes.

llvm-svn: 165406

11 years agoMove TargetData to DataLayout.
Micah Villmow [Mon, 8 Oct 2012 16:40:38 +0000 (16:40 +0000)]
Move TargetData to DataLayout.

llvm-svn: 165404

11 years agoMove TargetData to DataLayout.
Micah Villmow [Mon, 8 Oct 2012 16:39:34 +0000 (16:39 +0000)]
Move TargetData to DataLayout.

llvm-svn: 165403

11 years agoMove TargetData to DataLayout.
Micah Villmow [Mon, 8 Oct 2012 16:38:25 +0000 (16:38 +0000)]
Move TargetData to DataLayout.

llvm-svn: 165402

11 years agoMove TargetData to DataLayout.
Micah Villmow [Mon, 8 Oct 2012 16:37:04 +0000 (16:37 +0000)]
Move TargetData to DataLayout.

llvm-svn: 165401

11 years agoMove TargetData to DataLayout.
Micah Villmow [Mon, 8 Oct 2012 16:29:26 +0000 (16:29 +0000)]
Move TargetData to DataLayout.

llvm-svn: 165397

11 years agoMove TargetData to DataLayout.
Micah Villmow [Mon, 8 Oct 2012 16:28:57 +0000 (16:28 +0000)]
Move TargetData to DataLayout.

llvm-svn: 165396

11 years agoMove TargetData to DataLayout.
Micah Villmow [Mon, 8 Oct 2012 16:25:52 +0000 (16:25 +0000)]
Move TargetData to DataLayout.

llvm-svn: 165395

11 years agoSupport symlinks and relative paths in complilation databases.
Daniel Jasper [Mon, 8 Oct 2012 16:08:15 +0000 (16:08 +0000)]
Support symlinks and relative paths in complilation databases.

Review: http://llvm-reviews.chandlerc.com/D30
llvm-svn: 165392

11 years ago[ASan] use llvm-symbolizer for ASan lit-style tests on Mac
Alexey Samsonov [Mon, 8 Oct 2012 13:11:18 +0000 (13:11 +0000)]
[ASan] use llvm-symbolizer for ASan lit-style tests on Mac

llvm-svn: 165391

11 years agoSome regression tests which are testing the old jit and are exercising functionality...
James Molloy [Mon, 8 Oct 2012 13:06:30 +0000 (13:06 +0000)]
Some regression tests which are testing the old jit and are exercising functionality which is both known to be broken and not expected to be fixed in the old jit. To remove these from the regression test output, I've marked them XFAIL (for lit tests) and ifdef'd them out (unit tests). These modifications remove the last long-standing regression test failures from the buildbots (though updating the triple to reflect new ubuntu configuration has temporarily caused some new failures). Tested on x86-64 and ARM Linux.

Patch by David Tweed!

llvm-svn: 165390

11 years agollvm-symbolizer for Mac: add support for reading DWARF from separate object file...
Alexey Samsonov [Mon, 8 Oct 2012 10:17:44 +0000 (10:17 +0000)]
llvm-symbolizer for Mac: add support for reading DWARF from separate object file in resource directory generated by dsymutil. Fix minor symbol table lookup issues.

llvm-svn: 165389

11 years agoRename TargetData -> DataLayout
Tobias Grosser [Mon, 8 Oct 2012 08:56:52 +0000 (08:56 +0000)]
Rename TargetData -> DataLayout

Contributed by: Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com>

llvm-svn: 165387

11 years agoImplement any() builtin. Patch by Tom Stellard!
Peter Collingbourne [Mon, 8 Oct 2012 03:39:21 +0000 (03:39 +0000)]
Implement any() builtin.  Patch by Tom Stellard!

llvm-svn: 165386

11 years agoAdd native_powr builtin. Patch by Tom Stellard!
Peter Collingbourne [Mon, 8 Oct 2012 03:39:05 +0000 (03:39 +0000)]
Add native_powr builtin.  Patch by Tom Stellard!

llvm-svn: 165385

11 years agoUse a single note diagnostic for all the precedent/parentheses warnings.
David Blaikie [Mon, 8 Oct 2012 01:19:49 +0000 (01:19 +0000)]
Use a single note diagnostic for all the precedent/parentheses warnings.

llvm-svn: 165384

11 years agoStringRef-ify Binary/UnaryOperator::getOpcodeStr
David Blaikie [Mon, 8 Oct 2012 01:11:04 +0000 (01:11 +0000)]
StringRef-ify Binary/UnaryOperator::getOpcodeStr

llvm-svn: 165383

11 years agoRemove unused MachineInstr constructors that don't take a DebugLoc argument.
Craig Topper [Sun, 7 Oct 2012 23:03:22 +0000 (23:03 +0000)]
Remove unused MachineInstr constructors that don't take a DebugLoc argument.

llvm-svn: 165382

11 years agoFix indentation. Remove 'else' after return. No functional change.
Craig Topper [Sun, 7 Oct 2012 20:31:05 +0000 (20:31 +0000)]
Fix indentation. Remove 'else' after return. No functional change.

llvm-svn: 165381

11 years agoSilence Sphinx warnings.
Sean Silva [Sun, 7 Oct 2012 18:49:28 +0000 (18:49 +0000)]
Silence Sphinx warnings.

Found the fix on this page:
http://permalink.gmane.org/gmane.comp.python.sphinx.devel/112

llvm-svn: 165380

11 years agoScopLib: Support negated access functions.
Tobias Grosser [Sun, 7 Oct 2012 17:43:23 +0000 (17:43 +0000)]
ScopLib: Support negated access functions.

Scoplib only supports access functions, but not the more generic
access relations. This commit now also supports access functions
that where not directly expresses as A[sub] with sub = i + 5b,
but with A[sub] with -sub = -i + (-5b).

Test case to come.

Contributed by: Dustin Feld <d3.feld@gmail.com>

llvm-svn: 165379

11 years agoUpdate the 'News' section on the Polly page
Tobias Grosser [Sun, 7 Oct 2012 17:43:18 +0000 (17:43 +0000)]
Update the 'News' section on the Polly page

llvm-svn: 165378

11 years agoX86: fcmov doesn't handle all possible EFLAGS, fall back to a branch for the others.
Benjamin Kramer [Sun, 7 Oct 2012 15:34:27 +0000 (15:34 +0000)]
X86: fcmov doesn't handle all possible EFLAGS, fall back to a branch for the others.

Otherwise it will try to use SSE patterns and fail horribly if sse is disabled.
Fixes PR14035.

llvm-svn: 165377

11 years agotsan: better message about found races for Go ThreadSanitizer
Dmitry Vyukov [Sun, 7 Oct 2012 14:21:24 +0000 (14:21 +0000)]
tsan: better message about found races for Go ThreadSanitizer

llvm-svn: 165376

11 years agoPython bindings: fix typo.
Benjamin Kramer [Sun, 7 Oct 2012 11:51:45 +0000 (11:51 +0000)]
Python bindings: fix typo.

llvm-svn: 165375

11 years agoPython bindings: Add missing availability kind.
Benjamin Kramer [Sun, 7 Oct 2012 11:46:37 +0000 (11:46 +0000)]
Python bindings: Add missing availability kind.

Patch by Leo Liu, test case by me.

llvm-svn: 165374

11 years agoMove more methods out-of-line. This is in preparation for changing the internal
Bill Wendling [Sun, 7 Oct 2012 08:55:05 +0000 (08:55 +0000)]
Move more methods out-of-line. This is in preparation for changing the internal
contents of the Attributes class over to an AttributesImpl.

llvm-svn: 165373

11 years agoSphinxify the GettinStarted documentation.
Bill Wendling [Sun, 7 Oct 2012 07:10:13 +0000 (07:10 +0000)]
Sphinxify the GettinStarted documentation.

llvm-svn: 165372

11 years agoSphinxify the ExtendingLLVM documentation.
Bill Wendling [Sun, 7 Oct 2012 04:56:08 +0000 (04:56 +0000)]
Sphinxify the ExtendingLLVM documentation.

llvm-svn: 165371

11 years agoUse getArch instead of getArchName + string compare.
Rafael Espindola [Sun, 7 Oct 2012 04:44:33 +0000 (04:44 +0000)]
Use getArch instead of getArchName + string compare.

llvm-svn: 165370

11 years agoSphinxify the compiler writer info documentation.
Bill Wendling [Sun, 7 Oct 2012 04:34:10 +0000 (04:34 +0000)]
Sphinxify the compiler writer info documentation.

llvm-svn: 165369

11 years agoUse getArch instead of getArchName.
Rafael Espindola [Sun, 7 Oct 2012 03:23:40 +0000 (03:23 +0000)]
Use getArch instead of getArchName.

The darwin change should be a nop since Triple::getArchTypeForDarwinArchName
doesn't know about amd64.

If things like amd64-mingw32 are to be rejected, we should print a error
earlier on instead of silently using the wrong abi.

Remove old comment that looks out of place, this is "in clang".

llvm-svn: 165368

11 years agoMake sure always-inline functions get inlined. <rdar://problem/12423986>
Bob Wilson [Sun, 7 Oct 2012 01:11:19 +0000 (01:11 +0000)]
Make sure always-inline functions get inlined. <rdar://problem/12423986>

Without this change, when the estimated cost for inlining a function with
an "alwaysinline" attribute was lower than the inlining threshold, the
getInlineCost function was returning that estimated cost rather than the
special InlineCost::AlwaysInlineCost value. That is fine in the normal
inlining case, but it can fail when the inliner considers the opportunity
cost of inlining into an internal or linkonce-odr function. It may decide
not to inline the always-inline function in that case. The fix here is just
to make getInlineCost always return the special value for always-inline
functions. I ran into this building clang with libc++. Tablegen failed to
link because of an always-inline function that was not inlined. I have been
unable to reduce the testcase down to a reasonable size.

llvm-svn: 165367

11 years agoDocument MapVector.
Rafael Espindola [Sun, 7 Oct 2012 00:56:09 +0000 (00:56 +0000)]
Document MapVector.

llvm-svn: 165366

11 years agoList of potential checkers: smart pointer checker: actually, unique_ptr<T[]>
Dmitri Gribenko [Sat, 6 Oct 2012 17:23:59 +0000 (17:23 +0000)]
List of potential checkers: smart pointer checker: actually, unique_ptr<T[]>
will do the right thing for new[] allocated memory.  Thanks David!

llvm-svn: 165365

11 years agoClang static analyzer docs: fix a couple of HTML markup issues and non-UTF-8
Dmitri Gribenko [Sat, 6 Oct 2012 17:14:39 +0000 (17:14 +0000)]
Clang static analyzer docs: fix a couple of HTML markup issues and non-UTF-8
characters.

llvm-svn: 165364

11 years agoList of potential checkers: more C++11 details for the smart pointer checker.
Dmitri Gribenko [Sat, 6 Oct 2012 16:59:15 +0000 (16:59 +0000)]
List of potential checkers: more C++11 details for the smart pointer checker.

llvm-svn: 165363

11 years agoExpose __builtin_bswap16.
Benjamin Kramer [Sat, 6 Oct 2012 14:42:22 +0000 (14:42 +0000)]
Expose __builtin_bswap16.

GCC has always supported this on PowerPC and 4.8 supports it on all platforms,
so it's a good idea to expose it in clang too. LLVM supports this on all targets.

llvm-svn: 165362

11 years agoPlace warn_impcast_different_enum_types in a new warning group, -Wenum-conversion...
Ted Kremenek [Sat, 6 Oct 2012 05:25:43 +0000 (05:25 +0000)]
Place warn_impcast_different_enum_types in a new warning group, -Wenum-conversion, that is a subgroup of -Wconversion.

llvm-svn: 165361

11 years agoAdd link to potential future checkers.
Ted Kremenek [Sat, 6 Oct 2012 05:11:15 +0000 (05:11 +0000)]
Add link to potential future checkers.

llvm-svn: 165360

11 years agoAdd list of potential checkers. Provided by Anton Yartsev!
Ted Kremenek [Sat, 6 Oct 2012 05:09:43 +0000 (05:09 +0000)]
Add list of potential checkers.  Provided by Anton Yartsev!

llvm-svn: 165359

11 years ago[analyzer] Tweak test to run the retain-count checker even on non-Darwin.
Jordan Rose [Sat, 6 Oct 2012 02:06:17 +0000 (02:06 +0000)]
[analyzer] Tweak test to run the retain-count checker even on non-Darwin.

This should fix the bots.

llvm-svn: 165358

11 years agoIn DynamicLoaderDarwinKernel::OSKextLoadedKextSummary::LoadImageUsingMemoryModule(),
Jason Molenda [Sat, 6 Oct 2012 02:02:26 +0000 (02:02 +0000)]
In DynamicLoaderDarwinKernel::OSKextLoadedKextSummary::LoadImageUsingMemoryModule(),
if we have a kernel binary, set the target's architecture to match.

Include the target's architecture in the ModuleSpec when we're searching for the
kext binaries on the local system -- otherwise we won't get a specific slice of
a fat file picked out for us and we won't use the returned Module correctly.

Remove the redundant attempt to find a file on the local filesystem from this method.

In ProcessGDBRemote::CheckForKernel(), if we have a kernel binary in memory, mark
the canJIT as false.  There is no jitting code in kernel debug sessions.

llvm-svn: 165357

11 years agoRevert Vishal's patch that Enrico commited, at least for the weekend. With it applied,
Jason Molenda [Sat, 6 Oct 2012 01:46:12 +0000 (01:46 +0000)]
Revert Vishal's patch that Enrico commited, at least for the weekend.  With it applied,
starting lldb I get

% ./lldb -x
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/tmp/build/Debug/LLDB.framework/Versions/A/Resources/Python/lldb/__init__.py", line 9008
    raise TypeError("No array item of type %s" % str(type(key)))
        ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
(lldb)

I did a clean build and still got the problem so I'm backing this out until Enrico can
look at it.

llvm-svn: 165356

11 years agoParentMap: Restore the ability to update an existing map.
Jordan Rose [Sat, 6 Oct 2012 01:19:36 +0000 (01:19 +0000)]
ParentMap: Restore the ability to update an existing map.

The Clang ASTs are a DAG, not a pure tree. However, ParentMap has to
choose a single parent for each object. In the main (only?) cases in
which the AST forms a DAG, it protects from multiple traversal by using
OpaqueValueExprs. Previously, ParentMap would just unconditionally look
through all OpaqueValueExprs when building its map.

In order to make this behavior better for the analyzer's diagnostics,
ParentMap was changed to not set a statement's parent if there already
was one in the map. However, ParentMap is supposed to allow updating
existing mappings by calling addStmt once again. This change makes the
"transparency" of OpaqueValueExprs explicit, and disables it when it
is not desired, rather than checking the current contents of the map.

This new code seems like a big change, but it should actually have
essentially the same performance as before. Only OpaqueValueExprs and
their users (PseudoObjectExpr and BinaryConditionalOperator) will
have any different behavior.

There should be no user-visible functionality change, though a test
has been added for the current behavior of BinaryConditionalOperator
source locations and accompanying Xcode arrows (which are not so great...).

llvm-svn: 165355

11 years ago[analyzer] Handle implicit statements used for end-of-path nodes' source locs.
Jordan Rose [Sat, 6 Oct 2012 01:19:30 +0000 (01:19 +0000)]
[analyzer] Handle implicit statements used for end-of-path nodes' source locs.

Some implicit statements, such as the implicit 'self' inserted for "free"
Objective-C ivar access, have invalid source locations. If one of these
statements is the location where an issue is reported, we'll now look at
the enclosing statements for a valid source location.

<rdar://problem/12446776>

llvm-svn: 165354

11 years ago[libclang] Fix the comments, as suggested by Dmitri.
Argyrios Kyrtzidis [Sat, 6 Oct 2012 01:18:38 +0000 (01:18 +0000)]
[libclang] Fix the comments, as suggested by Dmitri.

llvm-svn: 165353

11 years ago[libclang] Don't disable the preprocessing record while indexing so as
Argyrios Kyrtzidis [Sat, 6 Oct 2012 01:18:35 +0000 (01:18 +0000)]
[libclang] Don't disable the preprocessing record while indexing so as
to not mess up with module building.

It was not worth trying to combine indexing without preprocessing record
and building modules with one because:

-just importing a module/PCH that was built with a pp record, enables it anyway
-the performance gain of indexing without the preprocessing record is insignificant.

llvm-svn: 165352

11 years agoAdding support for instructions mfc0, mfc2, mtc0, mtc2
Jack Carter [Sat, 6 Oct 2012 01:17:37 +0000 (01:17 +0000)]
Adding support for instructions mfc0, mfc2, mtc0, mtc2
move from and to coprocessors 0 and 2.

Contributer: Vladimir Medic
llvm-svn: 165351

11 years agoMinor changes based on post commit review:
Jack Carter [Sat, 6 Oct 2012 00:53:28 +0000 (00:53 +0000)]
Minor changes based on post commit review:

Contributer: Vladimir Medic
llvm-svn: 165350

11 years agoMake the error message from regex commands use the command's syntax string if it...
Jim Ingham [Sat, 6 Oct 2012 00:27:04 +0000 (00:27 +0000)]
Make the error message from regex commands use the command's syntax string if it exists rather than a generic but
not at all helpful message about not matching some unknown regex...

llvm-svn: 165349

11 years agopatch from Vishal Patel to improve our lldb.value wrapper
Enrico Granata [Sat, 6 Oct 2012 00:06:18 +0000 (00:06 +0000)]
patch from Vishal Patel to improve our lldb.value wrapper

llvm-svn: 165348

11 years agoFix another spot where this test varied for a Release build.
Alex Rosenberg [Fri, 5 Oct 2012 23:56:20 +0000 (23:56 +0000)]
Fix another spot where this test varied for a Release build.

llvm-svn: 165347

11 years agoMinor changes based on post commit review:
Jack Carter [Fri, 5 Oct 2012 23:55:28 +0000 (23:55 +0000)]
Minor changes based on post commit review:

Contributer: Vladimir Medic
llvm-svn: 165346

11 years agoMake test resilient to Release build temp names.
Alex Rosenberg [Fri, 5 Oct 2012 23:33:39 +0000 (23:33 +0000)]
Make test resilient to Release build temp names.

llvm-svn: 165345

11 years ago<rdar://problem/12442990> Fix the implementation of lldb.value.__eq__
Enrico Granata [Fri, 5 Oct 2012 23:20:58 +0000 (23:20 +0000)]
<rdar://problem/12442990> Fix the implementation of lldb.value.__eq__

llvm-svn: 165344

11 years agoPropagate calling convention for aliases and weakrefs.
Alex Rosenberg [Fri, 5 Oct 2012 23:12:53 +0000 (23:12 +0000)]
Propagate calling convention for aliases and weakrefs.

llvm-svn: 165343

11 years agoFileCheckize test
Alex Rosenberg [Fri, 5 Oct 2012 23:12:48 +0000 (23:12 +0000)]
FileCheckize test

llvm-svn: 165342

11 years ago<rdar://problem/12426557> Fixing the NSIndexSet data formatter
Enrico Granata [Fri, 5 Oct 2012 22:58:46 +0000 (22:58 +0000)]
<rdar://problem/12426557> Fixing the NSIndexSet data formatter

llvm-svn: 165341

11 years agoRemove "k" as an alias for "kill". It doesn't ask for confirmation and
Jason Molenda [Fri, 5 Oct 2012 22:56:23 +0000 (22:56 +0000)]
Remove "k" as an alias for "kill".  It doesn't ask for confirmation and
it's too easy to type by mistake when typing "l" (read: I did this once).

llvm-svn: 165340

11 years agoThread-safety analysis: allow attributes on constructors to refer to 'this'.
DeLesley Hutchins [Fri, 5 Oct 2012 22:38:19 +0000 (22:38 +0000)]
Thread-safety analysis: allow attributes on constructors to refer to 'this'.

llvm-svn: 165339

11 years agoAdd color output to 'diagtool tree' to show what warnings are enabled by default.
Ted Kremenek [Fri, 5 Oct 2012 22:07:14 +0000 (22:07 +0000)]
Add color output to 'diagtool tree' to show what warnings are enabled by default.

llvm-svn: 165338

11 years agoThis patch splits apart PPCISelLowering::LowerFormalArguments_Darwin_Or_64SVR4
Bill Schmidt [Fri, 5 Oct 2012 21:27:08 +0000 (21:27 +0000)]
This patch splits apart PPCISelLowering::LowerFormalArguments_Darwin_Or_64SVR4
into separate versions for the Darwin and 64-bit SVR4 ABIs.  This will
facilitate doing more major surgery on the 64-bit SVR4 ABI in the near future.

llvm-svn: 165336

11 years agoHowToSetUpLLVMStyleRTTI.rst: remove unneeded semicolons in code examples.
Dmitri Gribenko [Fri, 5 Oct 2012 20:52:13 +0000 (20:52 +0000)]
HowToSetUpLLVMStyleRTTI.rst: remove unneeded semicolons in code examples.

llvm-svn: 165335

11 years agoGoldPlugin.rst: minor typesetting fixes.
Dmitri Gribenko [Fri, 5 Oct 2012 20:50:05 +0000 (20:50 +0000)]
GoldPlugin.rst: minor typesetting fixes.

llvm-svn: 165334

11 years agoRemove two more cases of "-w write" being specified
Jason Molenda [Fri, 5 Oct 2012 20:28:11 +0000 (20:28 +0000)]
Remove two more cases of "-w write" being specified
to watch var set/exp -- that's now the default in the
shipped lldb.

llvm-svn: 165333

11 years agoImprove shortened examples of the watchpoint commands.
Jason Molenda [Fri, 5 Oct 2012 20:25:53 +0000 (20:25 +0000)]
Improve shortened examples of the watchpoint commands.
Document "f <n>" selects frame n.
"t <n>" selects thread n but this was just added to TOT
so most people won't have access to an lldb that accepts it.

llvm-svn: 165332

11 years agoRemove unused but set variable flagged by GCC.
Benjamin Kramer [Fri, 5 Oct 2012 20:08:45 +0000 (20:08 +0000)]
Remove unused but set variable flagged by GCC.

llvm-svn: 165331

11 years agoRemove the bt alias I inadvertently added back in in my last checkin.
Jim Ingham [Fri, 5 Oct 2012 19:48:19 +0000 (19:48 +0000)]
Remove the bt alias I inadvertently added back in in my last checkin.

llvm-svn: 165330

11 years agoChanging line endings from Windows to Unix. No functional changes.
Aaron Ballman [Fri, 5 Oct 2012 19:46:32 +0000 (19:46 +0000)]
Changing line endings from Windows to Unix.  No functional changes.

llvm-svn: 165329

11 years agoAdd one-shot breakpoints (-o option to "break set") and a tbreak alias for our gdb...
Jim Ingham [Fri, 5 Oct 2012 19:16:31 +0000 (19:16 +0000)]
Add one-shot breakpoints (-o option to "break set") and a tbreak alias for our gdb friends.

llvm-svn: 165328

11 years agoFix a test failure caused by checkin 165274.
Jim Ingham [Fri, 5 Oct 2012 19:14:57 +0000 (19:14 +0000)]
Fix a test failure caused by checkin 165274.

llvm-svn: 165327

11 years ago[ms-inline asm] Add a comment describing the MapAndConstraints.
Chad Rosier [Fri, 5 Oct 2012 19:00:51 +0000 (19:00 +0000)]
[ms-inline asm] Add a comment describing the MapAndConstraints.

llvm-svn: 165326

11 years agoAdd intrinsic of MULX in BMI2 header
Michael Liao [Fri, 5 Oct 2012 18:50:09 +0000 (18:50 +0000)]
Add intrinsic of MULX in BMI2 header

llvm-svn: 165325

11 years ago[ms-inline asm] Add a few typedefs to simplify future changes.
Chad Rosier [Fri, 5 Oct 2012 18:41:14 +0000 (18:41 +0000)]
[ms-inline asm] Add a few typedefs to simplify future changes.

llvm-svn: 165324

11 years agoPatch for integer multiply, signed/unsigned, long/long long.
Reed Kotler [Fri, 5 Oct 2012 18:27:54 +0000 (18:27 +0000)]
Patch for integer multiply, signed/unsigned, long/long long.

llvm-svn: 165322

11 years agoSimplify code, don't or a bool with an uint64_t.
Benjamin Kramer [Fri, 5 Oct 2012 18:19:44 +0000 (18:19 +0000)]
Simplify code, don't or a bool with an uint64_t.

No functionality change.

llvm-svn: 165321

11 years agoRemove empty file.
Benjamin Kramer [Fri, 5 Oct 2012 17:41:49 +0000 (17:41 +0000)]
Remove empty file.

llvm-svn: 165320

11 years agoRemove extraneous semicolon.
Chad Rosier [Fri, 5 Oct 2012 17:15:19 +0000 (17:15 +0000)]
Remove extraneous semicolon.

llvm-svn: 165319

11 years agoImplement TargetData with the DataLayout class, this will allow LLVM projects to...
Micah Villmow [Fri, 5 Oct 2012 17:02:14 +0000 (17:02 +0000)]
Implement TargetData with the DataLayout class, this will allow LLVM projects to transition to DataLayout without loosing functionality.

llvm-svn: 165318