Johnny Chen
77d8fa362b
Modification of the expected start strings for simple 'expr' output involving persistent variables.
...
llvm-svn: 115819
2010-10-06 19:38:08 +00:00
Johnny Chen
7731457ac9
Modification of the expected pattern for 'expr this->m_c_int' output.
...
llvm-svn: 115818
2010-10-06 19:32:50 +00:00
Rafael Espindola
d444577382
If a symbol is global, reloc against it even if it is in a mergeable section.
...
llvm-svn: 115817
2010-10-06 19:27:21 +00:00
John McCall
569eafce63
Re-enable EH cleanups to destroy __block variables, now that we have a moment to
...
deal with the consequences. Fixes rdar://problem/8224178.
llvm-svn: 115816
2010-10-06 18:56:43 +00:00
Greg Clayton
b4fb2a991c
Leaving in deprecated functions until we can get a clean build with the new APIs in place before removing the deprecated functions.
...
llvm-svn: 115815
2010-10-06 18:44:26 +00:00
Nick Lewycky
3005242401
Silence unused variable warning in Release builds.
...
llvm-svn: 115806
2010-10-06 18:37:39 +00:00
Devang Patel
c0601d1e99
Do not emit subrange for incomplete array type.
...
This is tested by ptype.exp in gdb testsuite.
llvm-svn: 115805
2010-10-06 18:30:00 +00:00
Johnny Chen
df2dc0f6f2
Modification of the expected substrings for the print representations of SBProcess and SBThread.
...
llvm-svn: 115804
2010-10-06 18:16:19 +00:00
Nick Lewycky
ec0da969fb
Remove unused variables.
...
llvm-svn: 115802
2010-10-06 18:11:50 +00:00
Greg Clayton
cf4f56c4cb
Fixed a few issues with the example script.
...
llvm-svn: 115801
2010-10-06 17:33:30 +00:00
Fariborz Jahanian
4801cc6315
Issue deprecated warning when typeof uses typedef
...
based on underlying type's deprecatedness.
llvm-svn: 115800
2010-10-06 17:00:02 +00:00
Dan Gohman
3ab7e510e9
Remove compatibilty code for old-style multiple return values.
...
llvm-svn: 115799
2010-10-06 16:59:24 +00:00
Jim Grosbach
8025f89860
target operand flag values aren't a bitmask
...
llvm-svn: 115798
2010-10-06 16:51:55 +00:00
Rafael Espindola
83b2a3337f
Make sure weak symbols are listed after the local ones.
...
llvm-svn: 115795
2010-10-06 16:47:31 +00:00
Rafael Espindola
8f3d2c9058
Correctly handle GOTPCREL relocations.
...
llvm-svn: 115793
2010-10-06 16:23:36 +00:00
Dan Gohman
aadc5596f1
ComputeLinearIndex doesn't need its TLI argument.
...
llvm-svn: 115792
2010-10-06 16:18:29 +00:00
Howard Hinnant
a35a35fc90
Updated <atomic> docs with three design options
...
llvm-svn: 115791
2010-10-06 16:15:10 +00:00
Douglas Gregor
3999e15d93
Reject the allocation of variably-modified types in C++ 'new'
...
expressions. Fixes PR8209 in the narrowest way possible. I'm still
considering whether I want to implement the extension that permits the
use of VLA types in a 'new' expression.
llvm-svn: 115790
2010-10-06 16:00:31 +00:00
Devang Patel
5b389f495b
Remove unused argument.
...
llvm-svn: 115789
2010-10-06 15:58:57 +00:00
Dan Gohman
3f0068d661
Constify isReachableFromEntry.
...
llvm-svn: 115788
2010-10-06 15:49:14 +00:00
Francois Pichet
f804a97d4f
_inline is an alias for inline in MSVC.
...
llvm-svn: 115785
2010-10-06 13:02:48 +00:00
Tobias Grosser
5af766bb1e
Add missing "-" to the command line.
...
llvm-svn: 115777
2010-10-06 11:43:06 +00:00
Bill Wendling
546548036c
Remove tabs.
...
llvm-svn: 115764
2010-10-06 07:19:18 +00:00
Bill Wendling
10f60fa411
Change RequiresMerge to RequiresUnique. It's a better description of what this
...
fix is trying to accomplish.
This code could still use some polishing.
llvm-svn: 115759
2010-10-06 07:03:52 +00:00
Chandler Carruth
a64aedb34b
Remove hard CRLF end-of-line markers from two files. These should be added
...
automatically when syncing due to the auto-props selecting svn:eol-style of
'native'.
llvm-svn: 115758
2010-10-06 06:50:05 +00:00
Duncan Sands
6f2ae72c90
No need to check out everything: binutils is enough.
...
Patch by John Tytgat.
llvm-svn: 115757
2010-10-06 06:45:11 +00:00
Evan Cheng
49d4c0bd18
- Add TargetInstrInfo::getOperandLatency() to compute operand latencies. This
...
allow target to correctly compute latency for cases where static scheduling
itineraries isn't sufficient. e.g. variable_ops instructions such as
ARM::ldm.
This also allows target without scheduling itineraries to compute operand
latencies. e.g. X86 can return (approximated) latencies for high latency
instructions such as division.
- Compute operand latencies for those defined by load multiple instructions,
e.g. ldm and those used by store multiple instructions, e.g. stm.
llvm-svn: 115755
2010-10-06 06:27:31 +00:00
Bill Wendling
cd8fe46d4b
If the destination module all ready has a copy of the global coming from the
...
source module *and* it must be merged (instead of simply replaced or appended
to), then merge instead of replacing or adding another global.
The ObjC __image_info section was being appended to because of this
failure. This caused a crash because the linker expects the image info section
to be a specific size.
<rdar://problem/8198537>
llvm-svn: 115753
2010-10-06 06:16:30 +00:00
Chris Lattner
6e85be2ecf
enhance X86TypeInfo to include information about the encoding and
...
operand kind for immediates. Use these to define a new BinOpRI
class and switch AND8/16/32ri over to it. AND64ri32 needs some
more refactoring before it can make the switcheroo.
llvm-svn: 115752
2010-10-06 05:55:42 +00:00
Tanya Lattner
3d7ec7b55d
Update release location.
...
llvm-svn: 115749
2010-10-06 05:36:01 +00:00
Chris Lattner
94eff91dc0
add a class for _REV nodes.
...
llvm-svn: 115748
2010-10-06 05:35:22 +00:00
Chris Lattner
a46073b56b
sink more intelligence into the ITy base class. Now it knows
...
that i8 operations are even and i16,i32,i64 operations have a
low opcode bit set (they are odd).
llvm-svn: 115747
2010-10-06 05:28:38 +00:00
Chris Lattner
b6da2be7e8
refactor things a bit, now the REX_W and OpSize prefix bytes are inferred from the type info.
...
llvm-svn: 115745
2010-10-06 05:20:57 +00:00
Chris Lattner
7bbd809b6c
with tblgen suitably extended, we can now get the load node from typeinfo.
...
llvm-svn: 115744
2010-10-06 04:58:43 +00:00
Nico Weber
9762e0a234
Add support for 4-byte UCNs like \U12345678. Warn about UCNs in c90 mode.
...
llvm-svn: 115743
2010-10-06 04:57:26 +00:00
Chris Lattner
28f034c21a
Generalize tblgen's dag parsing logic to handle arbitrary expressions
...
as the operator of the dag. Specifically, this allows parsing things
like (F.x 4) in addition to just (a 4).
Unfortunately, this runs afoul of an idiom being used by llvmc. It
is using dags like (foo [1,2,3]) to represent a list of stuff being
passed into foo. With this change, this is parsed as a [1,2,3]
subscript on foo instead of being the first argument to the dag.
Cope with this in the short term by requiring a "-llvmc-temp-hack"
argument to tblgen to get the old parsing behavior.
llvm-svn: 115742
2010-10-06 04:55:48 +00:00
Chris Lattner
805b74d650
rename add some comments.
...
llvm-svn: 115741
2010-10-06 04:37:17 +00:00
Chris Lattner
7d5bb96723
filecheckize
...
llvm-svn: 115740
2010-10-06 04:36:30 +00:00
Chris Lattner
e76cfcf8a8
cleanups
...
llvm-svn: 115739
2010-10-06 04:31:40 +00:00
Greg Clayton
5d5028b54e
Added the first of hopefully many python example scripts that show how to
...
use the python API that is exposed through SWIG to do some cool stuff.
Also fixed synchronous debugging so that all process control APIs exposed
through the python API will now wait for the process to stop if you set
the async mode to false (see disasm.py).
llvm-svn: 115738
2010-10-06 03:53:16 +00:00
Bill Wendling
964f521e85
Erm...this isn't the same as PR6658.
...
llvm-svn: 115737
2010-10-06 03:33:37 +00:00
Bill Wendling
6153d2c7bd
MMX conversion work is done. We can remove the FIXMEs.
...
llvm-svn: 115736
2010-10-06 03:31:26 +00:00
Bill Wendling
8700d39139
Add same hack to mmx-builtins.c as in Headers/c89.c to get it to pass on Win32. PR6658.
...
llvm-svn: 115735
2010-10-06 03:31:09 +00:00
Greg Clayton
1d27316606
Added the ability to get the disassembly instructions from the function and
...
symbol.
llvm-svn: 115734
2010-10-06 03:09:58 +00:00
Greg Clayton
32c4085ba2
Restored the ability to set the format for expressions after changing the expression results over to ValueObjectSP objects.
...
llvm-svn: 115733
2010-10-06 03:09:11 +00:00
Anders Carlsson
0f7e94fd7b
When checking for uninitialized fields in member initializers, special case static variables and enums. Fixes PR8075.
...
llvm-svn: 115732
2010-10-06 02:43:25 +00:00
NAKAMURA Takumi
ad205575fc
lib/System/Win32/Signals.inc: Enable LLVM_DISABLE_CRT_DEBUG also on mingw.
...
llvm-svn: 115731
2010-10-06 02:15:22 +00:00
John McCall
2a981c2056
Teach the driver to pass -fexceptions in Objective-C inputs on ARM.
...
I don't know when this stopped happening, but this seems to be the
right place to do it.
llvm-svn: 115730
2010-10-06 01:40:51 +00:00
Greg Clayton
f4abd0db15
Fixed an issue with the mach-o file parser when parsing indirect symbol stubs
...
where the symbol index was set to INDIRECT_SYMBOL_ABS and was causing an
assertion to fire when we loaded older Mac OS X binaries.
llvm-svn: 115729
2010-10-06 01:26:32 +00:00
Bill Wendling
0198ce06fc
Provide a fast "get me the target triple from the module" API. This can
...
drastically reduce the linking time during LTO.
Patch by Shantonu Sen!
llvm-svn: 115728
2010-10-06 01:22:42 +00:00