summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Insert a space at the start of a line comment in case it starts with an ↵Alexander Kornienko2013-06-115-48/+93
| | | | | | | | | | | | | | | | | | | | alphanumeric character. Summary: "//Test" becomes "// Test". This change is aimed to improve code readability and conformance to certain coding styles. If a comment starts with a non-alphanumeric character, the space isn't added, e.g. "//-*-c++-*-" stays unchanged. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D949 llvm-svn: 183750
* Fix variable name style. Don't cast to and from int.Rafael Espindola2013-06-112-7/+8
| | | | | | | This enables the compiler to see the enum and produce warnings about a switch not being fully covered. Fix one of these warnings. llvm-svn: 183749
* [lsan] Harmonized some naming inconsistencies.Sergey Matveev2013-06-1118-51/+51
| | | | llvm-svn: 183748
* Convert another use of sys::identifyFileType.Rafael Espindola2013-06-111-25/+26
| | | | | | No functionality change. llvm-svn: 183747
* Convert another use of sys::identifyFileType.Rafael Espindola2013-06-111-8/+6
| | | | | | No functionality change. llvm-svn: 183746
* Convert a use of sys::identifyFileType to sys::fs::identify_magic.Rafael Espindola2013-06-111-16/+18
| | | | | | No functionality change. llvm-svn: 183745
* R600: Make helper functions static.Benjamin Kramer2013-06-111-4/+5
| | | | llvm-svn: 183744
* Require members of llvm.used to be named.Rafael Espindola2013-06-112-7/+8
| | | | | | | | The effect of llvm.used is to introduce an invisible reference, so this seems a reasonable restriction. It will be used to provide an easy ordering of the entries in llvm.used. llvm-svn: 183743
* Silence GCC warning.Benjamin Kramer2013-06-111-0/+1
| | | | llvm-svn: 183742
* ASTUnit: Invert the dependency of PrecompilePreambleAction on ↵Benjamin Kramer2013-06-111-40/+43
| | | | | | | | PrecompilePreambleConsumer. Actions outlive consumers. PR16295. Found by AddressSanitizer. llvm-svn: 183741
* Factor duplicated yamlReader creation.Rafael Espindola2013-06-1110-17/+22
| | | | | | | | | | | The yaml reader is not specific to any file format. This patch moves it to TargetInfo and makes validate a non virtual interface so that it can be constructed from a single location. The same method will be used to create a reader for llvm bitcode files. llvm-svn: 183740
* Make it possible to assign clang-format-buffer to a keybinding.Manuel Klimek2013-06-111-0/+1
| | | | | | Patch by Chris Gray. llvm-svn: 183739
* tsan: add -Wno-maybe-uninitialized to Go build scriptDmitry Vyukov2013-06-112-3/+3
| | | | | | this is how the rest of the codebase is built llvm-svn: 183738
* Rework r183728, suppress assert(0) for now. Its behavior depends on ↵NAKAMURA Takumi2013-06-113-7/+4
| | | | | | | assertions on win32 hosts. FIXME: Introduce yet another checker but assert(0). llvm-svn: 183736
* [lsan] Fix the unittest makefiles.Sergey Matveev2013-06-113-16/+28
| | | | llvm-svn: 183735
* It adds support for negative zero offsets for loads and stores.Mihai Popa2013-06-112-2/+5
| | | | | | | Negative zero is returned by the primary expression parser as INT32_MIN, so all that the method needs to do is to accept this value. Behavior already present for Thumb2. llvm-svn: 183734
* This patch adds support for FPINST/FPINST2 as operands to vmsr/vmrs. These ↵Mihai Popa2013-06-114-6/+33
| | | | | | are optional registers that may be supported some ARM implementations to aid with resolution of floating point exceptions. The manual pages for vmsr and vmrs do not detail their use. Encodings and other information can be found in ARM Architecture Reference Manual section F, chapter 6, paragraph 3. llvm-svn: 183733
* [Sanitizer] add file forgotten in r183730Alexey Samsonov2013-06-111-0/+117
| | | | llvm-svn: 183732
* ARM: Enforce decoding rules for VLDn instructionsAmaury de la Vieuville2013-06-115-106/+138
| | | | llvm-svn: 183731
* [Sanitizer] support running external llvm-symbolizer on MacAlexey Samsonov2013-06-118-111/+45
| | | | llvm-svn: 183730
* ARM: Fix STREX/LDREX reecodingAmaury de la Vieuville2013-06-113-10/+56
| | | | | | The decoded MCInst wasn't reencoded as the same instruction llvm-svn: 183729
* Tweak a couple of tests on win32 hosts with +Asserts.NAKAMURA Takumi2013-06-113-1/+7
| | | | | | | | - Don't use assert(0), or tests may pass or fail according to assertions. - For now, The tests are marked as XFAIL for win32 hosts. FIXME: Could we avoid XFAIL to specify triple in the RUN lines? llvm-svn: 183728
* ARMAsmBackend.cpp: Use Triple::isOSBinFormatCOFF() instead of isOSWindows().NAKAMURA Takumi2013-06-111-1/+1
| | | | | | FYI, isOSBinFormatCOFF() is as same as isOSWindows(), on trunk. llvm-svn: 183727
* Whitespace.NAKAMURA Takumi2013-06-111-5/+5
| | | | llvm-svn: 183726
* Remove some unicode that sneaked in.David Majnemer2013-06-111-1/+1
| | | | llvm-svn: 183725
* [WinLink] Add -force command line option to allow undefined symbols.Rui Ueyama2013-06-113-0/+14
| | | | llvm-svn: 183724
* Implement DR61: Address of ambiguous bound methods should be disallowedDavid Majnemer2013-06-115-8/+17
| | | | | | | DR61 affirms that expressions containing unresolved member access should be disallowed when performing "address of" operations. llvm-svn: 183723
* Implement DR85: Redeclaration of member is forbiddenDavid Majnemer2013-06-117-13/+40
| | | | | | | Disallow the existence of a declaration of a member class that isn't a forward declaration before it's definition. llvm-svn: 183722
* Rework IR emission for lifetime-extended temporaries. Instead of trying to walkRichard Smith2013-06-118-278/+382
| | | | | | | | | | | | | | | | | into the expression and dig out a single lifetime-extended entity and manually pull its cleanup outside the expression, instead keep a list of the cleanups which we'll need to emit when we get to the end of the full-expression. Also emit those cleanups early, as EH-only cleanups, to cover the case that the full-expression does not terminate normally. This allows IR generation to properly model temporary lifetime when multiple temporaries are extended by the same declaration. We have a pre-existing bug where an exception thrown from a temporary's destructor does not clean up lifetime-extended temporaries created in the same expression and extended to automatic storage duration; that is not fixed by this patch. llvm-svn: 183721
* Fix a very silly mistake in r183590.Eli Friedman2013-06-112-4/+12
| | | | llvm-svn: 183720
* <rdar://problem/12876503>Enrico Granata2013-06-113-7/+22
| | | | | | | Adding a new setting interpreter.stop-command-source-on-error that dictates a default behavior for whether command source should stop upon hitting an error You can still override the setting for each individual invocation with the usual -e setting llvm-svn: 183719
* Fix a FIXME in a testcase about packed structs and calls I left aroundEli Friedman2013-06-112-2/+11
| | | | | | | | | while fixing a related bug. The fix here was simpler than I thought it would be. Fixes <rdar://problem/10530444>. llvm-svn: 183718
* [libclang] Allow building a precompiled preamble with compiler errorsArgyrios Kyrtzidis2013-06-116-17/+53
| | | | | | | | | | | A while ago we allowed libclang to build a PCH that had compiler errors; this was to retain the performance afforded by a PCH even if the user's code is in an intermediate state. Extend this for the precompiled preamble as well. rdar://14109828 llvm-svn: 183717
* <rdar://problem/12783351>Enrico Granata2013-06-114-0/+40
| | | | | | | | | | Add support for half-floats, as specified by IEEE-754-2008 With this checkin, you can now say: (lldb) x/7hf foo to read 7 half-floats at address foo llvm-svn: 183716
* Fix dubious type name similar to member name.Sean Silva2013-06-118-17/+17
| | | | | | Should bring bots back to life. llvm-svn: 183715
* Remove mis-grouping of an objc diagostic in my lastFariborz Jahanian2013-06-111-3/+3
| | | | | | patch. llvm-svn: 183714
* Objective-C [qoi]: Issue better warning when nsstring literal is missingFariborz Jahanian2013-06-104-7/+16
| | | | | | the '@'. PR16287 and // rdar://14106083 llvm-svn: 183713
* Fix spurious semicolons.Sean Silva2013-06-101-4/+4
| | | | | | Apparently these macros have semicolons inside of them already. llvm-svn: 183712
* [yaml2obj] Initial ELF support.Sean Silva2013-06-1014-1/+485
| | | | | | | | | Currently, only emitting the ELF header is supported (no sections or segments). The ELFYAML code organization is broadly similar to the COFFYAML code. llvm-svn: 183711
* ARM: diagnose ARM/Thumb assembly switches on CPUs only supporting one.Tim Northover2013-06-108-4/+59
| | | | | | | | | | | Some ARM CPUs only support ARM mode (ancient v4 ones, for example) and some only support Thumb mode (M-class ones currently). This makes sure such CPUs default to the correct mode and makes the AsmParser diagnose an attempt to switch modes incorrectly. rdar://14024354 llvm-svn: 183710
* Fix xemacs mode line, don't put them in .cpp files (just header files). NoNick Lewycky2013-06-101-1/+1
| | | | | | functionality change. llvm-svn: 183709
* [PECOFF] Refactoring: Split FileCOFF c'tor. No functionality change.Rui Ueyama2013-06-101-102/+123
| | | | | | | | | | | | | | | Split FileCOFF's constructor into mainly two private methods. One method is responsible to iterate over symbol tables, and other method is to atomize defined atoms. This is for readability and no changes in functionality. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D940 llvm-svn: 183708
* Adding properties to the SBBreakpoint classEnrico Granata2013-06-101-0/+20
| | | | llvm-svn: 183707
* <rdar://problem/14101771>Enrico Granata2013-06-101-3/+4
| | | | | | Hardening the CFBitVector data formatter against failed reads llvm-svn: 183706
* [PECOFF][Writer] Set required OS version numbers.Rui Ueyama2013-06-101-5/+8
| | | | llvm-svn: 183705
* Remove a few fixmes, the only work we're doing is getting the stringEric Christopher2013-06-101-4/+0
| | | | | | to return and this is done all over. llvm-svn: 183704
* Fix up comment.Eric Christopher2013-06-101-1/+1
| | | | llvm-svn: 183703
* Add output of fault address on an address related crash (ie. segfault).Matt Kopec2013-06-105-14/+33
| | | | llvm-svn: 183701
* [PECOFF] Add comments for symbols.Rui Ueyama2013-06-103-2/+8
| | | | llvm-svn: 183700
* Make sure we don't emit invalid IR for StmtExprs with complex cleanups.Eli Friedman2013-06-106-21/+52
| | | | | | Fixes <rdar://problem/14074868>. llvm-svn: 183699
OpenPOWER on IntegriCloud