Jim Ingham
5d88a068ee
Patch from Matt Kopec <matt.kopec@intel.com> to fix the problem that if two breakpoints were set on consecutive addresses, the continue from the
...
first breakpoint would skip the second.
llvm-svn: 166000
2012-10-16 00:09:33 +00:00
Jakob Stoklund Olesen
244beb42ce
Remove unused BitVectors from getAllocatableSet().
...
llvm-svn: 165999
2012-10-16 00:05:06 +00:00
Nadav Rotem
8be2a9adba
LTO also needs to initialize the TargetTransform infrastructure.
...
llvm-svn: 165997
2012-10-15 22:50:02 +00:00
Anna Zaks
c80313b888
[analyzer] CmpRuns - cleaned up the API, added relative path getter
...
llvm-svn: 165995
2012-10-15 22:48:21 +00:00
Anna Zaks
f2546f6726
[analyzer] Embed the analyzer version into the plist output.
...
llvm-svn: 165994
2012-10-15 22:48:19 +00:00
Anna Zaks
09ffeba552
[analyzer] Enhance the error message.
...
llvm-svn: 165993
2012-10-15 22:48:17 +00:00
Anna Zaks
f4fd1455e0
[analyzer] Do not warn on direct ivar assignments within copy methods.
...
llvm-svn: 165992
2012-10-15 22:48:14 +00:00
Greg Clayton
02686b80fa
Added "process plugin packet send" and "process plugin packet history" for GDB remote. "process plugin packet send" will send a packet and receive a response. "process plugin packet history" will dump the packet history buffer.
...
llvm-svn: 165991
2012-10-15 22:42:16 +00:00
Jakob Stoklund Olesen
f67bf3e0ea
Remove RegisterClassInfo::isReserved() and isAllocatable().
...
Clients can use the equivalent functions in MRI.
llvm-svn: 165990
2012-10-15 22:41:03 +00:00
Michael Liao
97bf363a9e
Add __builtin_setjmp/_longjmp supprt in X86 backend
...
- Besides used in SjLj exception handling, __builtin_setjmp/__longjmp is also
used as a light-weight replacement of setjmp/longjmp which are used to
implementation continuation, user-level threading, and etc. The support added
in this patch ONLY addresses this usage and is NOT intended to support SjLj
exception handling as zero-cost DWARF exception handling is used by default
in X86.
llvm-svn: 165989
2012-10-15 22:39:43 +00:00
Daniel Dunbar
bd847cc562
Un-revert r164907 and r164902 (+ follow-ups), 10.6 build fix to follow.
...
llvm-svn: 165988
2012-10-15 22:23:53 +00:00
Daniel Dunbar
345b09cb80
platform/clang_darwin: Drop an x86_64 slice into cc_kext_ios5.
...
- This doesn't get used, but it is a simple workaround for PR14013.
llvm-svn: 165987
2012-10-15 22:23:34 +00:00
Daniel Dunbar
ccd312520b
Un-revert r164907 and r164902 (+ follow-ups), 10.6 build fix to follow.
...
llvm-svn: 165986
2012-10-15 22:23:32 +00:00
Jakob Stoklund Olesen
cea596acf7
Remove LIS::isAllocatable() and isReserved() helpers.
...
All callers can simply use the corresponding MRI functions.
llvm-svn: 165985
2012-10-15 22:14:34 +00:00
Owen Anderson
6b7bdf88c9
Add range-based set()/reset() to BitVector. These allow fast setting/resetting of ranges of bits, particularly useful when dealing with very large BitVector's.
...
llvm-svn: 165984
2012-10-15 22:05:27 +00:00
Jakob Stoklund Olesen
c30a9af2d7
Switch most getReservedRegs() clients to the MRI equivalent.
...
Using the cached bit vector in MRI avoids comstantly allocating and
recomputing the reserved register bit vector.
llvm-svn: 165983
2012-10-15 21:57:41 +00:00
Jakob Stoklund Olesen
57e310613c
Freeze the reserved registers as soon as isel is complete.
...
Also provide an MRI::getReservedRegs() function to access the frozen
register set, and isReserved() and isAllocatable() methods to test
individual registers.
The various implementations of TRI::getReservedRegs() are quite
complicated, and many passes need to look at the reserved register set.
This patch makes it possible for these passes to use the cached copy in
MRI, avoiding a lot of malloc traffic and repeated calculations.
llvm-svn: 165982
2012-10-15 21:33:06 +00:00
Jim Grosbach
54c7432e22
ARM: v1i64 and v2i64 VBSL intrinsic support.
...
rdar://12502028
llvm-svn: 165981
2012-10-15 21:23:40 +00:00
Greg Clayton
193f70427c
Build with SDKROOT = macosx for "Debug" "DebugClang" and "Release" builds when building with Xcode.
...
llvm-svn: 165980
2012-10-15 21:17:37 +00:00
Greg Clayton
c4c5e89152
Fixed a logic error that showed up when compiling with a newer version of clang where:
...
lldb::BasicType
ClangASTContext::GetLLDBBasicTypeEnumeration (clang_type_t clang_type)
would return a bogus value.
llvm-svn: 165979
2012-10-15 21:16:43 +00:00
David Blaikie
3bc98d94ad
Add dependency on llvm-bcanalyzer from tests to the CMake build.
...
This fixes a CMake build break introduced by r165739.
Thanks Jan Voung for the quick suggestion/fix.
llvm-svn: 165978
2012-10-15 21:11:46 +00:00
Abramo Bagnara
9fb43869eb
Fixed CXXNamedCast right paren location propagation to instantiations.
...
llvm-svn: 165977
2012-10-15 21:08:58 +00:00
Abramo Bagnara
598b943410
Fixed LabelDecl source range.
...
llvm-svn: 165976
2012-10-15 21:07:44 +00:00
Abramo Bagnara
c76dcbdc0c
Fixed ClassTemplateSpecializationDecl source range.
...
llvm-svn: 165975
2012-10-15 21:06:42 +00:00
Abramo Bagnara
2fc03caee8
Fixed FunctionTypeLoc range for trailing return type.
...
llvm-svn: 165974
2012-10-15 21:05:46 +00:00
Fariborz Jahanian
bbd469bef3
Fixes location of overriding declaration with no comment
...
of their own.
llvm-svn: 165972
2012-10-15 20:57:52 +00:00
Greg Clayton
3c6aa277b9
Patch from Daniel Malea -- Updated build instructions for Linux.
...
llvm-svn: 165964
2012-10-15 20:39:39 +00:00
Nico Weber
926e072016
Revert r164907 and r164902 (+ follow-ups). They broke building on 10.6.
...
See PR14013.
llvm-svn: 165963
2012-10-15 20:37:13 +00:00
Nico Weber
bec2bf1326
Revert r164907 and r164902 (+ follow-ups). They broke building on 10.6.
...
See PR14013.
llvm-svn: 165962
2012-10-15 20:37:01 +00:00
Bill Wendling
a514ebc1db
Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change.
...
llvm-svn: 165961
2012-10-15 20:36:26 +00:00
Bill Wendling
50d27849f6
Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change.
...
llvm-svn: 165960
2012-10-15 20:35:56 +00:00
Andrew Trick
6e5f49d7b7
Check output of the misched unit tests
...
llvm-svn: 165959
2012-10-15 20:33:14 +00:00
Bill Wendling
6fe20085ac
Add comments.
...
llvm-svn: 165958
2012-10-15 19:58:25 +00:00
Chad Rosier
4a0054f383
[ms-inline asm] Rework the front-end to use the API introduced in r165946.
...
-The front-end now builds a single assembly string and feeds it to the
AsmParser. The front-end iterates on a per statement basis by calling the
ParseStatement() function. Please note, the calling of ParseStatement() and
and any notion of MCAsmParsedOperands will be sunk into the MC layer in the
near future. I plan to expose more basic APIs such as getClobbers, etc.
-The enumeration of the AsmString expressions have been reworked to use SMLocs
rather than assembly Pieces, which were being parsed in the front-end.
-The test case, t8(), was modified due to r129223. I'll have to find a way to
work around things such as these.
Sorry for the large commit, but breaking this in multiple smaller commits proved
too irritating.
llvm-svn: 165957
2012-10-15 19:56:10 +00:00
Rafael Espindola
aee00b5e72
Add a cpu to try to fix the atom builder.
...
llvm-svn: 165956
2012-10-15 19:25:43 +00:00
Chad Rosier
f3bc599680
[ms-inline asm] If we parsed a statement and the opcode is valid, then it's an instruction.
...
llvm-svn: 165955
2012-10-15 19:08:18 +00:00
Rafael Espindola
b41459a3c0
Add testcase for pr14088.
...
llvm-svn: 165954
2012-10-15 19:00:10 +00:00
Fariborz Jahanian
14ec3f3acb
structured document comment: patch to provide comment for overriding function
...
template when comment is comming from overridden declaration.
// rdar://12378793
llvm-svn: 165953
2012-10-15 18:58:50 +00:00
Andrew Trick
5a89e0ef07
misched tests: add a triple to speculatively fix windows builders.
...
llvm-svn: 165952
2012-10-15 18:21:08 +00:00
Rafael Espindola
048405f510
Make sure we iterate over newly created instructions. Fixes pr13625. Testcase to
...
follow in one sec.
llvm-svn: 165951
2012-10-15 18:21:07 +00:00
Andrew Trick
90f711da9a
misched: ILP scheduler for experimental heuristics.
...
llvm-svn: 165950
2012-10-15 18:02:27 +00:00
Argyrios Kyrtzidis
523623c239
Add an entry in CREDITS.TXT
...
llvm-svn: 165949
2012-10-15 17:34:53 +00:00
Chad Rosier
499d4a1468
[ms-inline asm] Update the end loc for ParseIntelMemOperand.
...
llvm-svn: 165947
2012-10-15 17:26:38 +00:00
Chad Rosier
0d6f149e62
[ms-inline asm] Add a few new APIs to the AsmParser class in support of MS-Style
...
inline assembly. For the time being, these will be called directly by clang.
However, in the near future I expect these to be sunk back into the MC layer
and more basic APIs (e.g., getClobbers(), getConstraints(), etc.) will be called
by clang.
llvm-svn: 165946
2012-10-15 17:19:13 +00:00
Chad Rosier
ca0ada1aeb
[ms-inline asm] Use incoming argument rather than hard coding to false.
...
llvm-svn: 165945
2012-10-15 16:50:34 +00:00
Jan Wen Voung
69082be39c
Fix a typo in bitcode docs, from 165814.
...
llvm-svn: 165944
2012-10-15 16:47:58 +00:00
Douglas Gregor
bc10b9fbc5
Teach TargetInfo to hold on to the TargetOptions with which it was
...
created.
llvm-svn: 165943
2012-10-15 16:45:32 +00:00
Micah Villmow
4bb926d91d
Resubmit the changes to llvm core to update the functions to support different pointer sizes on a per address space basis.
...
llvm-svn: 165941
2012-10-15 16:24:29 +00:00
Adhemerval Zanella
ef206f19a4
PowerPC: add EmitTCEntry class for TOC creation
...
This patch replaces the EmitRawText by a EmitTCEntry class (specialized for
each Streamer) in PowerPC64 TOC entry creation.
llvm-svn: 165940
2012-10-15 15:43:14 +00:00
Alexander Potapenko
7b03290c43
Implement internal_memmove.
...
Use internal_memmove() and internal_memcpy() in the memcpy() and memmove() wrappers
when building the dynamic runtime (OS X only), to work around a bug in resolver functions wrapping.
See also http://code.google.com/p/address-sanitizer/issues/detail?id=116
llvm-svn: 165939
2012-10-15 15:34:41 +00:00