summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* For ARM/Darwin, add a dwarf entry indicating whether a function is arm or thumbJim Grosbach2010-07-213-0/+25
| | | | | | rdar://8202967 llvm-svn: 109057
* add some rough support for making mcinst lowering work without anChris Lattner2010-07-211-5/+23
| | | | | | | | asmprinter or mangler around. This is option #B for killing off X86InstrInfo::GetInstSizeInBytes. Option #A (killing "needsexactsize") was sent for consideration to llvmdev. llvm-svn: 109056
* First stab at updating the documentation for INITIALIZE_PASS().Owen Anderson2010-07-211-7/+7
| | | | llvm-svn: 109055
* Modified both the ObjectFileMachO and ObjectFileELF to correctly set theGreg Clayton2010-07-217-127/+129
| | | | | | | | | | | | | SectionType for Section objects for DWARF. Modified the DWARF plug-in to get the DWARF sections by SectionType so we can safely abstract the LLDB core from section names for the various object file formats. Modified the SectionType definitions for .debug_pubnames and .debug_pubtypes to use the correct case. llvm-svn: 109054
* ObjCId is special "struct objc_object". Make this explicit in debug info.Devang Patel2010-07-211-0/+6
| | | | | | This is tested by objc-rbreak.exp in gdb testsuite. llvm-svn: 109050
* Allow loading macros from any file in the chain. WIPSebastian Redl2010-07-212-71/+90
| | | | llvm-svn: 109048
* Baby steps towards ARM fast-isel.Eric Christopher2010-07-216-1/+104
| | | | llvm-svn: 109047
* Change over to using the definitions for mach-o types and defines to theGreg Clayton2010-07-2132-1551/+1769
| | | | | | | | | | | defines that are in "llvm/Support/MachO.h". This should allow ObjectFileMachO and ObjectContainerUniversalMachO to be able to be cross compiled in Linux. Also did some cleanup on the ASTType by renaming it to ClangASTType and renaming the header file. Moved a lot of "AST * + opaque clang type *" functionality from lldb_private::Type over into ClangASTType. llvm-svn: 109046
* Fix batch of converting RegisterPass<> to INTIALIZE_PASS().Owen Anderson2010-07-2199-222/+230
| | | | llvm-svn: 109045
* tests: XFAIL this test on win32, someone else can hunt this one down.Daniel Dunbar2010-07-211-0/+1
| | | | llvm-svn: 109044
* Hack around extracts that aren't easy to process.Eric Christopher2010-07-211-0/+4
| | | | llvm-svn: 109043
* tidy upJim Grosbach2010-07-211-1/+1
| | | | llvm-svn: 109042
* Add new SectionType enumerations for all DWARF sections. ObjectFile parsers ↵Greg Clayton2010-07-211-0/+11
| | | | | | should start properly setting the section types for DWARF sections, then we can move the DWARF SymbolFile parser over to finding the sections by the appropriate SectionType. llvm-svn: 109041
* Allow searching for a section by SectionType.Greg Clayton2010-07-213-2/+22
| | | | llvm-svn: 109040
* Add missing AVX convert instructions. Those instructions are not described ↵Bruno Cardoso Lopes2010-07-213-22/+128
| | | | | | in their SSE forms (although they exist), but add the AVX forms anyway, so the assembler can benefit from it llvm-svn: 109039
* tidy up.Jim Grosbach2010-07-211-26/+27
| | | | llvm-svn: 109038
* 80 column and trailing whitespace cleanupJim Grosbach2010-07-211-171/+173
| | | | llvm-svn: 109037
* Add some debug output to help diagnose PR7689.Dan Gohman2010-07-211-0/+3
| | | | llvm-svn: 109036
* Fix a couple issues with Win64 ABINate Begeman2010-07-212-6/+3
| | | | | | | | | | | 1) all registers were spilled as xmm, regardless of actual size 2) win64 abi doesn't do the varargs-size-in-%al thing Still to look into: xmm6-15 are marked as clobbered by call instructions on win64 even though they aren't. llvm-svn: 109035
* Add the INITIALIZE_PASS macro.Owen Anderson2010-07-211-0/+2
| | | | llvm-svn: 109034
* Upgrade "'X' is unavailable" from a warning to an error. This matches GCC's ↵Ted Kremenek2010-07-214-9/+8
| | | | | | | | | | | | behavior. Note that GCC emits a warning instead of an error when using an unavailable Objective-C protocol, so now Clang's behavior is more strict in this case, but more consistent. We will need to see how much this fires on real code and determine whether this case should be downgraded to a warning. Fixes <rdar://problem/8213093>. llvm-svn: 109033
* Avoid AVX instructions to be selected instead of its SSE formBruno Cardoso Lopes2010-07-211-1/+1
| | | | llvm-svn: 109032
* NamedMDNode is never an operand.Dan Gohman2010-07-211-1/+1
| | | | llvm-svn: 109031
* Promote some macro-related stuff to per-file data. Fix a cache-inefficient ↵Sebastian Redl2010-07-212-48/+58
| | | | | | nested loop by inverting the nesting. Store the size of each file in the chain; will need this later for statement offsets. llvm-svn: 109030
* tests: Use FileCheck instead of external input; I think this test was failing onDaniel Dunbar2010-07-212-13/+14
| | | | | | Win32 because of line ending differences. llvm-svn: 109029
* Disallow null as a named metadata operand.Dan Gohman2010-07-2111-40/+20
| | | | | | | | | | | Make MDNode::destroy private. Fix the one thing that used MDNode::destroy, outside of MDNode itself. One should never delete or destroy an MDNode explicitly. MDNodes implicitly go away when there are no references to them (implementation details aside). llvm-svn: 109028
* Introduce a new C API function, clang_parseTranslationUnit(), whichDouglas Gregor2010-07-214-2/+97
| | | | | | | | | will eventually replace clang_createTranslationUnitFromSourceFile(). The only addition in clang_parseTranslationUnit() is a set of flags that can control how the translation unit is loaded. More interesting flags will be coming. llvm-svn: 109027
* Use System/DataTypes.h instead of stdint.h, which isn't portable.Daniel Dunbar2010-07-211-1/+1
| | | | llvm-svn: 109026
* Added extra check when looking for location of '=' inFariborz Jahanian2010-07-211-2/+3
| | | | | | a copy initialization. llvm-svn: 109025
* Fix source location of the initializer in Fariborz Jahanian2010-07-213-11/+6
| | | | | | | a copy initialization. Back out hack in objc rewriter. fixes radar 8213998. llvm-svn: 109024
* Catch thinko that Daniel Dunbar found.Nate Begeman2010-07-211-0/+1
| | | | llvm-svn: 109023
* Fix regression caused by r108911.Devang Patel2010-07-211-1/+2
| | | | | | | Do not override known debug loc with unknown debug loc. This is tested by sections.exp in gdb testsuite. llvm-svn: 109022
* Use TrackingVH instead of WeakVH for NamedMDNode's operands, since nodesDan Gohman2010-07-212-8/+8
| | | | | | referenced by NamedMDNodes shouldn't be deleted. llvm-svn: 109021
* Tidy.Dan Gohman2010-07-211-4/+1
| | | | llvm-svn: 109020
* Move the smarts of AnalysisGroup registration into PassRegistry.Owen Anderson2010-07-213-40/+38
| | | | llvm-svn: 109019
* Fix a rewriter bug which originates in SemaInit involvingFariborz Jahanian2010-07-212-4/+35
| | | | | | | Constructor Initialization which computes Source Location differently now. Fixes radar 8213998. llvm-svn: 109018
* Delete an obsolete comment.Dan Gohman2010-07-211-2/+1
| | | | llvm-svn: 109017
* Updated LLVM and Clang to July 20 at 16:00.Greg Clayton2010-07-213-10/+12
| | | | llvm-svn: 109016
* strip out the 2.7 release notes, this really is the 2.8 release notesChris Lattner2010-07-211-507/+27
| | | | | | now. Add a few items like the fpstackifier improvements. llvm-svn: 109013
* Don't crash when sending a message inside a block with the non-fragile ABI ↵David Chisnall2010-07-211-1/+1
| | | | | | (GNU runtime). llvm-svn: 109012
* Mark the load after calling objc_msg_lookup_sender() so that it doesn't get ↵David Chisnall2010-07-211-2/+2
| | | | | | optimised away (GNU runtime). llvm-svn: 109010
* Fix calling convention on ARM if vfp2+ is enabled.Rafael Espindola2010-07-212-6/+28
| | | | llvm-svn: 109009
* appease ValidatorGabor Greif2010-07-211-1/+1
| | | | llvm-svn: 109007
* add info on operand rotationGabor Greif2010-07-211-0/+9
| | | | llvm-svn: 109006
* Pulling out previous patch, must've run the tests inEric Christopher2010-07-213-40/+3
| | | | | | the wrong directory. llvm-svn: 109005
* Lower MEMBARRIER on x86 and support processors without SSE2.Eric Christopher2010-07-213-3/+40
| | | | | | | Fixes a pile of libgomp failures in the llvm-gcc testsuite due to the libcall not existing. llvm-svn: 109004
* Changed OStream templates to functions on raw_ostream, removed the unused ↵Lang Hames2010-07-212-51/+25
| | | | | | "renderWarnings" function. llvm-svn: 109003
* Add AVX only vzeroall and vzeroupper instructionsBruno Cardoso Lopes2010-07-213-2/+18
| | | | llvm-svn: 109002
* restore aestheticsGabor Greif2010-07-211-24/+24
| | | | llvm-svn: 109001
* Rename LazyCleanup -> Cleanup. No functionality change for these last threeJohn McCall2010-07-2110-178/+173
| | | | | | commits. llvm-svn: 109000
OpenPOWER on IntegriCloud