platform/upstream/llvm.git
12 years ago[TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc warnings...
Alexey Samsonov [Tue, 18 Sep 2012 08:33:37 +0000 (08:33 +0000)]
[TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc warnings in TSan tests.

llvm-svn: 164115

12 years agoMore domain conversion; convert VFP VMOVS to NEON instructions in more cases - when...
James Molloy [Tue, 18 Sep 2012 08:31:15 +0000 (08:31 +0000)]
More domain conversion; convert VFP VMOVS to NEON instructions in more cases - when we may clobber the other S-lane by converting an S to a D instruction, make an effort to work out if the S lane is clobberable or not.

llvm-svn: 164114

12 years ago[Sanitizer] llvm-symbolizer: turn off symbol table lookup by default while getSymbolA...
Alexey Samsonov [Tue, 18 Sep 2012 08:00:21 +0000 (08:00 +0000)]
[Sanitizer] llvm-symbolizer: turn off symbol table lookup by default while getSymbolAddress from libObject returns wrong values

llvm-svn: 164113

12 years ago[ASan] Move printing descriptions of heap addresses in error report from allocator...
Alexey Samsonov [Tue, 18 Sep 2012 07:38:10 +0000 (07:38 +0000)]
[ASan] Move printing descriptions of heap addresses in error report from allocator internals to asan_report.cc.

llvm-svn: 164112

12 years ago[Sanitizer] update lint checker script
Alexey Samsonov [Tue, 18 Sep 2012 07:26:51 +0000 (07:26 +0000)]
[Sanitizer] update lint checker script

llvm-svn: 164111

12 years ago[TSan] port all output tests to lit and move them to lit_tests directory. This makes...
Alexey Samsonov [Tue, 18 Sep 2012 07:23:54 +0000 (07:23 +0000)]
[TSan] port all output tests to lit and move them to lit_tests directory. This makes 'make check-tsan' command test both unit and output TSan tests. Old custom makefiles for running TSan tests are still functional as well.

llvm-svn: 164110

12 years agoMake custom operand parsing mnemonic indices use the same mnemonic table as the match...
Craig Topper [Tue, 18 Sep 2012 07:02:21 +0000 (07:02 +0000)]
Make custom operand parsing mnemonic indices use the same mnemonic table as the match table. Reorder fields in OperandMatchEntry to provide the least amount of padding for in tree targets.

llvm-svn: 164109

12 years agoUse variable type for index into mnemonic table. Shrinks size of index field on in...
Craig Topper [Tue, 18 Sep 2012 06:10:45 +0000 (06:10 +0000)]
Use variable type for index into mnemonic table. Shrinks size of index field on in tree targets. Saving static data space.

llvm-svn: 164108

12 years ago[tsan] fix the tsan allocator to handle any alignment
Kostya Serebryany [Tue, 18 Sep 2012 06:00:59 +0000 (06:00 +0000)]
[tsan] fix the tsan allocator to handle any alignment

llvm-svn: 164107

12 years agoRemove an unused private field exposed by the recent LLVM_DELETED_FUNCTION changes.
Craig Topper [Tue, 18 Sep 2012 05:34:55 +0000 (05:34 +0000)]
Remove an unused private field exposed by the recent LLVM_DELETED_FUNCTION changes.

llvm-svn: 164106

12 years agoReplaced ReInitMCSubtargetInfo with InitMCProcessor.
Andrew Trick [Tue, 18 Sep 2012 05:33:15 +0000 (05:33 +0000)]
Replaced ReInitMCSubtargetInfo with InitMCProcessor.

Now where we used to call ReInitMCSubtargetInfo, we actually recompute
the same information as InitMCSubtargetInfo instead of only setting
the feature bits.

llvm-svn: 164105

12 years agoRemove an unused private field exposed by the recent LLVM_DELETED_FUNCTION changes.
Craig Topper [Tue, 18 Sep 2012 05:30:57 +0000 (05:30 +0000)]
Remove an unused private field exposed by the recent LLVM_DELETED_FUNCTION changes.

llvm-svn: 164104

12 years agoRemove an unused private field exposed by the recent LLVM_DELETED_FUNCTION changes.
Craig Topper [Tue, 18 Sep 2012 05:21:59 +0000 (05:21 +0000)]
Remove an unused private field exposed by the recent LLVM_DELETED_FUNCTION changes.

llvm-svn: 164103

12 years agoMark unimplemented copy constructors and copy assignment operators with LLVM_DELETED_...
Craig Topper [Tue, 18 Sep 2012 04:52:05 +0000 (04:52 +0000)]
Mark unimplemented copy constructors and copy assignment operators with LLVM_DELETED_FUNCTION.

llvm-svn: 164102

12 years agoAdd LLVM_DELETED_FUNCTION to coding standards.
Craig Topper [Tue, 18 Sep 2012 04:43:40 +0000 (04:43 +0000)]
Add LLVM_DELETED_FUNCTION to coding standards.

llvm-svn: 164101

12 years agoFix a typo. No functional change.
Craig Topper [Tue, 18 Sep 2012 04:43:05 +0000 (04:43 +0000)]
Fix a typo. No functional change.

llvm-svn: 164100

12 years agoLet NULL slip through again.
Andrew Trick [Tue, 18 Sep 2012 04:18:39 +0000 (04:18 +0000)]
Let NULL slip through again.

llvm-svn: 164099

12 years agoTargetSchedModel API. Implement latency lookup, disabled.
Andrew Trick [Tue, 18 Sep 2012 04:03:34 +0000 (04:03 +0000)]
TargetSchedModel API. Implement latency lookup, disabled.

llvm-svn: 164098

12 years agocomment typo
Andrew Trick [Tue, 18 Sep 2012 04:03:30 +0000 (04:03 +0000)]
comment typo

llvm-svn: 164097

12 years agoTableGen subtarget emitter. Use getSchedClassIdx.
Andrew Trick [Tue, 18 Sep 2012 03:55:55 +0000 (03:55 +0000)]
TableGen subtarget emitter. Use getSchedClassIdx.

llvm-svn: 164096

12 years agoTableGen subtarget emitter. Generate resolveSchedClass generated hook for resolving...
Andrew Trick [Tue, 18 Sep 2012 03:41:43 +0000 (03:41 +0000)]
TableGen subtarget emitter. Generate resolveSchedClass generated hook for resolving instruction variants.

llvm-svn: 164095

12 years agoTableGen subtarget emitter. Remove unnecessary header dependence.
Andrew Trick [Tue, 18 Sep 2012 03:32:57 +0000 (03:32 +0000)]
TableGen subtarget emitter. Remove unnecessary header dependence.

llvm-svn: 164094

12 years agoMark unimplemented operator new as LLVM_DELETED_FUNCTION.
Craig Topper [Tue, 18 Sep 2012 03:25:49 +0000 (03:25 +0000)]
Mark unimplemented operator new as LLVM_DELETED_FUNCTION.

llvm-svn: 164093

12 years agoTableGen subtarget emitter. Initialize MCSubtargetInfo with the new machine model.
Andrew Trick [Tue, 18 Sep 2012 03:18:56 +0000 (03:18 +0000)]
TableGen subtarget emitter. Initialize MCSubtargetInfo with the new machine model.

llvm-svn: 164092

12 years agoMark constructors, destructors, and operator new commented as 'do not implement'...
Craig Topper [Tue, 18 Sep 2012 02:05:45 +0000 (02:05 +0000)]
Mark constructors, destructors, and operator new commented as 'do not implement' with LLVM_DELETED_FUNCTION instead.

llvm-svn: 164091

12 years agoMark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FU...
Craig Topper [Tue, 18 Sep 2012 02:01:41 +0000 (02:01 +0000)]
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.

llvm-svn: 164090

12 years agoUse vld1 / vst2 for unaligned v2f64 load / store. e.g. Use vld1.16 for 2-byte
Evan Cheng [Tue, 18 Sep 2012 01:42:45 +0000 (01:42 +0000)]
Use vld1 / vst2 for unaligned v2f64 load / store. e.g. Use vld1.16 for 2-byte
aligned address. Based on patch by David Peixotto.

Also use vld1.64 / vst1.64 with 128-bit alignment to take advantage of alignment
hints. rdar://12090772, rdar://12238782

llvm-svn: 164089

12 years agoMark asm matcher conversion table as const.
Craig Topper [Tue, 18 Sep 2012 01:41:49 +0000 (01:41 +0000)]
Mark asm matcher conversion table as const.

llvm-svn: 164088

12 years agoFix some funky indentation.
Evan Cheng [Tue, 18 Sep 2012 01:34:40 +0000 (01:34 +0000)]
Fix some funky indentation.

llvm-svn: 164087

12 years agoFix typo in comment. No functional change.
Craig Topper [Tue, 18 Sep 2012 01:13:36 +0000 (01:13 +0000)]
Fix typo in comment. No functional change.

llvm-svn: 164086

12 years agoIf a comma operator is followed by a token which unambiguously indicates the
Richard Smith [Tue, 18 Sep 2012 00:52:05 +0000 (00:52 +0000)]
If a comma operator is followed by a token which unambiguously indicates the
start of a statement or the end of a compound-statement, diagnose the comma as
a typo for a semicolon. Patch by Ahmed Bougacha! Additional test cases and
minor refactoring by me.

llvm-svn: 164085

12 years agoPGO: preserve branch-weight metadata when simplifying Switch to a sub, an icmp
Manman Ren [Tue, 18 Sep 2012 00:47:33 +0000 (00:47 +0000)]
PGO: preserve branch-weight metadata when simplifying Switch to a sub, an icmp
and a conditional branch; also when removing dead cases from a switch.

llvm-svn: 164084

12 years agoPer discussion on cfe-dev, remove -Wunique-enums entirely. There
Ted Kremenek [Tue, 18 Sep 2012 00:41:42 +0000 (00:41 +0000)]
Per discussion on cfe-dev, remove -Wunique-enums entirely.  There
is no compelling argument that this is a generally useful warning,
and imposes a strong stylistic argument on code beyond what it was
intended to find warnings in.

llvm-svn: 164083

12 years agoMaking ClangExpression hold on to a WP to the Process instead of a SP. This fix shoul...
Enrico Granata [Tue, 18 Sep 2012 00:08:47 +0000 (00:08 +0000)]
Making ClangExpression hold on to a WP to the Process instead of a SP. This fix should enable us to have per-process maps of ClangExpressions without fear of keeping the process alive forever

llvm-svn: 164082

12 years agoRemove a spurious control character coming from trying to save files in Xcode with...
Jim Ingham [Tue, 18 Sep 2012 00:00:25 +0000 (00:00 +0000)]
Remove a spurious control character coming from trying to save files in Xcode with emacs' ^x^s.

llvm-svn: 164081

12 years agoobjective-C: don't warn about class extension property's
Fariborz Jahanian [Mon, 17 Sep 2012 23:57:35 +0000 (23:57 +0000)]
objective-C: don't warn about class extension property's
missing 'assign' attribute as it is determined by its
overridden property in primary class. // rdar://12214070

llvm-svn: 164080

12 years agoobjective-C: add Doug's test for my last patch.
Fariborz Jahanian [Mon, 17 Sep 2012 23:24:36 +0000 (23:24 +0000)]
objective-C: add Doug's test for my last patch.

llvm-svn: 164079

12 years agoBackout the wrong subtarget emitter fix
Andrew Trick [Mon, 17 Sep 2012 23:14:15 +0000 (23:14 +0000)]
Backout the wrong subtarget emitter fix

llvm-svn: 164078

12 years agoobjective-C: improve on warnings about misplacement of method
Fariborz Jahanian [Mon, 17 Sep 2012 23:09:59 +0000 (23:09 +0000)]
objective-C: improve on warnings about misplacement of method
argument names. // rdar://12263549

llvm-svn: 164077

12 years agoPGO: preserve branch-weight metadata when simplifying Switch
Manman Ren [Mon, 17 Sep 2012 23:07:43 +0000 (23:07 +0000)]
PGO: preserve branch-weight metadata when simplifying Switch

Hanlde the case when we split the default edge if the default target has "icmp"
and unconditinal branch.

llvm-svn: 164076

12 years agoFix release build after reverting
Andrew Trick [Mon, 17 Sep 2012 23:05:04 +0000 (23:05 +0000)]
Fix release build after reverting

llvm-svn: 164075

12 years agoMerge into undefined lanes under -new-coalescer.
Jakob Stoklund Olesen [Mon, 17 Sep 2012 23:03:25 +0000 (23:03 +0000)]
Merge into undefined lanes under -new-coalescer.

Add LIS::pruneValue() and extendToIndices(). These two functions are
used by the register coalescer when merging two live ranges requires
more than a trivial value mapping as supported by LiveInterval::join().

The pruneValue() function can remove the part of a value number that is
going to conflict in join(). Afterwards, extendToIndices can restore the
live range, using any new dominating value numbers and updating the SSA
form.

Use this complex value mapping to support merging a register into a
vector lane that has a conflicting value, but the clobbered lane is
undef.

llvm-svn: 164074

12 years agoStop adding <imp-def> operands when expanding REG_SEQUENCE.
Jakob Stoklund Olesen [Mon, 17 Sep 2012 23:03:21 +0000 (23:03 +0000)]
Stop adding <imp-def> operands when expanding REG_SEQUENCE.

These extra operands are not needed by register allocators using
VirtRegRewriter, and RAFast don't need them any longer.

By omitting the <imp-def> operands, it becomes possible for the new
register coalescer to track which lanes are valid and which are undef.

llvm-svn: 164073

12 years agoRevert r164061-r164067. Most of the new subtarget emitter.
Andrew Trick [Mon, 17 Sep 2012 23:00:42 +0000 (23:00 +0000)]
Revert r164061-r164067. Most of the new subtarget emitter.

I have to work out the Target/CodeGen header dependencies
before putting this back.

llvm-svn: 164072

12 years agoRemove redundant semicolons to fix -pedantic-errors build break with older Clangs.
Richard Smith [Mon, 17 Sep 2012 22:52:05 +0000 (22:52 +0000)]
Remove redundant semicolons to fix -pedantic-errors build break with older Clangs.

llvm-svn: 164071

12 years agollvm/Target/TargetSubtargetInfo.h: Fix case in #include, s#llvm/Codegen/#llvm/CodeGen#.
NAKAMURA Takumi [Mon, 17 Sep 2012 22:34:56 +0000 (22:34 +0000)]
llvm/Target/TargetSubtargetInfo.h: Fix case in #include, s#llvm/Codegen/#llvm/CodeGen#.

llvm-svn: 164070

12 years agoPGO: preserve branch-weight metadata when simplifying SwitchOnSelect.
Manman Ren [Mon, 17 Sep 2012 22:28:55 +0000 (22:28 +0000)]
PGO: preserve branch-weight metadata when simplifying SwitchOnSelect.

llvm-svn: 164068

12 years agoDon't use NULL as a fake keyword
Andrew Trick [Mon, 17 Sep 2012 22:26:34 +0000 (22:26 +0000)]
Don't use NULL as a fake keyword

llvm-svn: 164067

12 years agoInitMCProcessor
Andrew Trick [Mon, 17 Sep 2012 22:19:12 +0000 (22:19 +0000)]
InitMCProcessor

llvm-svn: 164066

12 years agoTargetSchedModel API. Implement latency lookup, disabled.
Andrew Trick [Mon, 17 Sep 2012 22:19:08 +0000 (22:19 +0000)]
TargetSchedModel API. Implement latency lookup, disabled.

llvm-svn: 164065

12 years agocomment typo
Andrew Trick [Mon, 17 Sep 2012 22:19:04 +0000 (22:19 +0000)]
comment typo

llvm-svn: 164064

12 years agoTableGen subtarget emitter. Use getSchedClassIdx.
Andrew Trick [Mon, 17 Sep 2012 22:19:01 +0000 (22:19 +0000)]
TableGen subtarget emitter. Use getSchedClassIdx.

llvm-svn: 164063

12 years agoTableGen subtarget emitter. Generate resolveSchedClass generated hook for resolving...
Andrew Trick [Mon, 17 Sep 2012 22:18:58 +0000 (22:18 +0000)]
TableGen subtarget emitter. Generate resolveSchedClass generated hook for resolving instruction variants.

llvm-svn: 164062

12 years agoTableGen subtarget emitter. Initialize MCSubtargetInfo with the new machine model.
Andrew Trick [Mon, 17 Sep 2012 22:18:55 +0000 (22:18 +0000)]
TableGen subtarget emitter. Initialize MCSubtargetInfo with the new machine model.

llvm-svn: 164061

12 years agoTableGen subtarget emitter. Format and emit data tables for the new machine model.
Andrew Trick [Mon, 17 Sep 2012 22:18:50 +0000 (22:18 +0000)]
TableGen subtarget emitter. Format and emit data tables for the new machine model.

llvm-svn: 164060

12 years agoTableGen subtarget emitter. Generate data tables for the new machine model.
Andrew Trick [Mon, 17 Sep 2012 22:18:48 +0000 (22:18 +0000)]
TableGen subtarget emitter. Generate data tables for the new machine model.

Map the CodeGenSchedule object model onto data tables. The structure
of the data tables is defined in MC, so for convenience we include
MCSchedule.h. The alternative is maintaining a redundant copy of the
table structure definitions. Mapping the object model onto data tables
is sufficiently complicated that it should not be interleaved with
emitting source code. This avoids major problem with the backend for
itinerary generation.

llvm-svn: 164059

12 years agoTableGen subtarget emitter. Emit processor resources for the new machine model.
Andrew Trick [Mon, 17 Sep 2012 22:18:45 +0000 (22:18 +0000)]
TableGen subtarget emitter. Emit processor resources for the new machine model.

llvm-svn: 164058

12 years agoTableGen subtarget parser: Add getProcResourcesIdx().
Andrew Trick [Mon, 17 Sep 2012 22:18:43 +0000 (22:18 +0000)]
TableGen subtarget parser: Add getProcResourcesIdx().

llvm-svn: 164057

12 years agoAdd some cases to x86 OptimizeCompare to handle DEC and INC, too.
Jan Wen Voung [Mon, 17 Sep 2012 22:04:23 +0000 (22:04 +0000)]
Add some cases to x86 OptimizeCompare to handle DEC and INC, too.

While we are setting the earlier def to true, also make it live.

llvm-svn: 164056

12 years agoAdded an example of an empty case label to avoid confusion.
Alexander Kornienko [Mon, 17 Sep 2012 21:45:21 +0000 (21:45 +0000)]
Added an example of an empty case label to avoid confusion.

llvm-svn: 164055

12 years agoPGO: preserve branch-weight metadata when simplifying two branches with a common
Manman Ren [Mon, 17 Sep 2012 21:30:40 +0000 (21:30 +0000)]
PGO: preserve branch-weight metadata when simplifying two branches with a common
destination in SimplifyCondBranchToCondBranch.

llvm-svn: 164054

12 years agoobjective-C: peroform property attribute consistency
Fariborz Jahanian [Mon, 17 Sep 2012 20:57:19 +0000 (20:57 +0000)]
objective-C: peroform property attribute consistency
checking on property declared in class extension.
// rdar://12214070

llvm-svn: 164053

12 years agoRemove debugging code.
Bill Wendling [Mon, 17 Sep 2012 20:43:11 +0000 (20:43 +0000)]
Remove debugging code.

llvm-svn: 164052

12 years agoMake sure there is enough room for RA. getStackSize needs to be cleaned up but
Akira Hatanaka [Mon, 17 Sep 2012 20:02:42 +0000 (20:02 +0000)]
Make sure there is enough room for RA. getStackSize needs to be cleaned up but
we will do that when we implement the full save/restore.

Patch by Reed Kotler.

llvm-svn: 164051

12 years agoMake the Class Descriptors able to fetch the class name for unrealized classes
Enrico Granata [Mon, 17 Sep 2012 19:51:33 +0000 (19:51 +0000)]
Make the Class Descriptors able to fetch the class name for unrealized classes

llvm-svn: 164050

12 years agoRe-applied Enrico's patch that I so rudely
Sean Callanan [Mon, 17 Sep 2012 19:30:47 +0000 (19:30 +0000)]
Re-applied Enrico's patch that I so rudely
stomped on.

llvm-svn: 164049

12 years agoStop validating the vtable_ptr since it's not actually guaranteed to be correct
Enrico Granata [Mon, 17 Sep 2012 19:26:37 +0000 (19:26 +0000)]
Stop validating the vtable_ptr since it's not actually guaranteed to be correct

llvm-svn: 164048

12 years agoobjective-C: issue warning when there is no whitespace
Fariborz Jahanian [Mon, 17 Sep 2012 19:15:26 +0000 (19:15 +0000)]
objective-C: issue warning when there is no whitespace
between objc method parameter name and colon.
// rdar://12263549

llvm-svn: 164047

12 years ago[analyzer] Teach the analyzer about implicit initialization of statics
Anna Zaks [Mon, 17 Sep 2012 19:13:56 +0000 (19:13 +0000)]
[analyzer] Teach the analyzer about implicit initialization of statics
in ObjCMethods.

Extend FunctionTextRegion to represent ObjC methods as well as
functions. Note, it is not clear what type ObjCMethod region should
return. Since the type of the FunctionText region is not currently used,
defer solving this issue.

llvm-svn: 164046

12 years agoIncrease the static sizes of some SmallSets. finalizeBundle() is very frequently...
Michael Ilseman [Mon, 17 Sep 2012 18:31:15 +0000 (18:31 +0000)]
Increase the static sizes of some SmallSets. finalizeBundle() is very frequently called for some backends, and growing into an std::set is overkill for these numbers.

llvm-svn: 164044

12 years agowhitespace
Michael Ilseman [Mon, 17 Sep 2012 18:25:23 +0000 (18:25 +0000)]
whitespace

llvm-svn: 164043

12 years agoFix PR13859
Michael Liao [Mon, 17 Sep 2012 18:05:20 +0000 (18:05 +0000)]
Fix PR13859

- Preserve the original NOutVT during casting from vector to integer by
  extracting vector elements.

llvm-svn: 164042

12 years agoTableGen: Add initializer.
Jim Grosbach [Mon, 17 Sep 2012 18:00:53 +0000 (18:00 +0000)]
TableGen: Add initializer.

Keep GCC's warnings happy. It can't reason out that the state machine won't
ever hit the potentially uninitialized use in OPC_FilterValue.

llvm-svn: 164041

12 years agos/__llvm_gcov_flush/__gcov_flush/g
Bill Wendling [Mon, 17 Sep 2012 17:57:05 +0000 (17:57 +0000)]
s/__llvm_gcov_flush/__gcov_flush/g

llvm-svn: 164040

12 years ago-Warc-retain-cycles: look through [^{...} copy] and Block_copy(^{...})
Jordan Rose [Mon, 17 Sep 2012 17:54:30 +0000 (17:54 +0000)]
-Warc-retain-cycles: look through [^{...} copy] and Block_copy(^{...})

Retain cycles happen in the case where a block is persisted past its
life on the stack, and the way that occurs is by copying the block.
We should thus look through any explicit copies we see.

Note that Block_copy is actually a type-safe wrapper for _Block_copy,
which does all the real work.

<rdar://problem/12219663>

llvm-svn: 164039

12 years agoLLVM_ATTRIBUTE_USED forces emission of a function. To silence unused function warning...
Benjamin Kramer [Mon, 17 Sep 2012 16:46:22 +0000 (16:46 +0000)]
LLVM_ATTRIBUTE_USED forces emission of a function. To silence unused function warnings use LLVM_ATTRIBUTE_UNUSED.

llvm-svn: 164036

12 years agoNewSROA: Provide a full set of operator< for ByteRanges.
Benjamin Kramer [Mon, 17 Sep 2012 16:42:36 +0000 (16:42 +0000)]
NewSROA: Provide a full set of operator< for ByteRanges.

MSVC8 won't compile lower_bound if one is missing.

llvm-svn: 164035

12 years agoDon't write uninitialized values even if nobody ever asks for it.
Axel Naumann [Mon, 17 Sep 2012 14:26:53 +0000 (14:26 +0000)]
Don't write uninitialized values even if nobody ever asks for it.

llvm-svn: 164033

12 years agoFix a few vars that can end up being used without initialization.
Axel Naumann [Mon, 17 Sep 2012 14:20:57 +0000 (14:20 +0000)]
Fix a few vars that can end up being used without initialization.
The cases where no initialization happens should still be checked for logic flaws.

llvm-svn: 164032

12 years agoRun install_name_tool to fix the dynamic library ID after it has been copied.
Alexander Potapenko [Mon, 17 Sep 2012 14:18:41 +0000 (14:18 +0000)]
Run install_name_tool to fix the dynamic library ID after it has been copied.
Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=113

llvm-svn: 164031

12 years agoRemoved the VMLxForwarding feature for the Cortex-A15 target.
Silviu Baranga [Mon, 17 Sep 2012 14:10:54 +0000 (14:10 +0000)]
Removed the VMLxForwarding feature for the Cortex-A15 target.

llvm-svn: 164030

12 years agoAdd a MachinePostDominator pass
Tom Stellard [Mon, 17 Sep 2012 14:08:37 +0000 (14:08 +0000)]
Add a MachinePostDominator pass

This is used in the AMDIL and R600 backends.

llvm-svn: 164029

12 years agoOpen up a few higher-level functions for tools.
Axel Naumann [Mon, 17 Sep 2012 13:14:34 +0000 (13:14 +0000)]
Open up a few higher-level functions for tools.

llvm-svn: 164028

12 years agoAdd ELFReference class - parse relocations needed by that class and update DefinedAto...
Sid Manning [Mon, 17 Sep 2012 12:49:38 +0000 (12:49 +0000)]
Add ELFReference class - parse relocations needed by that class and update DefinedAtom to use the class.  Tweak coding style.  Add testcase to check relocations. Change was signed-off-by: Michael Spencer

llvm-svn: 164027

12 years agoAdd Michael Spencer's iterator class for stepping through relocations. Add method...
Sid Manning [Mon, 17 Sep 2012 12:27:39 +0000 (12:27 +0000)]
Add Michael Spencer's iterator class for stepping through relocations.  Add method that, given a symbol index, will return the symbol's data.

llvm-svn: 164026

12 years agoUpdate linux stdio.h to support the recent additions to GCDAProfiling.
Benjamin Kramer [Mon, 17 Sep 2012 10:23:05 +0000 (10:23 +0000)]
Update linux stdio.h to support the recent additions to GCDAProfiling.

Hopefully unbreaks compiler-rt build on linux.

llvm-svn: 164025

12 years agoDisable the protection from escaped allocas in an attempt to find violating passes...
Nadav Rotem [Mon, 17 Sep 2012 10:21:55 +0000 (10:21 +0000)]
Disable the protection from escaped allocas in an attempt to find violating passes. This may break the buildbots. I plan to revert it in a few hours.

llvm-svn: 164024

12 years ago[TSan] Actually delete moved dirs with tests
Alexey Samsonov [Mon, 17 Sep 2012 10:04:35 +0000 (10:04 +0000)]
[TSan] Actually delete moved dirs with tests

llvm-svn: 164023

12 years ago[TSan] move: rtl_tests->tests/rtl unit_tests->tests/unit to make a single root for...
Alexey Samsonov [Mon, 17 Sep 2012 10:02:17 +0000 (10:02 +0000)]
[TSan] move: rtl_tests->tests/rtl unit_tests->tests/unit to make a single root for gtest-based tests. Support running these tests from lit via check-tsan command.

llvm-svn: 164022

12 years ago[TSan] If we detect an unlimited stack, try to re-exec with limited stack
Alexey Samsonov [Mon, 17 Sep 2012 09:14:11 +0000 (09:14 +0000)]
[TSan] If we detect an unlimited stack, try to re-exec with limited stack

llvm-svn: 164021

12 years ago[Sanitizer] Hoist functions to get/set stack size and re-exec from memory-sanitizer...
Alexey Samsonov [Mon, 17 Sep 2012 09:12:39 +0000 (09:12 +0000)]
[Sanitizer] Hoist functions to get/set stack size and re-exec from memory-sanitizer branch to sanitizer_common

llvm-svn: 164020

12 years ago[ASan] increase sleep time if ASan finds two bugs simultaneously to make sure full...
Alexey Samsonov [Mon, 17 Sep 2012 08:02:19 +0000 (08:02 +0000)]
[ASan] increase sleep time if ASan finds two bugs simultaneously to make sure full error report is printed

llvm-svn: 164018

12 years agoMark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FU...
Craig Topper [Mon, 17 Sep 2012 07:16:40 +0000 (07:16 +0000)]
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.

llvm-svn: 164017

12 years agoMark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FU...
Craig Topper [Mon, 17 Sep 2012 06:59:23 +0000 (06:59 +0000)]
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.

llvm-svn: 164016

12 years agoMark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FU...
Craig Topper [Mon, 17 Sep 2012 06:43:55 +0000 (06:43 +0000)]
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.

llvm-svn: 164015

12 years agoMark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FU...
Craig Topper [Mon, 17 Sep 2012 06:31:17 +0000 (06:31 +0000)]
Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.

llvm-svn: 164014

12 years agoRemove a couple unused fields. Not detected by Wunused-private-field because of unimp...
Craig Topper [Mon, 17 Sep 2012 06:05:39 +0000 (06:05 +0000)]
Remove a couple unused fields. Not detected by Wunused-private-field because of unimplemented copy constructor and copy assignment operator that make the class look incomplete. Upcoming patch will mark them deleted.

llvm-svn: 164013

12 years agoFix typo
Michael Liao [Mon, 17 Sep 2012 04:43:39 +0000 (04:43 +0000)]
Fix typo

llvm-svn: 164012

12 years agotsan: increase internal memory block limit 1GB->4GB
Dmitry Vyukov [Mon, 17 Sep 2012 03:18:45 +0000 (03:18 +0000)]
tsan: increase internal memory block limit 1GB->4GB

llvm-svn: 164011

12 years agotsan: reserve msb in stack depot id's (required for msan)
Dmitry Vyukov [Mon, 17 Sep 2012 03:14:15 +0000 (03:14 +0000)]
tsan: reserve msb in stack depot id's (required for msan)

llvm-svn: 164010