summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ms-inline asm] Test case for r170037.Chad Rosier2012-12-121-1/+4
| | | | llvm-svn: 170038
* [ms-inline asm] Make sure we fail gracefully on parse errors. Parse errorsChad Rosier2012-12-121-2/+9
| | | | | | | | should only occur on invalid input. Instruction matching errors aren't unexpected, so we can't rely on the AsmParsers HadError variable directly. rdar://12840278 llvm-svn: 170037
* YAMLIO: Remove all of the template instantiation hacks, I don't see why ↵Benjamin Kramer2012-12-122-423/+326
| | | | | | | | they're necessary and it breaks linking of the unit tests. Also comes with a clang-format run on the cpp file, it had major style violations. llvm-svn: 170036
* Temporarily disable test cases until they compile with g++ too.Nick Kledzik2012-12-121-0/+4
| | | | llvm-svn: 170035
* Rewrite calls to bitcast unprototyped functions when emitting a definition.John McCall2012-12-123-78/+123
| | | | | | | | | | | | My variadics patch, r169588, changed these calls to typically be bitcasts rather than calls to a supposedly variadic function. This totally subverted a hack where we intentionally dropped excess arguments from such calls in order to appease the inliner and a "warning" from the optimizer. This patch extends the hack to also work with bitcasts, as well as teaching it to rewrite invokes. llvm-svn: 170034
* Unbreak the build. Fallout from r170019.David Blaikie2012-12-121-1/+1
| | | | llvm-svn: 170033
* AlignedCharArrayUnion is erroring with non-clang compilersNick Kledzik2012-12-121-6/+6
| | | | llvm-svn: 170031
* Fix calls to getAsSignedInteger() to use long long - not int64_tNick Kledzik2012-12-121-21/+25
| | | | llvm-svn: 170030
* Makefile.sphinx: reST conversion is complete!Dmitri Gribenko2012-12-121-4/+0
| | | | | | No need to copy HTML files anymore. llvm-svn: 170029
* Documentation: use paths relative to document root in links.Dmitri Gribenko2012-12-121-1/+1
| | | | llvm-svn: 170027
* Zhang Xiongpang: Add definitions for const data members. Fixes ↵Howard Hinnant2012-12-1219-0/+669
| | | | | | http://llvm.org/bugs/show_bug.cgi?id=14585. llvm-svn: 170026
* Fix typo, which prevent test from being check.Jakub Staszak2012-12-121-3/+3
| | | | llvm-svn: 170025
* Restore the PHI optimization I accidently removedMichael Ilseman2012-12-121-0/+4
| | | | llvm-svn: 170024
* unHECKify test fixed by Jacob in r159003.Jakub Staszak2012-12-121-8/+6
| | | | llvm-svn: 170023
* Remove trailing whitespaceMichael Ilseman2012-12-121-39/+39
| | | | llvm-svn: 170022
* Fix the build on case sensitive file systems.Benjamin Kramer2012-12-121-4/+2
| | | | llvm-svn: 170021
* Simplify negated bit testDavid Majnemer2012-12-122-0/+44
| | | | llvm-svn: 170020
* Initial implementation of a utility for converting native data Nick Kledzik2012-12-127-0/+4152
| | | | | | | | | structures to and from YAML using traits. The first client will be the test suite of lld. The documentation will show up at: http://llvm.org/docs/YamlIO.html llvm-svn: 170019
* Fix a logic bug in inline expansion of memcpy / memset with an overlappingEvan Cheng2012-12-122-4/+16
| | | | | | | load / store pair. It's not legal to use a wider load than the size of the remaining bytes if it's the first pair of load / store. llvm-svn: 170018
* unHECKify test. It was fixed by Chris in 2009.Jakub Staszak2012-12-121-8/+5
| | | | llvm-svn: 170017
* The ordering of two relocations on the same instruction is apparently notBill Schmidt2012-12-121-3/+8
| | | | | | | | predictable when compiled on at least one non-PowerPC host. Source of nondeterminism not apparent. Restrict the test to build on PowerPC hosts for now while looking into the issue further. llvm-svn: 170016
* Fix typo in test-case.Jakub Staszak2012-12-121-8/+8
| | | | llvm-svn: 170015
* Added a warning about using the lldb.target, etc. for anything other than ↵Jim Ingham2012-12-121-2/+6
| | | | | | | | convenience when using the script command. llvm-svn: 170014
* <rdar://problem/10898363>Enrico Granata2012-12-123-20/+38
| | | | | | | | Emitting a warning when defining a summary or a synthetic provider and the function/class name provided does not correspond to a valid scripting object Also using this chance to edit a few error messages from weird "internal error" markers to actual user-legible data! llvm-svn: 170013
* [mips] Fix a memory leak bug report by NAKAMURA Takumi.Akira Hatanaka2012-12-121-5/+6
| | | | llvm-svn: 170012
* Documentation: SphinxQuickstartTemplate.rst: add guidelines about highlightingDmitri Gribenko2012-12-121-3/+6
| | | | | | console sessions and add more highlighter names. llvm-svn: 170011
* [driver] Don't warn about an unused -flto option.Chad Rosier2012-12-121-0/+4
| | | | | | rdar://12851905 llvm-svn: 170010
* Fixed a few bugs in the "step in" thread plan logic.Jim Ingham2012-12-1211-58/+265
| | | | | | | | | | | | | | | | | | | | | | | | | | | Added a "step-in-target" flag to "thread step-in" so if you have something like: Process 28464 stopped * thread #1: tid = 0x1c03, function: main , stop reason = breakpoint 1.1 frame #0: 0x0000000100000e08 a.out`main at main.c:62 61 -> 62 int A6 = complex (a(4), b(5), c(6)); // Stop here to step targetting b and hitting breakpoint. 63 and you want to get into "complex" skipping a, b and c, you can do: (lldb) step -t complex Process 28464 stopped * thread #1: tid = 0x1c03, function: complex , stop reason = step in frame #0: 0x0000000100000d0d a.out`complex at main.c:44 41 42 int complex (int first, int second, int third) 43 { -> 44 return first + second + third; // Step in targetting complex should stop here 45 } 46 47 int main (int argc, char const *argv[]) llvm-svn: 170008
* Make naming consistent, add comments and sanity assertsEli Bendersky2012-12-122-29/+33
| | | | llvm-svn: 170007
* Fix typo.Jakub Staszak2012-12-121-4/+4
| | | | llvm-svn: 170006
* Fix indentation.Nadav Rotem2012-12-121-4/+3
| | | | llvm-svn: 170005
* LoopVectorizer: Use the "optsize" attribute to decide if we are allowed to ↵Nadav Rotem2012-12-126-10/+185
| | | | | | increase the function size. llvm-svn: 170004
* This patch implements local-dynamic TLS model support for the 64-bitBill Schmidt2012-12-1215-19/+331
| | | | | | | | | | | | | | | | | | | | | | PowerPC target. This is the last of the four models, so we now have full TLS support. This is mostly a straightforward extension of the general dynamic model. I had to use an additional Chain operand to tie ADDIS_DTPREL_HA to the register copy following ADDI_TLSLD_L; otherwise everything above the ADDIS_DTPREL_HA appeared dead and was removed. As before, there are new test cases to test the assembly generation, and the relocations output during integrated assembly. The expected code gen sequence can be read in test/CodeGen/PowerPC/tls-ld.ll. There are a couple of things I think can be done more efficiently in the overall TLS code, so there will likely be a clean-up patch forthcoming; but for now I want to be sure the functionality is in place. Bill llvm-svn: 170003
* Kerning.Bill Wendling2012-12-121-1/+1
| | | | llvm-svn: 170002
* Documentation: llvm-bcanalyzer.rst: cleanup.Dmitri Gribenko2012-12-121-170/+51
| | | | llvm-svn: 170001
* [analyzer] Don't crash running destructors for multidimensional arrays.Jordan Rose2012-12-122-1/+29
| | | | | | | | | | We don't handle array destructors correctly yet, but we now apply the same hack (explicitly destroy the first element, implicitly invalidate the rest) for multidimensional arrays that we already use for linear arrays. <rdar://problem/12858542> llvm-svn: 170000
* Minor grammar and style fixes in documentation.Sean Callanan2012-12-122-6/+9
| | | | | | | <rdar://problem/12861963> <rdar://problem/12861904> llvm-svn: 169997
* Marking the objc_autoreleaseReturnValue and objc_retainAutoreleaseReturnValue Chad Rosier2012-12-126-13/+18
| | | | | | | | | | call sites as tail calls unconditionally. While it's theoretically true that this is just an optimization, it's an optimization that we very much want to happen even at -O0, or else ARC applications become substantially harder to debug. See r169796 for the llvm/fast-isel side of things. rdar://12553082 llvm-svn: 169996
* Allow LLDB to work with dSYM files that have a DWARF compile unit with ↵Greg Clayton2012-12-125-23/+120
| | | | | | nothing else to support clang's new -gline-tables-only mode of compiling. llvm-svn: 169994
* Documentation: AliasAnalysis.rst: improve internal and external linksDmitri Gribenko2012-12-121-19/+18
| | | | llvm-svn: 169993
* Documentation: convert WritingAnLLVMPass.html to reST.Dmitri Gribenko2012-12-128-1967/+1456
| | | | | | Patch by Anthony Mykhailenko with small fixes by me. llvm-svn: 169992
* Documentation: cleanupDmitri Gribenko2012-12-121-3/+4
| | | | llvm-svn: 169990
* The TargetData is not used for the isPowerOfTwo determination. It has neverRafael Espindola2012-12-124-18/+15
| | | | | | | | | | been used in the first place. It simply was passed to the function and to the recursive invocations. Simply drop the parameter and update the callers for the new signature. Patch by Saleem Abdulrasool! llvm-svn: 169988
* [ASan] Fix test expectations for strcat/strncat.Alexander Potapenko2012-12-121-4/+13
| | | | llvm-svn: 169987
* Add cpp11-migrate to autoconf buildEdwin Vane2012-12-121-1/+1
| | | | llvm-svn: 169986
* [sanitizer] add OnMap/OnUmap callbacks to the allocator interfaceKostya Serebryany2012-12-127-31/+124
| | | | llvm-svn: 169985
* Improve debug info generated with enabled AddressSanitizer.Alexey Samsonov2012-12-125-0/+105
| | | | | | | | | | | | When ASan replaces <alloca instruction> with <offset into a common large alloca>, it should also patch llvm.dbg.declare calls and replace debug info descriptors to mark that we've replaced alloca with a value that stores an address of the user variable, not the user variable itself. See PR11818 for more context. llvm-svn: 169984
* Initial commit for cpp11-migrate toolEdwin Vane2012-12-127-1/+112
| | | | | | | | - Added directory structures and build system files for the new tool. - Extremely basic implementation of tool performs only an initial syntax check. - Basic tests ensure syntax test works as expected. llvm-svn: 169983
* [tsan] fix cmake build Kostya Serebryany2012-12-121-0/+1
| | | | llvm-svn: 169982
* Documentation: use a 'console' highlighter for terminal output examples. ThisDmitri Gribenko2012-12-122-11/+11
| | | | | | gives a nicer output than 'bash'. llvm-svn: 169981
OpenPOWER on IntegriCloud