platform/upstream/llvm.git
15 years agoAdd XFAILED test.
Ted Kremenek [Mon, 20 Jul 2009 21:00:55 +0000 (21:00 +0000)]
Add XFAILED test.

llvm-svn: 76469

15 years agoAdd FIXME.
Ted Kremenek [Mon, 20 Jul 2009 20:38:59 +0000 (20:38 +0000)]
Add FIXME.

llvm-svn: 76466

15 years agoChange the casting of linkage types into a map. This makes this much more robust
Bill Wendling [Mon, 20 Jul 2009 20:34:46 +0000 (20:34 +0000)]
Change the casting of linkage types into a map. This makes this much more robust
as it no longer depends upon two different enums being kept in sync with each
other.

llvm-svn: 76465

15 years agoClarify that OverflowingBinaryOperator is not used for SDiv, even though
Dan Gohman [Mon, 20 Jul 2009 20:32:43 +0000 (20:32 +0000)]
Clarify that OverflowingBinaryOperator is not used for SDiv, even though
SDiv is a binary operation that can overflow.

llvm-svn: 76464

15 years agoRemoved the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API as
Kevin Enderby [Mon, 20 Jul 2009 20:25:37 +0000 (20:25 +0000)]
Removed the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API as
the parsing of the .dump and .load should be done in the assembly parser and
not have any need for an MCStreamer API.  Changed the code for now so these
just produce an error saying these specific directives are not yet implemented
since they are likely no longer used and may never need to be implemented.

llvm-svn: 76462

15 years agoAdd MCAsmLexer interface.
Daniel Dunbar [Mon, 20 Jul 2009 20:01:54 +0000 (20:01 +0000)]
Add MCAsmLexer interface.
 - This provides the AsmLexer interface to the target specific assembly parsers.

llvm-svn: 76460

15 years agoFix some sub-reg coalescing bugs where the coalescer wasn't updating the resulting...
Evan Cheng [Mon, 20 Jul 2009 19:47:55 +0000 (19:47 +0000)]
Fix some sub-reg coalescing bugs where the coalescer wasn't updating the resulting interval's register class.

llvm-svn: 76458

15 years agoRemove FIXME that was already fixed.
Eli Friedman [Mon, 20 Jul 2009 19:45:16 +0000 (19:45 +0000)]
Remove FIXME that was already fixed.

llvm-svn: 76457

15 years agoRename Mangler linkage enums to something less gross.
Bill Wendling [Mon, 20 Jul 2009 19:41:27 +0000 (19:41 +0000)]
Rename Mangler linkage enums to something less gross.

llvm-svn: 76456

15 years agoRefactor metadata parsing routines into separate functions.
Devang Patel [Mon, 20 Jul 2009 19:00:08 +0000 (19:00 +0000)]
Refactor metadata parsing routines into separate functions.

llvm-svn: 76455

15 years agoWhen a field is variable-sized or is an array with a negative size,
Douglas Gregor [Mon, 20 Jul 2009 18:55:14 +0000 (18:55 +0000)]
When a field is variable-sized or is an array with a negative size,
don't replace the type of the field with 'int', from Enea Zaffanella!

llvm-svn: 76454

15 years agoAdd MCAsmParser interface.
Daniel Dunbar [Mon, 20 Jul 2009 18:55:04 +0000 (18:55 +0000)]
Add MCAsmParser interface.
 - This provides the AsmParser interface to the target specific assembly
   parsers.

llvm-svn: 76453

15 years agoUpdate DataflowSolver to handle the case where a successor/predecessor block
Ted Kremenek [Mon, 20 Jul 2009 18:52:34 +0000 (18:52 +0000)]
Update DataflowSolver to handle the case where a successor/predecessor block
could be NULL. This allows the solver to handle optimized CFGs where branches
can be determined during CFG-construction to be infeasible.

llvm-svn: 76452

15 years agoImprove GCC compatibility by allowing static tentative definitions of
Douglas Gregor [Mon, 20 Jul 2009 18:46:59 +0000 (18:46 +0000)]
Improve GCC compatibility by allowing static tentative definitions of
incomplete type (with a warning), from Enea Zaffanella!

llvm-svn: 76451

15 years agoEnhance GRBranchNodeBuilderImpl (part of GRCoreEngine) to understand the case
Ted Kremenek [Mon, 20 Jul 2009 18:44:36 +0000 (18:44 +0000)]
Enhance GRBranchNodeBuilderImpl (part of GRCoreEngine) to understand the case
where the true or false CFGBlock* for a branch could be NULL. This will handle
the case where we can determine during CFG construction that a branch is
infeasible.

llvm-svn: 76450

15 years agoBuild FileCheck from with CMake
Douglas Gregor [Mon, 20 Jul 2009 18:30:25 +0000 (18:30 +0000)]
Build FileCheck from with CMake

llvm-svn: 76449

15 years agoPut new enum at end of list to avoid changing ABI.
Bill Wendling [Mon, 20 Jul 2009 18:22:52 +0000 (18:22 +0000)]
Put new enum at end of list to avoid changing ABI.

llvm-svn: 76447

15 years agoremove TargetAsmInfo::ExpandInlineAsm
Chris Lattner [Mon, 20 Jul 2009 17:59:32 +0000 (17:59 +0000)]
remove TargetAsmInfo::ExpandInlineAsm

llvm-svn: 76445

15 years ago5 cleanups to ObjCObjectPointerType work:
Steve Naroff [Mon, 20 Jul 2009 17:56:53 +0000 (17:56 +0000)]
5 cleanups to ObjCObjectPointerType work:

- Remove Sema::CheckPointeeTypesForAssignment(), a temporary API I added to ease migration to ObjCObjectPointerType. Convert Sema::CheckAssignmentConstraints() to no longer depend on the temporary API.
- Sema::ConvertDeclSpecToType(): Replace a couple FIXME's with an important comment/example.
- Sema::GetTypeForDeclarator(): Get the protocol's from the interface, NOT the declspec (to support the following C typedef idiom: "typedef C<P> T; T *obj").
- Sema::ObjCQualifiedIdTypesAreCompatible(): Removed some dead code.
- ASTContext::getObjCEncodingForTypeImpl(): Some minor cleanups.

llvm-svn: 76443

15 years agouse ExpandInlineAsm on TargetLowering instead of TargetAsmInfo.
Chris Lattner [Mon, 20 Jul 2009 17:52:52 +0000 (17:52 +0000)]
use ExpandInlineAsm on TargetLowering instead of TargetAsmInfo.

llvm-svn: 76442

15 years agoCopy ExpandInlineAsm to TargetLowering from TargetAsmInfo.
Chris Lattner [Mon, 20 Jul 2009 17:51:36 +0000 (17:51 +0000)]
Copy ExpandInlineAsm to TargetLowering from TargetAsmInfo.

llvm-svn: 76441

15 years agoDrop UDivOperator and introduce SDivOperator. Thanks to Chris
Dan Gohman [Mon, 20 Jul 2009 17:51:10 +0000 (17:51 +0000)]
Drop UDivOperator and introduce SDivOperator. Thanks to Chris
for noticing this.

llvm-svn: 76440

15 years agoadd some fixme's and cleanups. TargetAsmInfo shouldn't depend on VMCore eventually.
Chris Lattner [Mon, 20 Jul 2009 17:47:48 +0000 (17:47 +0000)]
add some fixme's and cleanups.  TargetAsmInfo shouldn't depend on VMCore eventually.

llvm-svn: 76439

15 years agoUpdate this comment.
Dan Gohman [Mon, 20 Jul 2009 17:44:17 +0000 (17:44 +0000)]
Update this comment.

llvm-svn: 76438

15 years agoRevert the addition of hasNoPointerOverflow to GEPOperator.
Dan Gohman [Mon, 20 Jul 2009 17:43:30 +0000 (17:43 +0000)]
Revert the addition of hasNoPointerOverflow to GEPOperator.
Getelementptrs that are defined to wrap are virtually useless to
optimization, and getelementptrs that are undefined on any kind
of overflow are too restrictive -- it's difficult to ensure that
all intermediate addresses are within bounds. I'm going to take
a different approach.

Remove a few optimizations that depended on this flag.

llvm-svn: 76437

15 years agoIssue a more descriptive diagnostics when mis-declaring
Fariborz Jahanian [Mon, 20 Jul 2009 17:43:15 +0000 (17:43 +0000)]
Issue a more descriptive diagnostics when mis-declaring
a destructor.

llvm-svn: 76436

15 years agoremove dead forward decl
Chris Lattner [Mon, 20 Jul 2009 17:23:00 +0000 (17:23 +0000)]
remove dead forward decl

llvm-svn: 76433

15 years agoFor remote execution, must cd to the executable directory since the exe expects to...
David Goodwin [Mon, 20 Jul 2009 17:15:03 +0000 (17:15 +0000)]
For remote execution, must cd to the executable directory since the exe expects to find a dylib in the CWD ('.').

llvm-svn: 76432

15 years agorename TargetAsmInfo::getASDirective -> getDataASDirective
Chris Lattner [Mon, 20 Jul 2009 17:12:46 +0000 (17:12 +0000)]
rename TargetAsmInfo::getASDirective -> getDataASDirective

llvm-svn: 76431

15 years agoFix comment.
Daniel Dunbar [Mon, 20 Jul 2009 16:50:16 +0000 (16:50 +0000)]
Fix comment.

llvm-svn: 76427

15 years agoHide the DOUT static variable behind a function interface.
David Greene [Mon, 20 Jul 2009 16:16:06 +0000 (16:16 +0000)]
Hide the DOUT static variable behind a function interface.

llvm-svn: 76425

15 years agoUse t2LDRri12 for frame index loads.
David Goodwin [Mon, 20 Jul 2009 15:55:39 +0000 (15:55 +0000)]
Use t2LDRri12 for frame index loads.

llvm-svn: 76424

15 years agoxfail for now.
Evan Cheng [Mon, 20 Jul 2009 15:33:09 +0000 (15:33 +0000)]
xfail for now.

llvm-svn: 76423

15 years agoPR4591: Make sure to initialize the pass manager before using it.
Eli Friedman [Mon, 20 Jul 2009 14:50:07 +0000 (14:50 +0000)]
PR4591: Make sure to initialize the pass manager before using it.

llvm-svn: 76422

15 years agoFor PC relative relocations where symbols are defined in the same section they
Bruno Cardoso Lopes [Mon, 20 Jul 2009 08:52:02 +0000 (08:52 +0000)]
For PC relative relocations where symbols are defined in the same section they
are referenced, ignore the relocation entry and patch the relocatable field with
the computed symbol offset directly

llvm-svn: 76414

15 years agoThe children statements might be NULL. Check for this case in
Zhongxing Xu [Mon, 20 Jul 2009 08:28:49 +0000 (08:28 +0000)]
The children statements might be NULL. Check for this case in
isContainedInStatement().

llvm-svn: 76408

15 years agoAdd -std-{compile,link}-opts to bugpoint.
Daniel Dunbar [Mon, 20 Jul 2009 07:01:01 +0000 (07:01 +0000)]
Add -std-{compile,link}-opts to bugpoint.
 - Sheesh.

llvm-svn: 76402

15 years agoFix PR4567. Thumb1 target was using the wrong instruction to handle sp = sub fp, #c.
Evan Cheng [Mon, 20 Jul 2009 06:59:32 +0000 (06:59 +0000)]
Fix PR4567. Thumb1 target was using the wrong instruction to handle sp = sub fp, #c.

llvm-svn: 76401

15 years agoimplement a new magic global "llvm.compiler.used" which is like llvm.used, but
Chris Lattner [Mon, 20 Jul 2009 06:14:25 +0000 (06:14 +0000)]
implement a new magic global "llvm.compiler.used" which is like llvm.used, but
doesn't cause ".no_dead_strip" to be emitted on darwin.

llvm-svn: 76399

15 years agoRestore AsmWriterEmitter.cpp back to 74742. The recent changes broke Thumb.
Evan Cheng [Mon, 20 Jul 2009 06:10:07 +0000 (06:10 +0000)]
Restore AsmWriterEmitter.cpp back to 74742. The recent changes broke Thumb.

llvm-svn: 76398

15 years agouse stripPointerCasts to simplify some code.
Chris Lattner [Mon, 20 Jul 2009 06:05:50 +0000 (06:05 +0000)]
use stripPointerCasts to simplify some code.

llvm-svn: 76397

15 years agodocument llvm.used and llvm.metadata. Stub out llvm.global_[cd]tors
Chris Lattner [Mon, 20 Jul 2009 05:55:19 +0000 (05:55 +0000)]
document llvm.used and llvm.metadata.  Stub out llvm.global_[cd]tors

llvm-svn: 76396

15 years agoRename the index to linkage types.
Bill Wendling [Mon, 20 Jul 2009 02:41:50 +0000 (02:41 +0000)]
Rename the index to linkage types.

llvm-svn: 76394

15 years agoMore reformatting.
Bill Wendling [Mon, 20 Jul 2009 02:39:26 +0000 (02:39 +0000)]
More reformatting.

llvm-svn: 76393

15 years agoFix HTML violations.
Bill Wendling [Mon, 20 Jul 2009 02:32:41 +0000 (02:32 +0000)]
Fix HTML violations.

llvm-svn: 76392

15 years agoObsessivly reformat.
Bill Wendling [Mon, 20 Jul 2009 02:29:24 +0000 (02:29 +0000)]
Obsessivly reformat.

llvm-svn: 76391

15 years agoModel fpscr to prevent fcmped / fcmpezs etc from being deleted.
Evan Cheng [Mon, 20 Jul 2009 02:12:31 +0000 (02:12 +0000)]
Model fpscr to prevent fcmped / fcmpezs etc from being deleted.

llvm-svn: 76390

15 years agoAdd plumbing for the `linker_private' linkage type. This type is meant for
Bill Wendling [Mon, 20 Jul 2009 01:03:30 +0000 (01:03 +0000)]
Add plumbing for the `linker_private' linkage type. This type is meant for
"private" symbols which the assember shouldn't strip, but which the linker may
remove after evaluation. This is mostly useful for Objective-C metadata.

This is plumbing, so we don't have a use of it yet. More to come, etc.

llvm-svn: 76385

15 years agoCMake support for SystemZ.
Daniel Dunbar [Mon, 20 Jul 2009 00:24:17 +0000 (00:24 +0000)]
CMake support for SystemZ.

llvm-svn: 76384

15 years agoTweak svn:ignore
Daniel Dunbar [Sun, 19 Jul 2009 22:48:58 +0000 (22:48 +0000)]
Tweak svn:ignore

llvm-svn: 76383

15 years agoThis test should be run with -m32.
Daniel Dunbar [Sun, 19 Jul 2009 22:44:03 +0000 (22:44 +0000)]
This test should be run with -m32.

llvm-svn: 76382

15 years agoImplement FIXME in pretty-printing for StringRegions.
Ted Kremenek [Sun, 19 Jul 2009 20:38:24 +0000 (20:38 +0000)]
Implement FIXME in pretty-printing for StringRegions.

llvm-svn: 76381

15 years agoImprove debug pretty-printing for ObjCIVarRegions.
Ted Kremenek [Sun, 19 Jul 2009 20:36:24 +0000 (20:36 +0000)]
Improve debug pretty-printing for ObjCIVarRegions.

llvm-svn: 76380

15 years agofix test
Chris Lattner [Sun, 19 Jul 2009 20:19:25 +0000 (20:19 +0000)]
fix test

llvm-svn: 76378

15 years agoDisambiguateGlobalSymbols should not mangle intrinsics.
Chris Lattner [Sun, 19 Jul 2009 20:19:04 +0000 (20:19 +0000)]
DisambiguateGlobalSymbols should not mangle intrinsics.

llvm-svn: 76377

15 years agoenhance the goto checker to reject jumps across __block variable definitions.
Chris Lattner [Sun, 19 Jul 2009 20:17:11 +0000 (20:17 +0000)]
enhance the goto checker to reject jumps across __block variable definitions.

llvm-svn: 76376

15 years agoDon't override LowerArguments in the SPARC backend. In addition to
Eli Friedman [Sun, 19 Jul 2009 19:53:46 +0000 (19:53 +0000)]
Don't override LowerArguments in the SPARC backend.  In addition to
being more consistent with other backends, this makes the SPARC backend
deal with functions with arguments with illegal types correctly, which
fixes some tests in test/CodeGen/Generic.

llvm-svn: 76375

15 years agoFix a regression from 76124. Thumb1 instructions default to S bit being true.
Evan Cheng [Sun, 19 Jul 2009 19:16:46 +0000 (19:16 +0000)]
Fix a regression from 76124. Thumb1 instructions default to S bit being true.

llvm-svn: 76374

15 years agoFix http://llvm.org/bugs/show_bug.cgi?id=4583
Jakob Stoklund Olesen [Sun, 19 Jul 2009 19:09:59 +0000 (19:09 +0000)]
Fix http://llvm.org/bugs/show_bug.cgi?id=4583

Inline asm instructions may have additional <imp-def,kill> register operands.
These operands are not marked with a flag like the normal asm operands, so we
must not assert that there is a flag.

llvm-svn: 76373

15 years agoFix build
Daniel Dunbar [Sun, 19 Jul 2009 08:27:16 +0000 (08:27 +0000)]
Fix build

llvm-svn: 76366

15 years agoCatch another trivial case where we can avoid emitting a separate return blcok.
Daniel Dunbar [Sun, 19 Jul 2009 08:24:34 +0000 (08:24 +0000)]
Catch another trivial case where we can avoid emitting a separate return blcok.

llvm-svn: 76365

15 years agoDetect when the current generation point is unreachable after emitting
Daniel Dunbar [Sun, 19 Jul 2009 08:23:12 +0000 (08:23 +0000)]
Detect when the current generation point is unreachable after emitting
expressions.
 - This generally catches the important case of noreturn functions.

 - With the last two changes, we are down to 152 unreachable blocks emitted on
   403.gcc, vs the 1805 we started with.

llvm-svn: 76364

15 years agoFix: Kaleidoscope link in JIT and Interpreter by including JIT.h and Interpreter.h
Xerxes Ranby [Sun, 19 Jul 2009 08:10:01 +0000 (08:10 +0000)]
Fix: Kaleidoscope link in JIT and Interpreter by including JIT.h and Interpreter.h

llvm-svn: 76363

15 years agoFix thinko.
Daniel Dunbar [Sun, 19 Jul 2009 07:03:11 +0000 (07:03 +0000)]
Fix thinko.

llvm-svn: 76362

15 years agoAvoid generation of dead code in a few more situations.
Daniel Dunbar [Sun, 19 Jul 2009 06:58:07 +0000 (06:58 +0000)]
Avoid generation of dead code in a few more situations.
 - Emit variable declarations as "simple", we want to avoid forcing the creation
   of a dummy basic block, but still need to make the variable available for
   later use.

 - With that, we can now skip IRgen for other unreachable statements (which
   don't define a label).

 - Anders, I added two fixmes on calls to EmitVLASize, can you check them?

llvm-svn: 76361

15 years agoFix ConstantRange::unionWith. Also make it work a little hard in some cases to
Nick Lewycky [Sun, 19 Jul 2009 03:44:35 +0000 (03:44 +0000)]
Fix ConstantRange::unionWith. Also make it work a little hard in some cases to
return the smallest union of two ranges instead of just any range that happens
to contain the union.

llvm-svn: 76360

15 years agoAdd include needed for MSVC.
Daniel Dunbar [Sun, 19 Jul 2009 02:17:34 +0000 (02:17 +0000)]
Add include needed for MSVC.

llvm-svn: 76359

15 years agoRemove redundant qualifiers.
Daniel Dunbar [Sun, 19 Jul 2009 01:42:34 +0000 (01:42 +0000)]
Remove redundant qualifiers.

llvm-svn: 76357

15 years agoFix some minor MSVC compiler warnings.
Daniel Dunbar [Sun, 19 Jul 2009 01:38:38 +0000 (01:38 +0000)]
Fix some minor MSVC compiler warnings.

llvm-svn: 76356

15 years agoMSVC: Disable 4351, a completely useless warning: "warning: I'm not miscompiling
Daniel Dunbar [Sun, 19 Jul 2009 01:35:10 +0000 (01:35 +0000)]
MSVC: Disable 4351, a completely useless warning: "warning: I'm not miscompiling
this". Um, ok, thanks!

llvm-svn: 76355

15 years agoUnbreak build
Daniel Dunbar [Sun, 19 Jul 2009 01:33:04 +0000 (01:33 +0000)]
Unbreak build

llvm-svn: 76354

15 years agoSwitch Alpha over to the new call lowering style. New code mostly
Eli Friedman [Sun, 19 Jul 2009 01:11:32 +0000 (01:11 +0000)]
Switch Alpha over to the new call lowering style.  New code mostly
copied from the SystemZ target.  I don't think this causes any
significant changes to the output (I compared the assembly, and the
results appeared to be essentially unchanged), although I don't actually
have an Alpha to test on.

I would appreciate if anyone with the appropriate hardware could test
this. I'm not sure if that includes anyone subscribed to llvm-commits,
though.

llvm-svn: 76353

15 years agoSystemZ *does* have a CodeGen/AsmPrinter split.
Daniel Dunbar [Sun, 19 Jul 2009 00:46:44 +0000 (00:46 +0000)]
SystemZ *does* have a CodeGen/AsmPrinter split.
 - What it doesn't have is the rest of its cmake files...

llvm-svn: 76352

15 years agoUpdate CMake
Daniel Dunbar [Sun, 19 Jul 2009 00:40:45 +0000 (00:40 +0000)]
Update CMake

llvm-svn: 76351

15 years agoTweak cmake files for the four targets that don't split CodeGen out.
Daniel Dunbar [Sun, 19 Jul 2009 00:26:46 +0000 (00:26 +0000)]
Tweak cmake files for the four targets that don't split CodeGen out.
 - We should canonicalize this and get rid of the cmake and llvm-config hacks to
   support both variants.

llvm-svn: 76350

15 years agoAdd dependencies from TargetInfo onto .td generation.
Daniel Dunbar [Sun, 19 Jul 2009 00:21:12 +0000 (00:21 +0000)]
Add dependencies from TargetInfo onto .td generation.
 - Shouldn't really be necessary, but currently .inc files get included into
   some main target headers.

llvm-svn: 76349

15 years agoHandle layout of non-virtual base classes.
Anders Carlsson [Sun, 19 Jul 2009 00:18:47 +0000 (00:18 +0000)]
Handle layout of non-virtual base classes.

llvm-svn: 76348

15 years agoUse R_X86_64_32S to handle Jump Table Index relocation entries. Hide TAI usage inside...
Bruno Cardoso Lopes [Sat, 18 Jul 2009 23:24:01 +0000 (23:24 +0000)]
Use R_X86_64_32S to handle Jump Table Index relocation entries. Hide TAI usage inside getSection* functions

llvm-svn: 76347

15 years agoAdd some missing includes.
Daniel Dunbar [Sat, 18 Jul 2009 23:22:46 +0000 (23:22 +0000)]
Add some missing includes.

llvm-svn: 76346

15 years agoCanonicalize bitcasts between types like <1 x i64> and i64 to
Eli Friedman [Sat, 18 Jul 2009 23:06:53 +0000 (23:06 +0000)]
Canonicalize bitcasts between types like <1 x i64> and i64 to
insertelement/extractelement.

I'm not entirely sure this is precisely what we want to do: should we
prefer bitcast(insertelement) or insertelement(bitcast)?  Similarly. should we
prefer extractelement(bitcast) or bitcast(extractelement)?

llvm-svn: 76345

15 years agoPut Target definitions inside Target specific header, and llvm namespace.
Daniel Dunbar [Sat, 18 Jul 2009 23:03:22 +0000 (23:03 +0000)]
Put Target definitions inside Target specific header, and llvm namespace.

llvm-svn: 76344

15 years agoRefactor field layout into a separate function.
Anders Carlsson [Sat, 18 Jul 2009 21:48:39 +0000 (21:48 +0000)]
Refactor field layout into a separate function.

llvm-svn: 76343

15 years agofix some typos pointed out by Hidenobu Seki
Chris Lattner [Sat, 18 Jul 2009 21:47:15 +0000 (21:47 +0000)]
fix some typos pointed out by Hidenobu Seki

llvm-svn: 76342

15 years agoAdd a Program::GetPid() method.
Mikhail Glushenkov [Sat, 18 Jul 2009 21:43:40 +0000 (21:43 +0000)]
Add a Program::GetPid() method.

llvm-svn: 76341

15 years agoRemove duplication in Program::Execute{And,No}Wait.
Mikhail Glushenkov [Sat, 18 Jul 2009 21:43:12 +0000 (21:43 +0000)]
Remove duplication in Program::Execute{And,No}Wait.

Implemented by moving the code out of static functions into methods of Program
class.

llvm-svn: 76340

15 years agoRename NextOffset to DataSize, which better matches the Itanium C++ ABI
Anders Carlsson [Sat, 18 Jul 2009 21:26:44 +0000 (21:26 +0000)]
Rename NextOffset to DataSize, which better matches the Itanium C++ ABI

llvm-svn: 76339

15 years agoMigrate over to the record layout builder.
Anders Carlsson [Sat, 18 Jul 2009 21:19:52 +0000 (21:19 +0000)]
Migrate over to the record layout builder.

llvm-svn: 76338

15 years agoRe-enable 'test/SemaTemplate/temp_class_spec_neg.cpp', after commenting out the cause...
Argyrios Kyrtzidis [Sat, 18 Jul 2009 21:18:10 +0000 (21:18 +0000)]
Re-enable 'test/SemaTemplate/temp_class_spec_neg.cpp', after commenting out the cause of the crash.

llvm-svn: 76337

15 years agoIntroduce ASTLocation::getReferencedDecl(), for getting the declaration that the...
Argyrios Kyrtzidis [Sat, 18 Jul 2009 21:17:58 +0000 (21:17 +0000)]
Introduce ASTLocation::getReferencedDecl(), for getting the declaration that the ASTLocation references.

llvm-svn: 76336

15 years agoHandle invalid ASTLocations instead of asserting.
Argyrios Kyrtzidis [Sat, 18 Jul 2009 21:17:43 +0000 (21:17 +0000)]
Handle invalid ASTLocations instead of asserting.

llvm-svn: 76335

15 years agoUse a better name for the label relocations while emitting them for Jump Tables
Bruno Cardoso Lopes [Sat, 18 Jul 2009 20:52:11 +0000 (20:52 +0000)]
Use a better name for the label relocations while emitting them for Jump Tables

llvm-svn: 76334

15 years agoMore layout builder work.
Anders Carlsson [Sat, 18 Jul 2009 20:50:59 +0000 (20:50 +0000)]
More layout builder work.

llvm-svn: 76333

15 years agoAdd a new ASTRecordLayoutBuilder class. Not used yet.
Anders Carlsson [Sat, 18 Jul 2009 20:20:21 +0000 (20:20 +0000)]
Add a new ASTRecordLayoutBuilder class. Not used yet.

llvm-svn: 76330

15 years agocmake builds don't need this hack for MSVC anymore.
Daniel Dunbar [Sat, 18 Jul 2009 20:10:04 +0000 (20:10 +0000)]
cmake builds don't need this hack for MSVC anymore.

llvm-svn: 76329

15 years agoDisable this test for now, it has been crashing on linux for weeks.
Daniel Dunbar [Sat, 18 Jul 2009 19:55:20 +0000 (19:55 +0000)]
Disable this test for now, it has been crashing on linux for weeks.

llvm-svn: 76328

15 years agoRevert r75641.
Anders Carlsson [Sat, 18 Jul 2009 19:43:29 +0000 (19:43 +0000)]
Revert r75641.

llvm-svn: 76327

15 years agoAdd support to properly reference private symbols on relocation entries.
Bruno Cardoso Lopes [Sat, 18 Jul 2009 19:30:09 +0000 (19:30 +0000)]
Add support to properly reference private symbols on relocation entries.
Use proper relocation type to build relocations for JumpTables (rodata
sections).

llvm-svn: 76326

15 years agoBack out 76300; apparently the preference is to canonicalize the other
Eli Friedman [Sat, 18 Jul 2009 19:04:16 +0000 (19:04 +0000)]
Back out 76300; apparently the preference is to canonicalize the other
way (bitcast -> insert/extractelement).

llvm-svn: 76325

15 years agoadd a fixme
Chris Lattner [Sat, 18 Jul 2009 18:49:04 +0000 (18:49 +0000)]
add a fixme

llvm-svn: 76324

15 years agoRequire a remote command to exit with the exit status of the test program or with...
Viktor Kutuzov [Sat, 18 Jul 2009 18:39:24 +0000 (18:39 +0000)]
Require a remote command to exit with the exit status of the test program or with 255 if an error occurred.

llvm-svn: 76323