Jakob Stoklund Olesen
b81dcdef7b
Add missing test case for r141410.
...
llvm-svn: 141498
2011-10-08 18:06:54 +00:00
Fariborz Jahanian
9059124b41
objc: Do not warn about mismatch on Super's readonly property attribute,
...
related to a readwrite property, and
Sub's readwrite property. // rdar://9396329
llvm-svn: 141497
2011-10-08 17:45:33 +00:00
Benjamin Kramer
ec173a5c92
Silence a warning about casting away constness.
...
llvm-svn: 141496
2011-10-08 16:15:07 +00:00
Benjamin Kramer
645ad1d4ae
Include direct.h for _mkdir on mingw32 too.
...
llvm-svn: 141495
2011-10-08 15:49:19 +00:00
Howard Hinnant
2a4812fd04
Fix <rdar://problem/10255403> match_results::begin() is off by one
...
llvm-svn: 141494
2011-10-08 14:36:16 +00:00
Che-Liang Chiou
8a984e9418
Revert r141079: tblgen: add preprocessor as a separate mode
...
llvm-svn: 141492
2011-10-08 12:39:26 +00:00
Nicolas Geoffray
a0263e7aca
Always check if a method or a type exist before trying to create it.
...
llvm-svn: 141490
2011-10-08 11:56:36 +00:00
NAKAMURA Takumi
0010bd96c9
lib/Frontend/CompilerInstance.cpp: Suppress a "Comparision of unsigned and signed" warning on Cygwin gcc-4.3.4.
...
llvm-svn: 141488
2011-10-08 11:31:58 +00:00
NAKAMURA Takumi
93eafc6ce1
Fix "Uninitialized" warnings.
...
llvm-svn: 141487
2011-10-08 11:31:53 +00:00
NAKAMURA Takumi
82a351197f
Whitespace
...
llvm-svn: 141486
2011-10-08 11:31:46 +00:00
NAKAMURA Takumi
648b2fafd8
lib/Object: Suppress warnings on gcc-4.3.4 cygwin
...
llvm-svn: 141485
2011-10-08 11:22:53 +00:00
NAKAMURA Takumi
f995985eba
lib/DebugInfo/DWARFDebugLine.cpp: De-Unicode-ify.
...
llvm-svn: 141484
2011-10-08 11:22:47 +00:00
NAKAMURA Takumi
ade616cb57
Whitespace
...
llvm-svn: 141483
2011-10-08 11:22:41 +00:00
David Chisnall
e0dc7cb2e2
Apparently getPtrToInt() takes an explicit type parameter to allow you to generate invalid bitcode, not so that it can actually produce a value of this type. This should fix PR11085.
...
llvm-svn: 141482
2011-10-08 08:54:36 +00:00
Anton Korobeynikov
e45373520d
Disable ABS optimization for Thumb1 target, we don't have necessary instructions there.
...
llvm-svn: 141481
2011-10-08 08:38:45 +00:00
Greg Clayton
2215230040
Changed RangeMap over to use llvm::SmallVector and updated the RangeArray and the RangeDataArray to have an extra "unsigned N" template parameter. Updated the lldb_private::Block to use a RangeArray with a uint32_t for both the function base offset and block range size, and then a 1 for the small vector size since most lexical blocks in DWARF only have 1 range. Updates the DWARFDebugRanges RangeArray to use an unsigned of 2 since most blocks that have more than one range usually have 2. Also updated a DWARFDebugAranges to default their RangeArray to use a SmallVector with unsigned size of 1 since this will take care of the .o files when doing DWARF in .o files and since there really isn't any good size we can guess with.
...
llvm-svn: 141480
2011-10-08 06:59:54 +00:00
Ted Kremenek
c168e50722
Free 'TheTargetCodeGenInfo' in the class CodeGenModule. This looks like an obvious memory leak that was reported from LLDB devs. The comment indicates the leak is deliberate, but I have no idea why this needs to be so. Please comment/revert if you know otherwise.
...
llvm-svn: 141479
2011-10-08 05:28:26 +00:00
Greg Clayton
892d898605
Added some debug code that can verify that all RangeMap.h maps are sorted when needed since RangeArray and RangeDataArray instantiations depend on it. I ran the test suite with ASSERT_RANGEMAP_ARE_SORTED defined and I got no assertions, so I disabled it prior to checkin.
...
llvm-svn: 141478
2011-10-08 03:59:55 +00:00
Greg Clayton
2e4b5c0d9d
Removed unneeded content.
...
llvm-svn: 141477
2011-10-08 03:53:14 +00:00
Akira Hatanaka
6be7d6c976
Simplify definition of FP move instructions.
...
llvm-svn: 141476
2011-10-08 03:50:18 +00:00
Akira Hatanaka
2365f90676
Define classes and multiclasses for FP binary instructions.
...
llvm-svn: 141475
2011-10-08 03:38:41 +00:00
Akira Hatanaka
c7548dec7d
Define multiclasses for FP-to-FP instructions.
...
llvm-svn: 141474
2011-10-08 03:29:22 +00:00
Akira Hatanaka
13ae13bdc2
Define classes for FP unary instructions and multiclasses for FP-to-fixed point
...
conversion instructions.
llvm-svn: 141473
2011-10-08 03:19:38 +00:00
Andrew Trick
ce0cb3a101
Unit test for LSR phi reuse in r141442.
...
llvm-svn: 141472
2011-10-08 02:34:51 +00:00
Akira Hatanaka
557c8e3443
Add patterns for unaligned load and store instructions and enable the
...
instruction selector to generate them.
llvm-svn: 141471
2011-10-08 02:24:10 +00:00
Andrew Trick
eef7308df6
Add an extra safety check in front of the optimization in r141442.
...
llvm-svn: 141470
2011-10-08 02:16:39 +00:00
Greg Clayton
e7b6681863
Started on the export table for the MappedHash.
...
llvm-svn: 141469
2011-10-08 01:13:27 +00:00
Jim Ingham
eb6ba39033
Fix the last testsuite regression from the apple-names stuff.
...
llvm-svn: 141468
2011-10-08 01:11:42 +00:00
Eli Friedman
235266700a
Fix warning on MSVC. Patch by Aaron Ballman.
...
llvm-svn: 141467
2011-10-08 01:03:47 +00:00
Bill Wendling
e9574be6a3
Use the code that lowers the arguments and spills any values which are alive
...
across unwind edges. This is for the back-end which expects such things.
The code is from the original SjLj EH pass.
llvm-svn: 141463
2011-10-08 00:56:47 +00:00
Argyrios Kyrtzidis
f8585fbe57
Try fixing windows bots.
...
llvm-svn: 141462
2011-10-08 00:54:49 +00:00
Tobias Grosser
b43ba82c94
ScopDetection: Improve error messages and add another INVALID case.
...
llvm-svn: 141461
2011-10-08 00:49:30 +00:00
Greg Clayton
ea3e7d5ccf
Added more functionality to Range template classes in RangeMap.h and converted remaining DWARF areas that were using ranges over to this class. Also converted lldb_private::Block to use it.
...
llvm-svn: 141460
2011-10-08 00:49:15 +00:00
Tobias Grosser
0ad4caa263
ScopInfo: Proporly free the local space
...
llvm-svn: 141459
2011-10-08 00:35:17 +00:00
Tobias Grosser
4f129a6b43
Show the reason a region is not a SCoP in the DOT graphs.
...
llvm-svn: 141458
2011-10-08 00:30:55 +00:00
Tobias Grosser
c4a0bd13ad
ScopDetection: Unify the handling of invalid SCoPs
...
llvm-svn: 141457
2011-10-08 00:30:48 +00:00
Tobias Grosser
a3263c85e2
Add flags to run the Polly Printers/Viewers
...
llvm-svn: 141456
2011-10-08 00:30:44 +00:00
Tobias Grosser
73600b8edd
Initialize the passes early and properly.
...
llvm-svn: 141455
2011-10-08 00:30:40 +00:00
Peter Collingbourne
6ddf7f443e
Add clang-tblgen to OPTIONAL_DIRS when building native tools for the
...
cross build, so that a native version of clang-tblgen is available.
Should unbreak Clang cross build.
Also disable Polly for the native tool build, since it depends on
external libraries which may not be available, and it isn't required
anyway.
llvm-svn: 141454
2011-10-08 00:27:38 +00:00
Peter Collingbourne
bf8989fd19
Make clang-tblgen's Makefile independent of Clang's top-level Makefile,
...
to avoid having to make it available for the cross build when it
builds only clang-tblgen.
llvm-svn: 141453
2011-10-08 00:26:35 +00:00
Sean Callanan
2590b9ac6f
Fixed a memory leak of ASTResultSynthesizers,
...
by attaching them to the ClangExpressionParser.
llvm-svn: 141452
2011-10-08 00:21:35 +00:00
Michael J. Spencer
ba4a362276
llvm-objdump: Add relocation and archive support.
...
llvm-svn: 141451
2011-10-08 00:18:30 +00:00
Michael J. Spencer
ee8fc6a622
PathV2: Add simplified version of exists that returns false on error.
...
llvm-svn: 141450
2011-10-08 00:18:12 +00:00
Michael J. Spencer
159970f733
Object: Add support for opening stdin.
...
llvm-svn: 141449
2011-10-08 00:17:58 +00:00
Michael J. Spencer
7eb8159927
Object: constize Archive.
...
llvm-svn: 141448
2011-10-08 00:17:45 +00:00
Jim Grosbach
c87d60a58c
Enable ARM mode VDUP(scalar) tests.
...
llvm-svn: 141447
2011-10-07 23:57:03 +00:00
Jim Grosbach
d0637bfc68
ARM NEON assembly parsing and encoding for VDUP(scalar).
...
llvm-svn: 141446
2011-10-07 23:56:00 +00:00
Howard Hinnant
b5a46edf35
reverting change to compatibility_version
...
llvm-svn: 141445
2011-10-07 23:55:11 +00:00
Sean Callanan
ac944eb11c
Pared out debug information from the LLVM zip file.
...
llvm-svn: 141444
2011-10-07 23:54:24 +00:00
Johnny Chen
a4e8baeb33
Add fuzz call for SBBreakpointLocation.GetAddress().
...
llvm-svn: 141443
2011-10-07 23:54:04 +00:00