Sebastian Pop
221e07e140
default to use -mv4 when no version of Hexagon has been specified
...
This fixes a bunch of make check failures of the form:
Unknown Architecture Version.
UNREACHABLE executed at ../lib/Target/Hexagon/HexagonSubtarget.cpp:60!
llvm-svn: 160518
2012-07-19 18:24:50 +00:00
Jordan Rose
3e0ec58c09
For varargs, diagnose passing ObjC objects by value like other non-POD types.
...
While we still want to consider this a hard error (non-POD variadic args are
normally a DefaultError warning), delaying the diagnostic allows us to give
better error messages, which also match the usual non-POD errors more closely.
In addition, this change improves the diagnostic messages for format string
argument type mismatches by passing down the type of the callee, so we can
say "variadic method" or "variadic function" appropriately.
<rdar://problem/11825593>
llvm-svn: 160517
2012-07-19 18:10:23 +00:00
Jordan Rose
96c49686b9
Capitalize "Objective-C" and "C++" in user-facing contexts.
...
No functionality change.
llvm-svn: 160516
2012-07-19 18:10:18 +00:00
Jordan Rose
58bbe4206f
Don't crash checking a format string if one of the arguments is invalid.
...
Previously, we would ask for the SourceLocation of an argument even if
it were NULL (i.e. if Sema resulted in an ExprError trying to build it).
<rdar://problem/11890818>
llvm-svn: 160515
2012-07-19 18:10:08 +00:00
Sean Callanan
224f6f5382
Changed ProcessGDBRemote to avoid the reserved
...
port range. Also added a comment indicating that
more work is needed.
<rdar://problem/11580051>
llvm-svn: 160514
2012-07-19 18:07:36 +00:00
Nuno Lopes
c14776d406
reimplement truncate() to make it optimal.
...
It is optimal at least up to 7 bits (I've tested all such cases)
This change to truncate() allows a little simplification to the multiplication code,
and it also makes multiplication optimal :)
llvm-svn: 160512
2012-07-19 16:27:45 +00:00
Argyrios Kyrtzidis
ac4cdc8ef4
Add a test case for rdar://11806334.
...
Makes sure we don't overflow the stack.
llvm-svn: 160511
2012-07-19 16:08:28 +00:00
Howard Hinnant
07ce90bb9d
Jean-Daniel : clang now supports all required type_traits.
...
llvm-svn: 160510
2012-07-19 15:59:52 +00:00
Howard Hinnant
51eb2adb2d
Jean-Daniel updates the libc++ index page to reflect not so recent changes in C++ standard status.
...
llvm-svn: 160509
2012-07-19 15:57:51 +00:00
Alexey Samsonov
3735faa108
[ASan] subtract one from PCs in ASan error reports (as they originally contain return addresses). Make output tests stricter.
...
llvm-svn: 160508
2012-07-19 15:07:26 +00:00
Benjamin Kramer
347d559323
Pull the simple parts of DenseMapInfo<DebugLoc> inline and prune includes.
...
llvm-svn: 160507
2012-07-19 15:00:34 +00:00
Filipe Cabecinhas
e6dc330748
Make git not delete my_working_dir. Otherwise a git checkout would be different from an svn checkout.
...
llvm-svn: 160506
2012-07-19 13:53:12 +00:00
NAKAMURA Takumi
67ce1930c1
test/DebugInfo/dwarfdump-test.test: Tweak expressions for Win32 to match backslashes. They are still odd, though.
...
For example, Paths are printed on Win32 as below;
/tmp/dbginfo\def2.cc:4:0
/tmp/dbginfo\include\decl2.h:1:0
/tmp/include\decl.h:5:0
llvm-svn: 160505
2012-07-19 13:40:09 +00:00
Kostya Serebryany
7a32f8dcb8
[tsan] fix lint
...
llvm-svn: 160504
2012-07-19 12:22:04 +00:00
Kostya Serebryany
a415df6539
[tsan] minor fixes in tsan allocator and its testlib. Now runs fine with chrome
...
llvm-svn: 160503
2012-07-19 12:15:33 +00:00
Alexander Potapenko
628b349b17
Suppress the stderr output from atos.
...
llvm-svn: 160502
2012-07-19 12:01:07 +00:00
Benjamin Kramer
f364a63c3e
Replace some explicit compare loops with std::equal.
...
No functionality change.
llvm-svn: 160501
2012-07-19 10:46:05 +00:00
Jush Lu
e67e07b901
[arm-fast-isel] Add support for vararg function calls.
...
llvm-svn: 160500
2012-07-19 09:49:00 +00:00
Alexey Samsonov
7acdc1738f
[Sanitizer] When obtaining the data for loaded modules, add address ranges of loadable segments only. Looks like address range of PT_TLS segment may intersect with loadable segments of other modules.
...
llvm-svn: 160498
2012-07-19 07:51:20 +00:00
Alexey Samsonov
e16e16add6
DebugInfo library: add support for fetching absolute paths to source files
...
(instead of basenames) from DWARF. Use this behavior in llvm-dwarfdump tool.
Reviewed by Benjamin Kramer.
llvm-svn: 160496
2012-07-19 07:03:58 +00:00
Ted Kremenek
6080d32194
Simplify UninitializedValues.cpp by removing logic to handle the previous (imprecise) representation
...
of '&&' and '||' in the CFG. This is no longer needed, and greatly simplifies the code.
llvm-svn: 160494
2012-07-19 04:59:05 +00:00
Galina Kistanova
aaf9735951
Fixed few warnings.
...
llvm-svn: 160493
2012-07-19 04:50:12 +00:00
Michael Han
7973250e33
Remove an unused header
...
llvm-svn: 160492
2012-07-19 04:10:19 +00:00
Bob Wilson
6a039161d7
Define __FINITE_MATH_ONLY__ based on -ffast-math and -ffinite-math-only.
...
This macro was being unconditionally set to zero, preceded by a FIXME comment.
This fixes <rdar://problem/11845441>. Patch by Michael Gottesman!
llvm-svn: 160491
2012-07-19 03:52:53 +00:00
Aaron Ballman
24a1047c8c
Relaxed enumeration constant naming rules for scoped enumerators so they no longer emit a diagnostic when the enumeration's name matches that of the class. Fixes PR13128.
...
llvm-svn: 160490
2012-07-19 03:12:23 +00:00
Richard Smith
18eff57031
Silence another GCC warning.
...
llvm-svn: 160488
2012-07-19 03:08:07 +00:00
Greg Clayton
7dab2be287
<rdar://problem/11908082>
...
Allow debugserver to match process names that are longer than MAXCOMLEN (16) characters. We do this by digging up argv[0] from another sysctl if the process name supplied is longer than 16 characters.
llvm-svn: 160487
2012-07-19 02:45:35 +00:00
NAKAMURA Takumi
9efaf227d1
Revert r160404, "Eliminating the GCC_CAST hack, take two.", for now.
...
It crashes mingw32-gcc-4.4.
llvm-svn: 160486
2012-07-19 02:27:55 +00:00
Richard Smith
b1680655a6
Silence GCC warnings.
...
llvm-svn: 160485
2012-07-19 01:53:26 +00:00
Bob Wilson
25d3bfd895
Force the OS X version to 10.6 for old-style simulator builds.
...
The hack of recognizing a -D__IPHONE_OS_VERSION_MIN_REQUIRED option
in place of -mios-simulator-version-min leaves the Darwin version
unspecified. It can be set separately with -mmacosx-version-min (which
makes no sense) or inferred to match the host version (which is unpredictable
and usually wrong). This really needs to get cleaned up, but in the
meantime, force the OS X version to 10.6 so that the behavior is sane for
the iOS simulator. Thanks for Argyrios for the patch.
<rdar://problem/11858187>
llvm-svn: 160484
2012-07-19 01:35:55 +00:00
Bill Wendling
723444e767
Remove tabs.
...
llvm-svn: 160483
2012-07-19 00:25:04 +00:00
Bill Wendling
bd8e5d537d
Remove tabs.
...
llvm-svn: 160482
2012-07-19 00:23:13 +00:00
Dmitri Gribenko
e82ae819d3
CommentSema: add more inline commands to tables
...
llvm-svn: 160481
2012-07-19 00:21:03 +00:00
Bill Wendling
4e68e0673a
Remove tabs.
...
llvm-svn: 160480
2012-07-19 00:17:40 +00:00
Bill Wendling
318f03f56f
Remove tabs.
...
llvm-svn: 160479
2012-07-19 00:15:11 +00:00
Chad Rosier
09a06c257e
Tweak prose.
...
llvm-svn: 160478
2012-07-19 00:11:45 +00:00
Bill Wendling
ea6397f67b
Remove tabs.
...
llvm-svn: 160477
2012-07-19 00:11:40 +00:00
Bill Wendling
2b07965042
Remove tabs.
...
llvm-svn: 160476
2012-07-19 00:06:06 +00:00
Bill Wendling
d163405df8
Remove tabs.
...
llvm-svn: 160475
2012-07-19 00:04:14 +00:00
Dmitri Gribenko
7b2ca3e80b
Fix ParagraphComment::isWhitespace(): a paragraph without a non-whitespace
...
TextComment node was considered whitespace even if it contained other child
nodes.
llvm-svn: 160474
2012-07-19 00:01:56 +00:00
Bill Wendling
0de5913855
Remove tabs.
...
llvm-svn: 160473
2012-07-19 00:01:33 +00:00
Bill Wendling
a88946e21a
Remove tabs.
...
llvm-svn: 160472
2012-07-19 00:01:00 +00:00
Bill Wendling
efe80cb87e
Remove tabs.
...
llvm-svn: 160471
2012-07-18 23:58:37 +00:00
Richard Smith
0bf93aa6b1
Fix OverloadCandidateSet::clear to not leak PartialDiagnostics, found by Samuel
...
Panzer. I've not been able to trigger a failure caused by this, so no test yet.
Also included is a small change from Paul Robinson to only consider the
FailureKind if the overload candidate did actually fail.
llvm-svn: 160470
2012-07-18 23:52:59 +00:00
Marshall Clow
341f496538
Added description of Atom types from Nick's email
...
llvm-svn: 160468
2012-07-18 23:20:40 +00:00
Dmitri Gribenko
c16cd2a67b
Comment::dump(): show name of inline command
...
llvm-svn: 160467
2012-07-18 23:20:23 +00:00
Greg Clayton
037520e9cf
Cleaned up the lldb_private::Mangled class to get rid of the tokenizing code that has bit rotted and isn't being used. Also cleaned up the API to the "lldb_private::Mangled" to always take "const ConstString &" arguments instead of both "const ConstString &" and "const char *".
...
llvm-svn: 160466
2012-07-18 23:18:10 +00:00
Richard Trieu
9208abd7c3
Move around some enum elements so that lastMRM corrects gets assigned 56, which
...
is one more that MRM_DF which is 55. Previously, it held value 45, the same
as MRM_D0.
llvm-svn: 160465
2012-07-18 23:04:22 +00:00
Dmitri Gribenko
e4a3997d70
Comment parsing: don't parse whitespace before \endverbatim as a separate line of whitespace.
...
llvm-svn: 160464
2012-07-18 23:01:58 +00:00
Jim Grosbach
66372684f7
TblGen: Tweak to pretty-print DAGISel.inc a bit better.
...
llvm-svn: 160463
2012-07-18 22:41:03 +00:00