summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a TargetOption for disabling tail calls.Nick Lewycky2012-01-194-3/+57
| | | | llvm-svn: 148442
* Remove the now-unused CorrectTypoContext enum.Kaelyn Uhrain2012-01-192-107/+1
| | | | llvm-svn: 148441
* Rename Finalizebundle to finalizeBundle to conform to coding guideline.Evan Cheng2012-01-193-5/+5
| | | | llvm-svn: 148440
* constexpr: converted constant expression handling for enumerator values, caseRichard Smith2012-01-1816-82/+511
| | | | | | | | | | values and non-type template arguments of integral and enumeration types. This change causes some legal C++98 code to no longer compile in C++11 mode, by enforcing the C++11 rule that narrowing integral conversions are not permitted in the final implicit conversion sequence for the above cases. llvm-svn: 148439
* Add experimental -x86-use-regmask command line option.Jakob Stoklund Olesen2012-01-181-0/+12
| | | | | | | | It adds register mask operands to x86 call instructions. Once all the backend passes support register mask operands, this will be permanently enabled. llvm-svn: 148438
* Ignore register mask operands when lowering instructions to MC.Jakob Stoklund Olesen2012-01-186-1/+17
| | | | | | | This is similar to implicit register operands. MC doesn't understand register liveness and call clobbers. llvm-svn: 148437
* Add a RegisterMaskSDNode class.Jakob Stoklund Olesen2012-01-187-3/+41
| | | | | | | | | | | This SelectionDAG node will be attached to call nodes by LowerCall(), and eventually becomes a MO_RegisterMask MachineOperand on the MachineInstr representing the call instruction. LowerCall() will attach a register mask that depends on the calling convention. llvm-svn: 148436
* Be sure to use the one and only trusted source for chopping upGreg Clayton2012-01-181-9/+4
| | | | | | | | objective C class names when extracting the class name, selector and name without category for objective C full class and instance method names. llvm-svn: 148435
* Add support for the gnueabihf environment. Patch by Sylvestre Ledru.Rafael Espindola2012-01-182-0/+4
| | | | llvm-svn: 148434
* Change the error when a '+=' follows a declaration to suggest a fixit to '=' ↵Richard Trieu2012-01-186-19/+40
| | | | | | | | | | | | | | | | | | | instead of just suggesting a ';'. Old error: plusequaldeclare1.cc:3:8: error: expected ';' at end of declaration int x += 6; ^ ; New error: plusequaldeclare1.cc:3:9: error: invalid '+=' at end of declaration; did you mean '='? int x += 6; ^~ = llvm-svn: 148433
* Thumb2 alternate syntax for LDR(literal) and friends.Jim Grosbach2012-01-184-0/+96
| | | | | | | | Explicit pc-relative syntax. For example, "ldrb r2, [pc, #-22]". rdar://10250964 llvm-svn: 148432
* Process instructions after match to select alternative encoding which may be ↵Devang Patel2012-01-182-16/+111
| | | | | | more desirable. llvm-svn: 148431
* Use -Wdeprecated-objc-isa-usage for option to issueFariborz Jahanian2012-01-181-1/+1
| | | | | | deprecated usage of 'isa'. // rdar://8290002 llvm-svn: 148430
* Replace FIXME with explanatory comment.Jim Grosbach2012-01-181-1/+2
| | | | llvm-svn: 148427
* Fixed an issue in the debugger format strings that include ↵Greg Clayton2012-01-181-1/+1
| | | | | | | | | "${function.name-with-args}" where we grabbed the variable list size from the wrong list (we needed it from "args" and we were getting it from "variable_list_sp"). llvm-svn: 148425
* Thumb2 relaxation for LDR(literal).Jim Grosbach2012-01-182-9/+33
| | | | | | | | | If the fixup is out of range for the Thumb1 instruction, relax it to the Thumb2 encoding instead. rdar://10711829 llvm-svn: 148424
* MCAssembler tweak for determining when a symbol difference is resolved.Jim Grosbach2012-01-181-1/+2
| | | | | | | | | | | | If the two fragments are in the same Atom, then the difference expression is resolvable at compile time. Previously we were checking that they were in the same fragment, but that breaks down in the presence of instruction relaxation which has multiple fragments in the same atom. rdar://10711829 llvm-svn: 148423
* Rename pattern for clarity.Jim Grosbach2012-01-181-4/+3
| | | | llvm-svn: 148422
* Convert SemaDecl.cpp to pass callback objects to CorrectTypo.Kaelyn Uhrain2012-01-184-52/+113
| | | | | | | | | | | | Includes tests highlighting the cases where accuracy has improved (there is one call that does no filtering beyond selecting the set of allowed keywords, and one call that only triggers for ObjC code for which a test by someone who knows ObjC would be welcome). Also fixes a small typo in one of the suggestion messages, and drops a malformed "expected-note" for a suggestion that did not occur even when the malformed note was committed as r145930. llvm-svn: 148420
* Add a depth limit to avoid runaway recursion.Dan Gohman2012-01-181-3/+7
| | | | llvm-svn: 148419
* Add comment regarding TestHelloWorld.py's use of a dictionary to ↵Johnny Chen2012-01-181-0/+1
| | | | | | specify/overwrite the EXE name. llvm-svn: 148418
* Modify the test cases so that each uses a unique executable name for the ↵Johnny Chen2012-01-181-8/+15
| | | | | | | | | debugger to attach/launch. I've see cases where there are lingering processes ("hello_world") staying around and the test_with_dsym_and_attach_to_process_with_name_api() test case just hangs. llvm-svn: 148417
* Use llvm.global_ctors to locate global constructors insteadDan Gohman2012-01-182-6/+21
| | | | | | of recognizing them by name. llvm-svn: 148416
* Remove trailing spaces and unneeded includes.Jakub Staszak2012-01-181-134/+131
| | | | llvm-svn: 148415
* Fixed an issue where we might not find the one true ObjC definition. Now we ↵Greg Clayton2012-01-182-29/+73
| | | | | | | | | | do things much smarter by extracting search results more efficiently and by properly obeying the must_be_implementation bool in the SymbolFileDWARF::FindCompleteObjCDefinitionTypeForDIE() function. llvm-svn: 148413
* Optimize unqualified/global name lookup in modules by introducing aDouglas Gregor2012-01-186-17/+60
| | | | | | | | | | generational scheme for identifiers that avoids searching the hash tables of a given module more than once for a given identifier. Previously, loading any new module invalidated all of the previous lookup results for all identifiers, causing us to perform the lookups repeatedly. llvm-svn: 148412
* Document the fact that the selection dag changes the vselect condition typeNadav Rotem2012-01-181-0/+3
| | | | llvm-svn: 148411
* Refactor: Pull getImmediateMacroName() out of DiagnosticRenderer andAnna Zaks2012-01-184-30/+44
| | | | | | into Lexer and Preprocessor; making it widely available. llvm-svn: 148410
* Fixed macro condition.Lang Hames2012-01-181-1/+1
| | | | llvm-svn: 148408
* objc: deprecate direct usage of 'isa' of objc objectsFariborz Jahanian2012-01-185-9/+18
| | | | | | | in favor of usage of api's intended for. // rdar://8290002 llvm-svn: 148404
* Add a test case where 'settings set frame-format' supplies a format string ↵Johnny Chen2012-01-181-0/+21
| | | | | | | | containing, among other things, a single backtick character. rdar://problem/10712130 llvm-svn: 148403
* Tidy up. 80 columns.Jim Grosbach2012-01-181-13/+13
| | | | llvm-svn: 148401
* Tidy up. MCAsmBackend naming conventions.Jim Grosbach2012-01-189-57/+57
| | | | llvm-svn: 148400
* Added installheaders target.Howard Hinnant2012-01-181-0/+2
| | | | llvm-svn: 148399
* Remove installhdrs target from MakefileHoward Hinnant2012-01-181-2/+0
| | | | llvm-svn: 148396
* AddressSanitizer: return false instead of true for __asan_get_ownership(NULL)Alexey Samsonov2012-01-183-29/+14
| | | | llvm-svn: 148394
* In the driver, -fmodules enables modules for C/Objective-C but oneDouglas Gregor2012-01-183-2/+18
| | | | | | also needs -fcxx-modules to enable modules for C++/Objective-C++. llvm-svn: 148393
* Add and update tests for character literalsSeth Cantrell2012-01-187-49/+56
| | | | llvm-svn: 148392
* stop claiming unicode escape sequences are too long in strings, because they ↵Seth Cantrell2012-01-181-2/+0
| | | | | | never are llvm-svn: 148391
* Fix char literal types in CSeth Cantrell2012-01-181-8/+6
| | | | | | | | L'x' is actually wchar_t support C11 u and U char literals llvm-svn: 148390
* Improves support for Unicode in character literalsSeth Cantrell2012-01-182-66/+121
| | | | | | | | | | | | | | | | | | | | Updates ProcessUCNExcape() for C++. C++11 allows UCNs in character and string literals that represent control characters and basic source characters. Also C++03 allows UCNs that refer to surrogate codepoints. UTF-8 sequences in character literals are now handled as single c-chars. Added error for multiple characters in Unicode character literals. Added errors for when a the execution charset encoding of a c-char cannot be represented as a single code unit in the associated character type. Note that for the purposes of this error the asso- ciated character type for a narrow character literal is char, not int, even though in C narrow character literals have type int. llvm-svn: 148389
* test svn commit accessSeth Cantrell2012-01-181-0/+1
| | | | llvm-svn: 148388
* Follow-up for r148386: deleted compiler-rt/lib/asan/sysinfoAlexander Potapenko2012-01-180-0/+0
| | | | llvm-svn: 148387
* Delete sysinfo/* and all references to it.Alexander Potapenko2012-01-1810-1335/+7
| | | | llvm-svn: 148386
* Implement AsanProcMaps for Mac OS. The code from sysinfo/ is not needed ↵Alexander Potapenko2012-01-184-14/+114
| | | | | | anymore and should be cleaned up. llvm-svn: 148385
* Remove dead code.Bill Wendling2012-01-181-45/+0
| | | | llvm-svn: 148384
* Fix a bug in the type-legalization of vector integers. When we bitcast one ↵Nadav Rotem2012-01-182-2/+18
| | | | | | vector type to another, we must not bitcast the result if one type is widened while the other is promoted. llvm-svn: 148383
* Convert DiagnoseEmptyLookup to use correction callbacks.Kaelyn Uhrain2012-01-184-7/+13
| | | | | | | | | | | | No new unit tests yet as there is no behavioral change (except for slightly more specific filtering in Sema::ActOnStartOfLambdaDefinition). Tests will be added as the code paths are traced in greater depth to determine how to improve the results--there are at least one or two known bugs that require those improvements. This commit lays the groundwork for those changes. llvm-svn: 148382
* Move narrowing conversion detection code from SemaInit to SemaOverload, readyRichard Smith2012-01-187-210/+326
| | | | | | | | | | | | | for it to be used in converted constant expression checking, and fix a couple of issues: - Conversion operators implicitly invoked prior to the narrowing conversion were not being correctly handled when determining whether a constant value was narrowed. - For conversions from floating-point to integral types, the diagnostic text incorrectly always claimed that the source expression was not a constant expression. llvm-svn: 148381
* Bump version number past lldb-107.Jason Molenda2012-01-182-16/+16
| | | | llvm-svn: 148380
OpenPOWER on IntegriCloud