summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update for changes in LLVM. Hopefully this is the last one for a while.Owen Anderson2009-07-015-7/+7
| | | | llvm-svn: 74657
* Make the use of const with respect to LLVMContext sane. Hopefully this is ↵Owen Anderson2009-07-0129-58/+58
| | | | | | | | the last time, for the moment, that I will need to make far-reaching changes. llvm-svn: 74655
* Use find instead of operator[] to test whether an element is in a std::map.Dan Gohman2009-07-011-2/+4
| | | | | | This fixes a bug that caused -debug-pass=Details to abort. llvm-svn: 74654
* --- Reverse-merging (from foreign repository) r74648 into '.':Bill Wendling2009-07-014-209/+183
| | | | | | | | | | | U include/llvm/LLVMContext.h U lib/VMCore/LLVMContext.cpp U lib/AsmParser/LLParser.cpp U lib/AsmParser/LLParser.h Temporarily reverting r74648. It was causing massive failures in release mode. llvm-svn: 74653
* Keep DIDescriptor methods together. Devang Patel2009-07-011-123/+127
| | | | | | No functionality change. llvm-svn: 74652
* Keep track of more information within the template instantiation stack, e.g.,Douglas Gregor2009-07-017-33/+132
| | | | | | | | | | | | | | by distinguishing between substitution that occurs for template argument deduction vs. explicitly-specifiad template arguments. This is used both to improve diagnostics and to make sure we only provide SFINAE in those cases where SFINAE should apply. In addition, deal with the sticky issue where SFINAE only considers substitution of template arguments into the *type* of a function template; we need to issue hard errors beyond this point, as test/SemaTemplate/operator-template.cpp illustrates. llvm-svn: 74651
* Fix a comment typo.Bob Wilson2009-07-011-1/+1
| | | | llvm-svn: 74650
* Fix typo.Owen Anderson2009-07-011-1/+1
| | | | llvm-svn: 74649
* Convert LLParser to use LLVMContext for creating constants.Owen Anderson2009-07-014-184/+210
| | | | llvm-svn: 74648
* Use AA to check objects before LDA.Andreas Bolka2009-07-012-15/+16
| | | | llvm-svn: 74647
* Fix an instcombine abort on a scalar-to-vector bitcast. This fixes PR4487.Dan Gohman2009-07-012-1/+29
| | | | llvm-svn: 74646
* Tweak FindExecutable so that relative executable paths work as well.Daniel Dunbar2009-07-011-2/+3
| | | | llvm-svn: 74645
* Add getMDNode() to access metadata node.Devang Patel2009-07-011-0/+4
| | | | llvm-svn: 74644
* Hold the LLVMContext by reference instead of by pointer.Owen Anderson2009-07-015-8/+8
| | | | llvm-svn: 74642
* Fix up a comment: besides the >80col lines, the operation for thisBob Wilson2009-07-011-6/+6
| | | | | | addressing mode is encoded in the second operand, not the third. llvm-svn: 74641
* Hold the LLVMContext by reference rather than by pointer.Owen Anderson2009-07-0155-98/+107
| | | | llvm-svn: 74640
* Updated CXXConstructorDecl AST node for ctor-initilaizer list.Fariborz Jahanian2009-07-012-6/+57
| | | | | | No change in functionality. llvm-svn: 74639
* Fix metadata unittestsDevang Patel2009-07-011-3/+15
| | | | llvm-svn: 74638
* Fix thinko in r74506, test condition for floats was inverted.Daniel Dunbar2009-07-011-7/+7
| | | | | | - Refactored slightly to make control flow more obvious. llvm-svn: 74637
* Driver: Mark some Compilation members const.Daniel Dunbar2009-07-012-5/+6
| | | | llvm-svn: 74636
* Driver: Move Compilation::Execute to Driver::ExecuteCompilation.Daniel Dunbar2009-07-015-55/+63
| | | | | | | | | - The Compilation is just a helper class, it shouldn't have that amount of logic in it. - No functionality change. llvm-svn: 74634
* new test caseDevang Patel2009-07-011-0/+3
| | | | llvm-svn: 74633
* Do not print stranded metadata.Devang Patel2009-07-011-1/+2
| | | | llvm-svn: 74632
* Patch to implement template types in ctor-initializer list.Fariborz Jahanian2009-07-015-8/+56
| | | | | | Also has fix for bugzilla-4469. llvm-svn: 74631
* Support stand alone metadata syntax.Devang Patel2009-07-014-22/+119
| | | | | | | !0 = constant metadata !{i32 21, i32 22} @llvm.blah = constant metadata !{i32 1000, i16 200, metadata !0} llvm-svn: 74630
* Driver: Improve diagnostics for failed commands.Daniel Dunbar2009-07-014-12/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Not all tools give good error messages, and sometimes the tool can fail w/o any error (for example, when signalled). - We suppress this message when the failing command is the compiler and it failed normally (exit code == 1), under the assumption that it gave a good diagnostic. For example, for a linker failure we now get: -- ddunbar@lordcrumb:tmp$ clang a.c b.c ld: duplicate symbol _x in /var/folders/cl/clrOX6SaG+moCeRKEI4PtU+++TI/-Tmp-/cc-bXYITq.o and /var/folders/cl/clrOX6SaG+moCeRKEI4PtU+++TI/-Tmp-/cc-6uK4jD.o clang: error: linker command failed with exit code 1 (use -v to see invocation) -- For a compiler crash we get: -- ddunbar@lordcrumb:tmp$ clang t.i Assertion failed: (CGT.getTargetData().getTypeAllocSizeInBits(STy) == RL.getSize()), function layoutStructFields, file CodeGenTypes.cpp, line 573. 0 clang-cc 0x0000000100f1f1f1 PrintStackTrace(void*) + 38 ... stack trace and virtual stack trace follow ... clang: error: compiler command failed due to signal 6 (use -v to see invocation) -- But for a regular compilation failure we get the usual: -- ddunbar@lordcrumb:tmp$ clang c.c c.c:1:6: error: invalid token after top level declarator int x ^ 1 diagnostic generated. -- - No test case, not amenable to non-executable testing. :/ - <rdar://problem/6945613> llvm-svn: 74629
* Add machine operand for MDNodes. This will be used to communicate debug info.Devang Patel2009-07-012-1/+19
| | | | llvm-svn: 74628
* Driver: Add Source argument for Commands to hold the Action which caused aDaniel Dunbar2009-07-013-17/+27
| | | | | | | Command to be generated, to support more advanced diagnostics. - No functionality change. llvm-svn: 74627
* Add header search path for Gentoo stable, x86_64 version.Sebastian Redl2009-07-011-0/+8
| | | | llvm-svn: 74626
* llvm.dbg.declare is always used for local variable's debug info.Devang Patel2009-07-011-4/+1
| | | | llvm-svn: 74625
* Update comments to make it clear that the function alignment is the Log2 of theBill Wendling2009-07-0123-24/+24
| | | | | | bytes and not bytes. llvm-svn: 74624
* Update configure and config.h.in from r74621.Jeffrey Yasskin2009-07-012-1/+114
| | | | llvm-svn: 74623
* Fix unit tests for LLVMContext+Module.Owen Anderson2009-07-012-4/+6
| | | | llvm-svn: 74622
* Add a portable strerror*() wrapper, llvm::sys::StrError(). This includes theJeffrey Yasskin2009-07-018-31/+121
| | | | | | | | Windows variant, strerror_s, but I couldn't test that. I'll update configure and config.h.in in a subsequent patch. llvm-svn: 74621
* Use correct format for LLVM header #includes.Misha Brukman2009-07-011-1/+1
| | | | llvm-svn: 74620
* I give up on trying to use reader/writer locks for recursive type ↵Owen Anderson2009-07-011-71/+27
| | | | | | | | refinement. Use a recursive mutex instead, which will (in theory) generate more contention, but is really a much more natural fit for what's going on during recursive type refinement. llvm-svn: 74618
* add the "get it and get involved" section.Chris Lattner2009-07-011-9/+26
| | | | llvm-svn: 74617
* Update for LLVMContext+Module change.Owen Anderson2009-07-015-14/+26
| | | | llvm-svn: 74615
* Add a pointer to the owning LLVMContext to Module. This requires threading ↵Owen Anderson2009-07-0160-146/+277
| | | | | | | | | | LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
* Fix codegen for references to available_externally symbols. This fixesChris Lattner2009-07-012-5/+77
| | | | | | PR4482. llvm-svn: 74613
* Try again at making this work on OpenBSD.Owen Anderson2009-07-011-1/+1
| | | | llvm-svn: 74612
* Executables will be at InstallDir/bin directory. Std header files will be at ↵Sanjiv Gupta2009-07-012-11/+58
| | | | | | InstallDir/include, libs will be at InstallDir/lib. Define hooks for these and use them in the options for various tools. llvm-svn: 74611
* Insure that __block_holder_tmp is allocated on the stack when a byrefStuart Hastings2009-07-011-0/+8
| | | | | | variable is present. llvm-svn: 74610
* Fix FindExecutable to work if given an absolute executable path name.Daniel Dunbar2009-07-011-5/+10
| | | | | | - Patch by Viktor Kutuzov, with tweaks by me. llvm-svn: 74608
* llvm-mc: Add some more doxyments.Daniel Dunbar2009-07-011-27/+41
| | | | llvm-svn: 74607
* Two fixes to make Clang build on Visual C++ (again), from Alisdair Meredith.Douglas Gregor2009-07-012-5/+24
| | | | llvm-svn: 74606
* NewNightlyTest: Include minutes/seconds in log file names, to support runningDaniel Dunbar2009-07-011-3/+1
| | | | | | | | multiple runs per day (insane, I know). Also, remove some unused variables. llvm-svn: 74605
* Rework Sema::CheckConditionalOperands(). No functionality change.Steve Naroff2009-07-013-98/+137
| | | | | | | | | This was necessary to simplify some other changes I'm making (wrt ObjC type cleanups). The idea is to separate the constraint checks for block pointers, ObjC pointers, and C pointers (the previous code combined them into one clause). Note: This routine will be further simplified when I integrate the ObjC type cleanups (forthcoming). llvm-svn: 74604
* Added step-by-step directions on how to use the script to build and install anMisha Brukman2009-07-011-0/+37
| | | | | | x86_64/Linux -> ARM/Linux crosstool. llvm-svn: 74603
* CommuteChangesDestination() should check if to-be-commuted instruction ↵Evan Cheng2009-07-012-16/+160
| | | | | | defines any register. Also teaches the default commuteInstruction() to commute instruction without definitions (e.g. X86::test / ARM::tsp). llvm-svn: 74602
OpenPOWER on IntegriCloud