summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Whenever we instantiate a static data member, make sure to define any newNick Lewycky2011-05-314-48/+74
| | | | | | | | | vtables! Fixes PR10020 This also allows us to revert the part of r130023 which added a big loop around the template instantiation. llvm-svn: 132331
* Now with the right line endings.Galina Kistanova2011-05-311-4/+4
| | | | llvm-svn: 132330
* Fix linking of clang-wpa.Zhongxing Xu2011-05-311-3/+6
| | | | llvm-svn: 132329
* Expand the coverage of the warning for constants on the RHS of logical operands:Chandler Carruth2011-05-315-8/+59
| | | | | | | | | | | | return f() || -1; where the user meant to write '|'. This bootstraps without any additional warnings. Patch by Richard Trieu. llvm-svn: 132327
* Utilize PackedVector, introduced with llvm commit r132325.Argyrios Kyrtzidis2011-05-311-34/+3
| | | | llvm-svn: 132326
* Introduce PackedVector, useful for storing a vector of values using a ↵Argyrios Kyrtzidis2011-05-311-0/+158
| | | | | | | | | | | | specific number of bits for each value. Both signed and unsigned types can be used, e.g PackedVector<signed, 2> vec; will create a vector accepting values -2, -1, 0, 1. Any other value will hit an assertion. llvm-svn: 132325
* Fix ssat and ssat16 encodings for ARM and Thumb. The bit position valueBruno Cardoso Lopes2011-05-317-8/+32
| | | | | | | must be encoded decremented by one. Only add encoding tests for ssat16 because ssat can't be parsed yet. llvm-svn: 132324
* This patch implements atomic intrinsics atomic.load.add (sub,and,or,xor,Bruno Cardoso Lopes2011-05-315-6/+917
| | | | | | | | | | nand), atomic.swap and atomic.cmp.swap, all in i8, i16 and i32 versions. The intrinsics are implemented by creating pseudo-instructions, which are then expanded in the method MipsTargetLowering::EmitInstrWithCustomInserter. Patch by Sasa Stankovic. llvm-svn: 132323
* This patch implements the thread local storage. Implemented are GeneralBruno Cardoso Lopes2011-05-318-3/+190
| | | | | | | | Dynamic, Initial Exec and Local Exec TLS models. Patch by Sasa Stankovic llvm-svn: 132322
* Just one for now to see how it will fly.Galina Kistanova2011-05-311-0/+0
| | | | llvm-svn: 132321
* For X86 specific tests.Galina Kistanova2011-05-310-0/+0
| | | | llvm-svn: 132320
* Preparations for separating target-specific clang tests.Galina Kistanova2011-05-313-0/+14
| | | | llvm-svn: 132319
* Use the dwarf->llvm mapping to print register names in the cfiRafael Espindola2011-05-3040-21/+178
| | | | | | | | directives. Fixes PR9826. llvm-svn: 132317
* (1 - X) * (-2) -> (x - 1) * 2, for all positive nonzero powers of 2Stuart Hastings2011-05-302-0/+41
| | | | | | rdar://problem/6501862 llvm-svn: 132316
* Split ppc dwarf regnums into ppc64 and ppc32 flavours.Rafael Espindola2011-05-302-141/+152
| | | | llvm-svn: 132315
* Introduce the DwarfRegAlias class for declaring that two registers have theRafael Espindola2011-05-303-16/+35
| | | | | | | | | | same dwarf number. This will be used for creating a dwarf number to register mapping. The only case that needs this so far is the XMM/YMM registers that unfortunately do have the same numbers. llvm-svn: 132314
* Mark the 32 bit registers as invalid in 64 bit mode. In 64 bit mode they areRafael Espindola2011-05-301-9/+9
| | | | | | subregisters of the 64 bit ones. llvm-svn: 132313
* Remove the DwarfNumbers from the subregisters. They should use DW_OP_bit_pieceRafael Espindola2011-05-301-48/+48
| | | | | | | and for now the generic dwarf emission will automatically use the superregister numbers. llvm-svn: 132312
* Fix another incorrect type bug.David Chisnall2011-05-301-1/+1
| | | | llvm-svn: 132311
* replace the intro tutorial from 2004 with a more recent work.Chris Lattner2011-05-301-3/+2
| | | | llvm-svn: 132310
* Reapply r132245 with a fix for the bug that broke the darwin9/i386 build.Jakob Stoklund Olesen2011-05-303-55/+72
| | | | llvm-svn: 132309
* Revert previous changes.Greg Clayton2011-05-301-11/+3
| | | | llvm-svn: 132308
* Add the test case for phis in the outer landing pad during the inliner'sJohn McCall2011-05-301-1/+111
| | | | | | forwarding of eh.resume that I promised yesterday. llvm-svn: 132307
* lldb-59.Greg Clayton2011-05-3019-144/+369
| | | | llvm-svn: 132304
* Disable dynamic types being on by default until kinks get worked out whenGreg Clayton2011-05-301-6/+6
| | | | | | | | | | | they don't update correctly. Currently if a variable is unavailable due to a register not being available in a higher frame or due to the PC value not being a valid location list value, "<unknown type>" will get displayed as the variable type. I am not sure what other things will fail, so I am disabling it for now just by letting the default enumeration value default to it being disabled. llvm-svn: 132303
* Emit the handler's data area. For GCC-style exceptions under Win64, theCharles Davis2011-05-301-0/+21
| | | | | | | handler's data area starts with a 4-byte reference to the personality function, followed by the DWARF LSDA. llvm-svn: 132302
* Protect the input reader stack with a recursive mutex.Greg Clayton2011-05-292-0/+8
| | | | llvm-svn: 132301
* If a test case is not compiled on a specific platform, print "skipped"Joerg Sonnenberger2011-05-2980-2/+160
| | | | | | to stdout. This helps identifying missing coverage on a given platform. llvm-svn: 132300
* Revert r132245, "Create two BlockInfo entries when a live range is ↵Jakob Stoklund Olesen2011-05-293-71/+55
| | | | | | | | discontinuous through a block." This commit seems to have broken a darwin 9 tester. llvm-svn: 132299
* Fix PR10046 by updating LiveVariables kill info when splitting live ranges.Jakob Stoklund Olesen2011-05-292-2/+82
| | | | | | | | | | | | | This only affects targets like Mips where branch instructions may kill virtual registers. Most other targets branch on flag values, so virtual registers are not involved. The problem is that MachineBasicBlock::updateTerminator deletes branches and inserts new ones while LiveVariables keeps a list of pointers to instructions that kill virtual registers. That list wasn't properly updated in MBB::SplitCriticalEdge. llvm-svn: 132298
* Add a new warning on NULL pointer constant to integer conversion.Richard Trieu2011-05-293-1/+21
| | | | | | This path was reviewed by Chandler Carruth at http://codereview.appspot.com/4538074/ llvm-svn: 132297
* noexcept for Chapter 21 [strings].Howard Hinnant2011-05-292-315/+530
| | | | llvm-svn: 132296
* On Darwin ARM, set the UNWIND_RESUME libcall to _Unwind_SjLj_Resume.John McCall2011-05-292-0/+30
| | | | | | | | | This is important for the correct lowering of unwind instructions (which doesn't matter at all) and llvm.eh.resume calls (which does). Take 2, now with more basic competence. llvm-svn: 132295
* ...this is not a good commit day for me.John McCall2011-05-293-10/+1
| | | | llvm-svn: 132294
* I didn't mean to commit these residues of a personal project.John McCall2011-05-292-30/+0
| | | | llvm-svn: 132293
* Add testcase for r132290, to check for the crasher caught by the buildbotsNick Lewycky2011-05-291-2/+12
| | | | | | doing llvm-gcc selfhost (or cross). llvm-svn: 132292
* On Darwin ARM, set the UNWIND_RESUME libcall to _Unwind_SjLj_Resume.John McCall2011-05-295-1/+40
| | | | | | | This is important for the correct lowering of unwind instructions (which doesn't matter at all) and llvm.eh.resume calls (which does). llvm-svn: 132291
* Don't crash owhen ComputeLoadResult can't compute the result of the load.Nick Lewycky2011-05-291-1/+1
| | | | llvm-svn: 132290
* Make sure if an enumeration "settings" value has a valid default setting inGreg Clayton2011-05-291-7/+9
| | | | | | | its definition, that the first enumeration doesn't always get used as the default. llvm-svn: 132289
* Obey the isVolatile bit on memory intrinsics when analyzing uses of a globalNick Lewycky2011-05-292-5/+38
| | | | | | | | | variable. Noticed by inspection. Simulate memset in EvaluateFunction where the target of the memset and the value we're setting are both the null value. Fixes PR10047! llvm-svn: 132288
* http://llvm.org/bugs/show_bug.cgi?id=10045 . Please review, I have not ↵Howard Hinnant2011-05-291-2/+3
| | | | | | tested this on linux. llvm-svn: 132287
* minor documentation updateHoward Hinnant2011-05-291-1/+1
| | | | llvm-svn: 132286
* Fix warnings due to 132263; Thanks rdivacky.Nadav Rotem2011-05-291-2/+4
| | | | llvm-svn: 132285
* Fix a regression in the source locations for unary trait expressions.Chandler Carruth2011-05-293-12/+7
| | | | | | | | | | | I tried to use an assert to prove that I could remove each of the arguments I did, but ended up writing my assert with inverted logic. Doh! Reported by Xi Wang on cfe-dev. I have manually verified the source locations and ranges for these using -ast-dump. I tried writing a test case that would catch these, but these expressions aren't exposed in the c-index-test's token annotation utility. llvm-svn: 132284
* When generating against the Win64 EH scheme, set the handler to the GCC-specificCharles Davis2011-05-291-0/+7
| | | | | | | | | | | | | | | | handler. At this moment, only GCC-style exceptions are supported. Other kinds of exceptions, including "traditional" SEH and Microsoft Visual C++ exceptions, need more work--and an compiler exception model that isn't specific to GCC-style exceptions! In particular, I imagine that it would be possible to mix "traditional" SEH with GCC-style EH or Microsoft C++ EH. Currently LLVM has no way (beyond some target-specific defaults and whole-module compiler switches) of knowing which scheme to use when. llvm-svn: 132283
* lldb-58Greg Clayton2011-05-292-16/+16
| | | | llvm-svn: 132281
* Don't have the debugger default to ignoring EOF. This is only what the driverGreg Clayton2011-05-296-3/+43
| | | | | | | | (or anything running in a terminal) wants. Not what a UI (Xcode) would want where it creates a debugger per debug window. The current code had an infinite loop after a debug session ended. llvm-svn: 132280
* Use %rbp on a 64 bit test.Rafael Espindola2011-05-291-1/+1
| | | | llvm-svn: 132279
* Fix to match the dwarf register numbers that gdb uses.Rafael Espindola2011-05-291-16/+16
| | | | llvm-svn: 132278
* Fix tests broken by r132257.Eli Friedman2011-05-292-2/+2
| | | | llvm-svn: 132277
OpenPOWER on IntegriCloud