summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix for PR1476Pawel Wodnicki2012-11-071-2/+2
| | | | llvm-svn: 167535
* Fix the Objective-C exception rethrow from cleanups (GNU runtimes). Note thatDavid Chisnall2012-11-074-8/+10
| | | | | | | a bug in the inliner still causes the wrong thing to happen at -O2 and above (PR14116). llvm-svn: 167534
* tsan: do not sleep at exit if there are no other threadsDmitry Vyukov2012-11-074-1/+21
| | | | llvm-svn: 167533
* tsan: add flag to suppress all reports (useful for benchmarking)Dmitry Vyukov2012-11-074-1/+13
| | | | llvm-svn: 167532
* tsan: more precise handling of finalizersDmitry Vyukov2012-11-076-23/+17
| | | | llvm-svn: 167530
* [asan] fix bug 14277 (asan needs to fail with fata error if an __asan ↵Kostya Serebryany2012-11-071-2/+3
| | | | | | interface function is being redefined. Before this fix asan asserts) llvm-svn: 167529
* misched: Heuristics based on the machine model.Andrew Trick2012-11-073-147/+1000
| | | | | | | | | | | | | | misched is disabled by default. With -enable-misched, these heuristics balance the schedule to simultaneously avoid saturating processor resources, expose ILP, and minimize register pressure. I've been analyzing the performance of these heuristics on everything in the llvm test suite in addition to a few other benchmarks. I would like each heuristic check to be verified by a unit test, but I'm still trying to figure out the best way to do that. The heuristics are still in considerable flux, but as they are refined we should be rigorous about unit testing the improvements. llvm-svn: 167527
* misched: handle on-the-fly regpressure queries better for 2-addrAndrew Trick2012-11-072-9/+15
| | | | | | instructions without relying on liveintervals. llvm-svn: 167526
* Add comment describing what's going on here.Bill Wendling2012-11-072-1/+25
| | | | llvm-svn: 167525
* When we're updating the subprogram scope DIE, we want to determine if we'reBill Wendling2012-11-071-36/+37
| | | | | | | | | | updating an abstract DIE or not. If we are, then we use that. Its children will be added on later, as well as the object pointer attribute. Otherwise, this function may be called with a concrete DIE twice and adding the children and object pointer attribute to it twice. <rdar://problem/12401423&12600340> llvm-svn: 167524
* [analyzer] Add some examples for the common REGISTER_*_WITH_PROGRAMSTATEs.Jordan Rose2012-11-071-4/+24
| | | | | | No functionality change (doc comments only). llvm-svn: 167523
* [analyzer] Enhance docs for checker callbacks (esp. processRegionChanges).Jordan Rose2012-11-071-13/+28
| | | | | | No functionality change; this checker is only used for documentation. llvm-svn: 167522
* Fix a broken sentenceEli Bendersky2012-11-071-2/+3
| | | | llvm-svn: 167521
* When we were calculating the max byte size of ONE instruction to handle ↵Jim Ingham2012-11-071-1/+1
| | | | | | | | | | | | | | something like x/9i we actually calculated the size of 9 instructions. Then we multiplied it by the count again to get the total amount we should fetch, so we thought 9 x86_64 instructions took over 1K to fetch... <rdar://problem/12649027> llvm-svn: 167520
* Add -Wmismatched-return-types flag for existing warning on conflicting ↵Ted Kremenek2012-11-073-3/+4
| | | | | | return types. llvm-svn: 167518
* Document the -input-file option of FileCheckEli Bendersky2012-11-071-0/+5
| | | | llvm-svn: 167517
* Logging improvements for the Objective-C runtime.Sean Callanan2012-11-071-2/+14
| | | | | | | | | | | Also fixed a bug where the Objective-C runtime would not properly report that it found a class if (a) it had to build the ObjCInterfaceDecl for the class and (b) logging was enabled. <rdar://problem/12641180> llvm-svn: 167516
* Add -Wmismatched-parameter-types flag for existing warning on conflicting ↵Ted Kremenek2012-11-073-3/+5
| | | | | | parameter types. llvm-svn: 167515
* PR11851 (and duplicates): Whenever a constexpr function is referenced,Richard Smith2012-11-075-27/+178
| | | | | | | | | instantiate it if it can be instantiated and implicitly define it if it can be implicitly defined. This matches g++'s approach. Remove some cases from SemaOverload which were marking functions as referenced when just planning how overload resolution would proceed; such cases are not actually references. llvm-svn: 167514
* modern ObjC translator. Insert line number for @synchronized statements.Fariborz Jahanian2012-11-071-1/+3
| | | | llvm-svn: 167511
* Add missing check to warning for packed attribute. PR14259.Eli Friedman2012-11-072-1/+11
| | | | llvm-svn: 167510
* Create helper functions in StmtDumper for outputting the indentation, ↵Manuel Klimek2012-11-073-57/+127
| | | | | | | | | | newlines, and brackets. This is preparation for adding Decl dumping. Patch by Philip Craig. llvm-svn: 167509
* [arm fast-isel] Appease the machine verifier by using the proper registerChad Rosier2012-11-071-1/+4
| | | | | | | classes. For my test case the number of errors drop from 356 to 21. Part of rdar://12594152 llvm-svn: 167508
* PR13552: Fix the end location of a CXXNewExpr.David Blaikie2012-11-076-26/+15
| | | | | | | | | Spent longer than reasonable looking for a nice way to test this & decided to give up for now. Open to suggestions/requests. Richard Smith suggested adding something to ASTMatchers but it wasn't readily apparent how to test this with that. llvm-svn: 167507
* Fix assertion failure with auto and nested initializer list; PR14272.Eli Friedman2012-11-062-2/+7
| | | | llvm-svn: 167506
* Simplify code. No functionality change.Jakub Staszak2012-11-061-1/+1
| | | | llvm-svn: 167505
* Tease out the routine that reads the control block of an AST file fromDouglas Gregor2012-11-062-26/+41
| | | | | | the validation of an AST file against a specific set of options. llvm-svn: 167504
* Put something sane in the DWARF offset field for bitfield ObjC ivars.Eli Friedman2012-11-064-6/+53
| | | | | | | | | This is useful because unnamed bitfields can have effects on the offsets which are not otherwise reflected in the DWARF information. <rdar://problem/12629719> llvm-svn: 167503
* <rdar://problem/12647273>Greg Clayton2012-11-062-57/+166
| | | | | | Added the ability to get the full process list when using the --applist option in debugserver. llvm-svn: 167502
* Make the helper functions static. No functional change.Nadav Rotem2012-11-061-3/+5
| | | | llvm-svn: 167501
* objective-C modern rewriter. Insert line numbers inFariborz Jahanian2012-11-061-11/+44
| | | | | | | translated code where new code makes the lines be off. This is wip. llvm-svn: 167500
* Mark the Int_eh_sjlj_dispatchsetup pseudo instruction as clobbering allChad Rosier2012-11-067-28/+23
| | | | | | | | | | | | registers. Previously, the register we being marked as implicitly defined, but not killed. In some cases this would cause the register scavenger to spill a dead register. Also, use an empty register mask to simplify the logic and to reduce the memory footprint. rdar://12592448 llvm-svn: 167499
* [regallocfast] Make sure the MachineRegisterInfo is aware of clobbers from aChad Rosier2012-11-061-0/+5
| | | | | | | register masks. This is an obvious and necessary fix for a soon to be committed patch. No test case possible at this time. Reviewed by Jakob. llvm-svn: 167498
* RewriteModernObjC.cpp: Use Lexer::Stringify() on the file name of #line ↵NAKAMURA Takumi2012-11-061-1/+1
| | | | | | directive to escape Win32 path separator '\\'. llvm-svn: 167497
* Implement codegen for init_priority attribute properly - make sure itAnton Korobeynikov2012-11-063-19/+94
| | | | | | | | works between the modules. No functionality change on Darwin/Windows. This fixes PR11480. llvm-svn: 167496
* Back out 167431+167437+167487; I didn't realize how incomplete our testEli Friedman2012-11-064-135/+141
| | | | | | coverage of this code is. llvm-svn: 167495
* clang/lib/Driver/Tools.cpp: Fix abuse of StringRef.NAKAMURA Takumi2012-11-061-1/+1
| | | | llvm-svn: 167494
* Dimitry Andric: Silence some miscellaneous warnings.Howard Hinnant2012-11-063-1/+5
| | | | llvm-svn: 167493
* Dimitry Andric: Silence some warnings in <locale>.Howard Hinnant2012-11-061-3/+2
| | | | llvm-svn: 167492
* Enable the tuple interface of pair in C++03 mode.Howard Hinnant2012-11-061-4/+0
| | | | llvm-svn: 167491
* Update instructions for building and using libc++ on Mac OSHoward Hinnant2012-11-061-27/+18
| | | | llvm-svn: 167490
* [libclang] Add some comments about the version constants for the libclang API.Argyrios Kyrtzidis2012-11-061-0/+8
| | | | llvm-svn: 167489
* CostModel: add another known vector trunc optimization.Nadav Rotem2012-11-062-0/+4
| | | | llvm-svn: 167488
* Fix a silly mistake in r167437.Eli Friedman2012-11-062-18/+38
| | | | llvm-svn: 167487
* Provide a way to disable use of extern templates in libc++. This is ↵Howard Hinnant2012-11-0610-91/+95
| | | | | | intended for the clients of libc++, not the libc++ build. The dylib should always contain the extern templates. To disable the client needs to put -D'_LIBCPP_EXTERN_TEMPLATE(...)=' on the command line. llvm-svn: 167486
* clang/test/Driver/fsanitize.c: Speculative fix to improve test on win32, not ↵NAKAMURA Takumi2012-11-061-5/+5
| | | | | | to mix emissions into stdout. llvm-svn: 167485
* [c-index-test] When building with BUILD_CLANG_ONLY=YES, include c-index-test.Argyrios Kyrtzidis2012-11-061-3/+1
| | | | | | It is part of libclang and has other uses besides running the clang tests. llvm-svn: 167484
* Remove C++11-isms I just introduced in r167482Douglas Gregor2012-11-061-3/+3
| | | | llvm-svn: 167483
* Introduce inferred framework modules into the module map file,Douglas Gregor2012-11-068-90/+324
| | | | | | | | | | | | | | allowing a module map to be placed one level above the '.framework' directories to specify that all .frameworks within that directory can be inferred as framework modules. One can also specifically exclude frameworks known not to work. This makes explicit (and more restricted) behavior modules have had "forever", where *any* .framework was assumed to be able to be built as a module. That's not necessarily true, so we white-list directories (with exclusions) when those directories have been audited. llvm-svn: 167482
* Teach Clang parser to reject C++11 attributes that appertain to declaration ↵Michael Han2012-11-066-7/+37
| | | | | | | | | specifiers. We don't support any C++11 attributes that appertain to declaration specifiers so reject the attributes in parser until we support them; this also conforms to what g++ 4.8 is doing. llvm-svn: 167481
OpenPOWER on IntegriCloud