Weiming Zhao
090edf7e67
temporarily revert the patch due to some conflicts
...
llvm-svn: 175107
2013-02-13 23:24:40 +00:00
Greg Clayton
e40346050a
A lot more cleanup on the AppleObjCRuntimeV2 class.
...
llvm-svn: 175106
2013-02-13 23:22:26 +00:00
Greg Clayton
c03e3c198a
Cleaned up and removed unused code.
...
llvm-svn: 175105
2013-02-13 23:09:45 +00:00
Bill Wendling
7297b864a4
Retain the name of the new internal global that's been shrunk.
...
It's possible (e.g. after an LTO build) that an internal global may be used for
debugging purposes. If that's the case appending a '.b' to it makes it hard to
find that variable. Steal the name from the old GV before deleting it so that
they can find that variable again.
llvm-svn: 175104
2013-02-13 23:00:51 +00:00
Matt Kopec
3c0ed76a9d
Skip another two other tests asserting on Linux in RecordLayoutBuilder::updateExternalFieldOffset().
...
llvm-svn: 175103
2013-02-13 22:59:58 +00:00
Anshuman Dasgupta
e96f804eba
Hexagon: add support for predicate-GPR copies.
...
llvm-svn: 175102
2013-02-13 22:56:34 +00:00
Greg Clayton
a66c4d96f0
<rdar://problem/13210494>
...
Parse objective C information as efficiently as possible and without taking dangerous runtime locks.
Reworked the way objective C information is parsed by:
1 - don't read all class names up front, this is about 500K of data with names
2 - add a 32 bit hash map that maps a hash of a name to the Class pointer (isa)
3 - Improved name lookups by using the new hash map
4 - split up reading the objc runtime info into dynamic and shared cache since the shared cache only needs to be read once.
5 - When reading all isa values, also get the 32 bit hash instead of the name
6 - Read names lazily now that we don't need all names up front
7 - Allow the hash maps to not be there and still have this function correctly
There is dead code in here with all of the various methods I tried. I want to check this in first to not lose any of it in case we need to revert to any of the extra code. I will promptly cleanup and commit again.
llvm-svn: 175101
2013-02-13 22:56:14 +00:00
Fariborz Jahanian
3c8220405d
objective-C: Make order of ivars which are synthesized
...
in the course of property synthesis deterministic (ordered
by their type size), instead of having hashtable order
(as it is currently). // rdar://13192366
llvm-svn: 175100
2013-02-13 22:50:36 +00:00
Alex Rosenberg
cb06d3030c
llvm-gcc -pedantic warns about C++ comments in C90 mode even if they're
...
inside an #if 0 block.
llvm-svn: 175098
2013-02-13 22:45:52 +00:00
Ryan Govostes
568aa64f42
Fix iterator definitions for ImmutableSet and ImmutableMap.
...
llvm-svn: 175097
2013-02-13 22:37:27 +00:00
Tom Stellard
91da4e9199
R600: Add support for 128-bit parameters
...
NOTE: This is a candidate for the Mesa stable branch.
llvm-svn: 175096
2013-02-13 22:05:20 +00:00
Daniel Malea
5a52f2ec73
Skip test that causes lldb to assert due to inferior getting a SIGSEGV with si_code == SI_KERNEL (PR-15258)
...
- crash does not always reproduce
llvm-svn: 175095
2013-02-13 22:05:18 +00:00
Daniel Malea
5703bdcc49
Allow expression evaluation to work when multiple threads exist in the inferior (on Linux)
...
- handle m_resume_state == eStateStopped || eStateSuspended in DoResume rather than asserting
llvm-svn: 175094
2013-02-13 22:00:44 +00:00
Eli Bendersky
3ffeb68dd7
s/grep/FileCheck/ in some tests
...
llvm-svn: 175093
2013-02-13 22:00:37 +00:00
Nick Lewycky
beba972659
Don't build tail calls to functions with three inreg arguments on x86-32 PIC.
...
Fixes PR15250!
llvm-svn: 175092
2013-02-13 21:59:15 +00:00
Sean Callanan
d7739824a6
Made NULL, nil, and Nil use the appropriate
...
builtins.
<rdar://problem/13204027>
llvm-svn: 175091
2013-02-13 21:53:01 +00:00
Tanya Lattner
33455e10c9
Remove outdated performance.html webpage.
...
llvm-svn: 175090
2013-02-13 21:51:18 +00:00
Eli Bendersky
04553985d7
s/grep/FileCheck/ in some tests
...
llvm-svn: 175089
2013-02-13 21:46:38 +00:00
Weiming Zhao
0632a4b002
Bug fix 13622: Add paired register support for inline asm with 64-bit data on ARM
...
llvm-svn: 175088
2013-02-13 21:43:02 +00:00
Chad Rosier
da05cf7ba7
[ms-inline asm] Fix up test case for non-Darwin platforms.
...
llvm-svn: 175087
2013-02-13 21:41:58 +00:00
Jyotsna Verma
d92252469e
Hexagon: Use absolute addressing mode loads/stores for global+offset
...
instead of redefining separate instructions for them.
llvm-svn: 175086
2013-02-13 21:38:46 +00:00
Ryan Govostes
f5d710f0b3
Add iterator_traits to ImmutableMap and ImmutableSet.
...
llvm-svn: 175085
2013-02-13 21:38:22 +00:00
Chad Rosier
5bdd8ed74d
[ms-inline asm] Add test case for r175083.
...
llvm-svn: 175084
2013-02-13 21:34:54 +00:00
Chad Rosier
282edd7caa
[ms-inline-asm] Add support for memory references that have non-immediate
...
displacements.
rdar://12974533
llvm-svn: 175083
2013-02-13 21:33:44 +00:00
Chad Rosier
f43fcf5194
[ms-inline asm] Add a comment about the determinism of the rewrite sort.
...
llvm-svn: 175082
2013-02-13 21:27:17 +00:00
Dmitri Gribenko
b5e23ef425
configure: remove workaround for gcc's -Wno-maybe-uninitialized
...
Since r174770 gcc version check is not needed because CXX_FLAG_CHECK
implements the workaround itself.
llvm-svn: 175080
2013-02-13 21:19:39 +00:00
Richard Smith
6d9f13127c
ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11,
...
base-to-derived casts have undefined behavior if the object is not actually an
instance of the derived type. Runtime library part.
llvm-svn: 175079
2013-02-13 21:18:23 +00:00
Richard Smith
2c5868c334
ubsan: Add checking for invalid downcasts. Per [expr.static.cast]p2 and p11,
...
base-to-derived casts have undefined behavior if the object is not actually an
instance of the derived type.
llvm-svn: 175078
2013-02-13 21:18:23 +00:00
Sean Silva
6c95b97bf6
[docs] PR15254: Add "AST" to the lexicon.
...
llvm-svn: 175077
2013-02-13 21:17:20 +00:00
Benjamin Kramer
0aa2ad6104
LoopVectorize: Simplify code for clarity.
...
No functionality change.
llvm-svn: 175076
2013-02-13 21:12:29 +00:00
Bill Wendling
a361c9dd30
Add a blurb about the attributes changes to the release notes.
...
llvm-svn: 175075
2013-02-13 21:10:15 +00:00
Daniel Jasper
b9caeacd02
Allow breaking after the return type in function declarations.
...
This has so far been disabled for Google style, but should be done
before breaking at nested name specifiers or in template parameters.
Before (in Google style):
template <typename T>
aaaaaaaa::aaaaa::aaaaaa<T, aaaaaaaaaaaaaaaaaaaaaaaaa> aaaaaaaaaaaaaaaaaaaaaaaa<
T>::aaaaaaa() {}
After:
template <typename T>
aaaaaaaa::aaaaa::aaaaaa<T, aaaaaaaaaaaaaaaaaaaaaaaaa>
aaaaaaaaaaaaaaaaaaaaaaaa<T>::aaaaaaa() {}
llvm-svn: 175074
2013-02-13 20:33:44 +00:00
Reed Kotler
f662cff689
For Mips 16, add the optimization where the 16 bit form of addiu sp can be used
...
if the offset fits in 11 bits. This makes use of the fact that the abi
requires sp to be 8 byte aligned so the actual offset can fit in 8
bits. It will be shifted left and sign extended before being actually used.
The assembler or direct object emitter will shift right the 11 bit
signed field by 3 bits. We don't need to deal with that here.
llvm-svn: 175073
2013-02-13 20:28:27 +00:00
Manman Ren
7a4c8a783c
Clean up LDV, no functionality change.
...
Remove dead functions: renameRegister
Move private member variables from LDV to Impl
Remove ssp/uwtable from testing case
llvm-svn: 175072
2013-02-13 20:23:48 +00:00
Andrew Kaylor
b32581fe5c
Improved handling for DW_AT_const_value
...
llvm-svn: 175071
2013-02-13 19:57:06 +00:00
Bill Wendling
41529c13c4
Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's built in the Apple way.
...
llvm-svn: 175070
2013-02-13 19:44:17 +00:00
Bill Wendling
89ff87ec3b
Use 'RC_XBS' instead of 'RC_BUILDIT' to catch all times when it's built in the Apple way.
...
llvm-svn: 175069
2013-02-13 19:44:08 +00:00
Daniel Jasper
525264c369
Fix comment alignment close to the column limit.
...
Due to an error in one of the expressions, we used to not align comments
although it would have been possible.
llvm-svn: 175068
2013-02-13 19:25:54 +00:00
Andrew Trick
553e0fe365
MIsched: HazardRecognizers are created for each DAG. Free them.
...
llvm-svn: 175067
2013-02-13 19:22:27 +00:00
David Peixotto
6eecb28d3a
PR14992 - Tablegen incorrectly converts ARM tLDMIA_UPD pseudo to tLDMIA
...
Fixed bug in tablegen conversion when source pseudo instruction has
a different number of arguments than the destination instruction.
llvm-svn: 175066
2013-02-13 19:21:47 +00:00
Daniel Malea
f406891857
Skip tests that assert on Linux in RecordLayoutBuilder::updateExternalFieldOffset()
...
- Filed bugzilla PR-15256
llvm-svn: 175065
2013-02-13 18:56:41 +00:00
Daniel Malea
52d0f40ad3
Disable TestConditionalBreak.py due to Linux crash
...
- test was passing before r174793...
llvm-svn: 175064
2013-02-13 18:55:17 +00:00
Chad Rosier
eb5c16893b
[ms-inline-asm] Use an array_pod_sort, rather than a std:sort.
...
llvm-svn: 175063
2013-02-13 18:38:58 +00:00
Argyrios Kyrtzidis
5d47a9b253
[libclang] Fix annotation of a range where the begin or end location
...
is inside a macro argument.
Previously we would give up and not annotate anything in the range.
rdar://11891550
llvm-svn: 175062
2013-02-13 18:33:28 +00:00
Greg Clayton
142c5a4f66
Quiet "the missing case in switch statement" warnings from newer clang builds.
...
llvm-svn: 175061
2013-02-13 18:15:56 +00:00
Pekka Jaaskelainen
0d23725a8d
Metadata for annotating loops as parallel. The first consumer for this
...
metadata is the loop vectorizer.
See the documentation update for more info.
llvm-svn: 175060
2013-02-13 18:08:57 +00:00
Alexander Potapenko
c5ba5ef3c5
[ASan] When re-executing the process on OS X, make sure we update the existing DYLD_INSERT_LIBRARIES correctly.
...
Previously ASan used to hang in an exec loop, because it failed to overwrite the env var value
(see https://code.google.com/p/address-sanitizer/issues/detail?id=159 ).
llvm-svn: 175059
2013-02-13 17:52:55 +00:00
Krzysztof Parzyszek
2680b53d90
Add registration for PPC-specific passes to allow the IR to be dumped
...
via -print-after-all.
llvm-svn: 175058
2013-02-13 17:40:07 +00:00
Benjamin Kramer
8e2637e2b0
X86: Disable generation of rep;movsl when %esi is used as a base pointer.
...
This happens when there is both stack realignment and a dynamic alloca in the
function. If we overwrite %esi (rep;movsl uses fixed registers) we'll lose the
base pointer and the next register spill will write into oblivion.
Fixes PR15249 and unbreaks firefox on i386/freebsd. Mozilla uses dynamic allocas
and freebsd a 4 byte stack alignment.
llvm-svn: 175057
2013-02-13 13:40:35 +00:00
Dmitry Vyukov
3c2489e2c3
tsan: do not imitate memory write on malloc() (Go)
...
better memory range access functions (put only 1 event to trace) (Go)
llvm-svn: 175056
2013-02-13 13:05:36 +00:00