Anna Zaks
8d1f1f3b06
[analyzer] Clarify the values in Dyn. Dispatch Bifurcation map.
...
llvm-svn: 161616
2012-08-09 21:02:41 +00:00
Chad Rosier
543cb3e93a
[ms-inline asm] Simplify logic for empty asm statements.
...
llvm-svn: 161615
2012-08-09 20:52:43 +00:00
Chad Rosier
11ede938e9
[ms-inline asm] Instantiate the various parts to the AsmParser.
...
llvm-svn: 161614
2012-08-09 20:47:38 +00:00
Chandler Carruth
27a6c1ed91
Use parallel dirs here, there shouldn't be cross-tool dependencies
...
anyways. Also place it after the config makefile inclusion which seems
the more canonical location.
llvm-svn: 161613
2012-08-09 20:47:32 +00:00
Chandler Carruth
69335414c1
Make all of the tools build in parallel. Missing this caused incremental
...
rebuilds to serially link each tool, which is really really slow.
We still have to build libclang serially first because c-index-test
depends on it.
llvm-svn: 161612
2012-08-09 20:40:24 +00:00
Jim Ingham
462227b08b
Turn on function args by default in thread & frame formats.
...
<rdar://problem/11703715>
llvm-svn: 161611
2012-08-09 20:29:34 +00:00
Chandler Carruth
4cbe653ace
Teach the LLVM test makefile to run the extra Clang tools' test suites
...
as part of check-all.
llvm-svn: 161610
2012-08-09 20:26:41 +00:00
Chandler Carruth
60a232c82d
Recurse into the extra tools repo the correct way from the Makefile
...
build system. Thanks to Nick for pointing at the actual construct which
should be used here.
llvm-svn: 161609
2012-08-09 20:21:38 +00:00
Jack Carter
120a30a732
Another 32 to 64 bit sign extension bug.
...
The fields in the td definition were switched.
llvm-svn: 161607
2012-08-09 19:43:18 +00:00
Enrico Granata
7ec18e3d10
<rdar://problem/10449092> Adding a new uppercase hex format specifier. This commit also changes the short names for formats so that uppercase hex can be 'X', which was previously assigned to hex float. hex float now has no short name.
...
llvm-svn: 161606
2012-08-09 19:33:34 +00:00
Richard Smith
10c6072d61
In 'delete []', the '[]' never starts a lambda. Update a FIXME with a standard reference and add a test.
...
llvm-svn: 161604
2012-08-09 19:01:51 +00:00
Anna Zaks
85383182ec
[analyzer] Improve readability of the dyn. dispatch bifurcation patch
...
r161552.
As per Jordan's feedback.
llvm-svn: 161603
2012-08-09 18:43:00 +00:00
Dmitri Gribenko
bacbc08b98
Remove absolute file path in test.
...
llvm-svn: 161602
2012-08-09 18:35:49 +00:00
Dmitri Gribenko
ba7aca3b38
Comment to HTML and XML conversion: ignore commands that contain a declaration
...
as their argument. For example, \fn, \function, \typedef, \method, \class etc.
llvm-svn: 161601
2012-08-09 18:20:29 +00:00
Sean Callanan
bcf897fa89
LLDB no longer prints <no result> by default if
...
the expression returns nothing. There is now a
setting, "notify-void." When the user enables
that setting, lldb prints (void) if an expression's
result is void. Otherwise, lldb is silent.
<rdar://problem/11225150>
llvm-svn: 161600
2012-08-09 18:18:47 +00:00
Simon Atanasyan
38c63ed5f8
Fix the test case. Now it does not depend on the method used to pass vector arguments to the function.
...
Reviewed by Anton Lokhmotov.
llvm-svn: 161597
2012-08-09 17:49:22 +00:00
Dmitri Gribenko
dcbc8ce2b5
Comment to HTML and XML conversion: use CommandTraits to classify commands.
...
This also fixes a bug in comment to XML conversion: \result was just an
ordinary paragraph, not an alias for \returns.
llvm-svn: 161596
2012-08-09 17:33:20 +00:00
Chad Rosier
d5c43a5f4b
[ms-inline asm] Initialize targets and assembly printers/parsers.
...
llvm-svn: 161595
2012-08-09 17:33:11 +00:00
Chad Rosier
bf40d6b6a5
[ms-inline asm] Add various MC components to clang build to support MS-style inline assembly.
...
llvm-svn: 161594
2012-08-09 17:17:01 +00:00
Fariborz Jahanian
db5743d1b4
objective-C: minor refactoring in method
...
definition parsing logic.
llvm-svn: 161593
2012-08-09 17:15:00 +00:00
Enrico Granata
2b2631c915
<rdar://problem/11505459> Stripping off the object's type from the output of the 'po' command
...
llvm-svn: 161592
2012-08-09 16:51:25 +00:00
Alexander Potapenko
8aba007fe1
Add a test checking that all the "__asan_" interface functions are present in a binary built with -dead_strip.
...
Fix force_interface_symbols() so that none of the interface symbols is stripped.
llvm-svn: 161582
2012-08-09 16:05:17 +00:00
Arnold Schwaighofer
81b2eec1ab
Patch to implement UMLAL/SMLAL instructions for the ARM architecture
...
This patch corrects the definition of umlal/smlal instructions and adds support
for matching them to the ARM dag combiner.
Bug 12213
Patch by Yin Ma!
llvm-svn: 161581
2012-08-09 15:25:52 +00:00
Alexander Potapenko
03ee064845
Make the non-interface mach_override functions static to avoid name clashes with user code that may contain its own mach_override.
...
llvm-svn: 161577
2012-08-09 13:33:02 +00:00
Alexey Samsonov
f343eb7df4
[ASan] Move mac-specific error reports to asan_report.cc as well
...
llvm-svn: 161576
2012-08-09 12:15:40 +00:00
Alexey Samsonov
b53a670817
[ASan] Small fix to please tests on Windows, where stack unwinding using provided pc/bp works too bad
...
llvm-svn: 161575
2012-08-09 11:29:13 +00:00
Alexey Samsonov
f688412b8c
[ASan] Move __asan_report_error implementation to asan_report.cc
...
llvm-svn: 161574
2012-08-09 10:56:57 +00:00
Alexander Potapenko
ba6174889c
Use a switch instead of a simple condition in force_interface_symbols().
...
Otherwise Clang eliminates everything after the first interface symbol that is marked noreturn.
llvm-svn: 161573
2012-08-09 09:46:12 +00:00
Alexey Samsonov
65b9acf0af
[ASan] move code that describes globals to asan_report.cc
...
llvm-svn: 161572
2012-08-09 09:27:24 +00:00
Alexey Samsonov
4ce12349d6
[ASan] move some functions that describe addresses to asan_report.cc
...
llvm-svn: 161571
2012-08-09 09:06:52 +00:00
Alexey Samsonov
c0ff933d8b
[ASan] Move error reporting code away from file with interceptors
...
llvm-svn: 161570
2012-08-09 08:32:33 +00:00
Alexey Samsonov
b4b316fc5b
[ASan] Move error reports away from ASan allocator. Add new source file to CMakeLists as well
...
llvm-svn: 161569
2012-08-09 08:15:46 +00:00
Alexey Samsonov
aa05110a17
[ASan] Create new files asan_report.{h,cc} as a preparation for refactoring of ASan error reporting code.
...
Currently ASan reports many kinds of errors, and the code that actually prints error messages can
be found inside allocator, OS-specific files, interceptors code etc.
An example of maintenance troubles this situation causes:
There is currently an ASan interface function that registers
callback which should take the char buffer with error report printed by ASan.
This function is now broken, as one has to insert callback calls to all the places in
ASan code where the error reports are printed, surprisingly it is not only
"__asan_report_error" function...
llvm-svn: 161568
2012-08-09 07:40:58 +00:00
Anna Zaks
bc6d0ccf92
Unbreak the build.
...
Declaring "const Decl *Decl" is not a good idea.
llvm-svn: 161567
2012-08-09 02:57:02 +00:00
Nadav Rotem
e0f84d31c8
Fix the legalization of ExtLoad on ARM. ExpandUnalignedLoad did not properly
...
handle the cases where the memory value type was illegal.
PR 13111.
llvm-svn: 161565
2012-08-09 01:56:44 +00:00
Eric Christopher
245f9b5552
This field isn't used anymore, use it with HWEncoding instead.
...
llvm-svn: 161564
2012-08-09 01:39:32 +00:00
Sean Callanan
9bdcb7af68
llvm.zip rebuilt with libc++ for Mac OS X.
...
<rdar://problem/11930775>
llvm-svn: 161563
2012-08-09 01:33:24 +00:00
Sean Callanan
1727742634
On Mac OS X, lldb will now build c++11 and use
...
libc++. We also no longer use the GNU extensions
to C++ and C (we didn't use them anyway).
This also means that the LLVM we use must be
built with the new libc++.
I will commit llvm.zip next.
<rdar://problem/11930775>
llvm-svn: 161562
2012-08-09 01:32:13 +00:00
Victor Oliveira
9d4b8f5a7f
Support for experimental targets
...
Added LLVM_EXPERIMENTAL_TARGETS_TO_BUILD in CMake and --enable-experimental-targets in configure.
llvm-svn: 161561
2012-08-09 01:13:59 +00:00
Sean Callanan
ecb20887d8
Made lldb.swig include <string>, which it requires.
...
llvm-svn: 161560
2012-08-09 00:53:54 +00:00
Sean Callanan
9a028519e8
Removed explicit NULL checks for shared pointers
...
and instead made us use implicit casts to bool.
This generated a warning in C++11.
<rdar://problem/11930775>
llvm-svn: 161559
2012-08-09 00:50:26 +00:00
Sean Callanan
33baca29e5
When compiling with C++11, switch from
...
hash_multimap to unordered_multimap.
<rdar://problem/11930775>
llvm-svn: 161558
2012-08-09 00:46:55 +00:00
Anna Zaks
23a6201890
[analyzer] Cleanup of malloc checker.
...
Remove Escaped state, which is not really necessary. We can just stop
tracking the symbol instead of keeping it around and marking escaped.
llvm-svn: 161557
2012-08-09 00:42:24 +00:00
Sean Callanan
91e776d132
Now that the testcase is fixed, it is no longer
...
an expected failure.
llvm-svn: 161556
2012-08-09 00:40:16 +00:00
Enrico Granata
6656e6c2b6
<rdar://problem/12061386> Fixing data-formatter-cpp test case - previous version had an unfortunate dependency on the value of uninitialized memory
...
llvm-svn: 161555
2012-08-09 00:35:41 +00:00
Eli Friedman
e66abdafa6
Fix AAPCS ABI. I can't actually test this, but it restores the behavior from before r159168. PR13562.
...
llvm-svn: 161554
2012-08-09 00:31:40 +00:00
Matt Beaumont-Gay
8e57e87043
MachineRegisterInfo was already a friend of MachineOperand, and GCC complains
...
about repeated friending.
llvm-svn: 161553
2012-08-09 00:30:39 +00:00
Anna Zaks
123af098b8
[analyzer] Bifurcate the path with dynamic dispatch.
...
This is an initial (unoptimized) version. We split the path when
inlining ObjC instance methods. On one branch we always assume that the
type information for the given memory region is precise. On the other we
assume that we don't have the exact type info. It is important to check
since the class could be subclassed and the method can be overridden. If
we always inline we can loose coverage.
Had to refactor some of the call eval functions.
llvm-svn: 161552
2012-08-09 00:21:33 +00:00
Dmitri Gribenko
a7b3214c4e
Add new file CommentCommandTraits.cpp to CMakeLists.txt.
...
llvm-svn: 161551
2012-08-09 00:16:26 +00:00
Chandler Carruth
6d8bf5bcd2
Fix the order of the link arguments for this tool. I think there is
...
something fishy with the rest of the order too, but this at least lets
it build for me.
llvm-svn: 161550
2012-08-09 00:12:21 +00:00