summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Format more neatly.Duncan Sands2009-01-051-1/+1
| | | | llvm-svn: 61744
* Remove trailing spaces.Duncan Sands2009-01-051-10/+10
| | | | llvm-svn: 61743
* Delete unused global aliases with internal linkage.Duncan Sands2009-01-052-8/+31
| | | | | | | | In fact this also deletes those with linkonce linkage, however this is currently dead because for the moment aliases aren't allowed to have this linkage type. llvm-svn: 61742
* Construct composite type DIE using DebugInfo.Devang Patel2009-01-051-4/+83
| | | | llvm-svn: 61741
* Add classof() methods so that dwarf writer can decide what DIDescriptor is ↵Devang Patel2009-01-052-2/+22
| | | | | | in its hand. llvm-svn: 61740
* Add prototype ccc rewrite.Daniel Dunbar2009-01-0516-0/+1702
| | | | | | | | | | | | | | | | | | | | - Entry point is tools/ccc/xcc until we are a functional replacement for ccc. This is highly experimental (FIXME/LOC ratio of 3.4%), quite crufty, and barely usable (and then only on my specific Darwin). However, many of the right ideas are present, and it already fixes a number of things gcc gets wrong. The major missing component is argument translation for tools (translating driver arguments into cc1/ld/as/etc. arguments). This is a large part of the driver functionality and will probably double the LOC, but my hope is that the current architecture is relatively stable. Documentation & motivation to follow soon... llvm-svn: 61739
* Add forgotten test case for linkage specificationsDouglas Gregor2009-01-051-0/+17
| | | | llvm-svn: 61737
* Add <climits>, to get the definition of CHAR_BIT. This should fixDan Gohman2009-01-051-0/+1
| | | | | | build errors. llvm-svn: 61736
* Introduce support for "transparent" DeclContexts, which areDouglas Gregor2009-01-0516-245/+549
| | | | | | | | | | | | | | | | | | | | | | DeclContexts whose members are visible from enclosing DeclContexts up to (and including) the innermost enclosing non-transparent DeclContexts. Transparent DeclContexts unify the mechanism to be used for various language features, including C enumerations, anonymous unions, C++0x inline namespaces, and C++ linkage specifications. Please refer to the documentation in the Clang internals manual for more information. Only enumerations and linkage specifications currently use transparent DeclContexts. Still to do: use transparent DeclContexts to implement anonymous unions and GCC's anonymous structs extension, and, later, the C++0x features. We also need to tighten up the DeclContext/ScopedDecl link to ensure that every ScopedDecl is in a single DeclContext, which will ensure that we can then enforce ownership and reduce the memory footprint of DeclContext. llvm-svn: 61735
* simplify Preprocessor::getSpelling now that identifiers carry aroundChris Lattner2009-01-051-7/+1
| | | | | | their length. llvm-svn: 61734
* TargetLowering.h #includes SelectionDAGNodes.h, so it doesn't need itsDan Gohman2009-01-053-9/+2
| | | | | | | own OpActionsCapacity magic number; it can just use ISD::BUILTIN_OP_END, as long as it takes care to round up when needed. llvm-svn: 61733
* Delete an unused variable and simplify the code.Dan Gohman2009-01-051-10/+7
| | | | llvm-svn: 61732
* s/ConstructType/ConstructTypeDIE/gDevang Patel2009-01-051-6/+6
| | | | llvm-svn: 61731
* make llvm-ld smart enough to link against native libraries that are Chris Lattner2009-01-051-2/+18
| | | | | | | not in system library directories by checking -L paths as well. Patch by Axel Naumann! llvm-svn: 61730
* Construct stuct field DIEs.Devang Patel2009-01-052-0/+79
| | | | llvm-svn: 61729
* fix wordoChris Lattner2009-01-051-1/+1
| | | | llvm-svn: 61728
* Remove redundant ValID::ValID:: scoping (doesn't compile on Windows).Steve Naroff2009-01-051-1/+1
| | | | llvm-svn: 61727
* Construct enumerator DIE using DebugInfo.Devang Patel2009-01-052-1/+12
| | | | llvm-svn: 61726
* Reject PR3281:accepted03.ll with:Chris Lattner2009-01-052-6/+11
| | | | | | | | llvm-as: accepted03.ll:1:35: invalid unresolved type up reference declare void @r({ \7, opaque, \10 } %su) ^ llvm-svn: 61725
* Construct array/vector type DIEs using DebugInfo.Devang Patel2009-01-053-11/+58
| | | | llvm-svn: 61724
* Get rid of sentinel insertion in interval reconstruction. It just masked theOwen Anderson2009-01-051-5/+0
| | | | | | problem, rather than fixing it. The problem has now been fixed the right way. llvm-svn: 61723
* reject PR3281:crash11.ll with:Chris Lattner2009-01-051-2/+8
| | | | | | | | llvm-as: crash11.ll:2:27: function may not return return opaque type "xw" = tail call opaque @608(label %31) ^ llvm-svn: 61722
* reject PR3281:crash10.ll with:Chris Lattner2009-01-051-0/+5
| | | | | | | llvm-as: crash10.ll:3:35: floating point constant does not have type 'ppc_fp128' "dumy" = fcmp ult ppc_fp128 "j",9209.4 ^ llvm-svn: 61721
* reject PR3281:crash09.ll with this diagnostic:Chris Lattner2009-01-051-0/+6
| | | | | | | | llvm-as: crash09.ll:3:1: self referential type is invalid type %0 ^ llvm-svn: 61720
* allow opaque undefs. This resolves PR3282 and fixesChris Lattner2009-01-051-1/+2
| | | | | | test/Assembler/2005-05-05-OpaqueUndefValues.ll llvm-svn: 61719
* Now, getTag() is used by DwarfWriter.Devang Patel2009-01-051-3/+4
| | | | llvm-svn: 61718
* Tidy up #includes, deleting a bunch of unnecessary #includes.Dan Gohman2009-01-0599-171/+97
| | | | llvm-svn: 61715
* Construct basic and derived type DIEs using DebugInfo.Devang Patel2009-01-051-0/+44
| | | | llvm-svn: 61714
* Handle iAny and fAny types in TreePatternNode::UpdateNodeType.Bob Wilson2009-01-051-5/+7
| | | | llvm-svn: 61713
* subsume ConstructPointerType()Devang Patel2009-01-051-8/+2
| | | | llvm-svn: 61711
* Add the keyword 'default'.Dan Gohman2009-01-051-1/+1
| | | | llvm-svn: 61710
* subsume ConstructBasicType().Devang Patel2009-01-051-11/+6
| | | | llvm-svn: 61709
* Renamed Google Test license file from COPYING to LICENSE.TXT to match LLVMMisha Brukman2009-01-053-2/+2
| | | | | | conventions, per John Criswell. llvm-svn: 61708
* squash warnings.Devang Patel2009-01-057-2/+8
| | | | llvm-svn: 61707
* A few more polygen grammar updates.Dan Gohman2009-01-051-11/+10
| | | | | | | | | | - After GlobalAssign, emit addrspace before global/constant, to follow the new syntax. - Eliminate "type void", which is now invalid. - Fix invalid liblists like [, "foo"]. - Tweak whitespace in a few places. llvm-svn: 61706
* set standard ignoresGabor Greif2009-01-050-0/+0
| | | | llvm-svn: 61703
* Fix spelling in some comments.Bob Wilson2009-01-052-2/+2
| | | | llvm-svn: 61702
* another fix to my previous commit:Gabor Greif2009-01-051-2/+5
| | | | | | | * some picky <g> compilers get insulted by const-incorrectness * respect 80-char limit llvm-svn: 61701
* Fix an uninitialized-variable warningDouglas Gregor2009-01-051-1/+1
| | | | llvm-svn: 61700
* Fix misplaced right parentheses.Evan Cheng2009-01-051-2/+2
| | | | llvm-svn: 61699
* eliminate tabs from my previous commitGabor Greif2009-01-052-5/+5
| | | | llvm-svn: 61695
* Get rid of the tagging functions and use PointerIntPair.Gabor Greif2009-01-053-58/+27
| | | | | | | | | This means that we have to include an additional header. This patch should be functionally equivalent. I cannot outrule any performance degradation, though I do not expect any. llvm-svn: 61694
* Don't spew bitcode to standard out if this testDuncan Sands2009-01-051-1/+1
| | | | | | fails, like it is right now. llvm-svn: 61690
* This test passes again, unXFAIL.Torok Edwin2009-01-051-1/+0
| | | | llvm-svn: 61688
* Atom and Core i7 do not have same model number after all.Evan Cheng2009-01-051-4/+3
| | | | llvm-svn: 61686
* produce the same diagnostics for vicmp constant exprs as vicmp instructions.Chris Lattner2009-01-051-1/+7
| | | | llvm-svn: 61685
* Fix PR3281:crash08.ll with this diagnostic:Chris Lattner2009-01-052-10/+25
| | | | | | | | llvm-as: crash08.ll:3:15: invalid operand type for instruction "qp" = sdiv fp128 0x1, %30 ^ llvm-svn: 61684
* reject PR3281:crash07.ll with:Chris Lattner2009-01-052-6/+10
| | | | | | | llvm-as: crash07.ll:2:32: va_arg requires operand with first class type %y = va_arg [52 x <{}>] %43, double (...) sspreq ^ llvm-svn: 61683
* alignment of 0 is not valid.Chris Lattner2009-01-051-2/+2
| | | | llvm-svn: 61682
* reject undef/zero labels. This fixes PR3281:crash0[56].ll with theseChris Lattner2009-01-051-1/+5
| | | | | | | | | | | | diagnostics: llvm-as: crash05.ll:1:14: invalid type for null constant global label zeroinitializer addrspace (75), section "c" ^ llvm-as: crash06.ll:2:14: invalid type for null constant udiv label zeroinitializer, @0 ^ llvm-svn: 61681
OpenPOWER on IntegriCloud