summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement code completion for preprocessor expressions and in macroDouglas Gregor2010-08-2411-16/+137
| | | | | | arguments. llvm-svn: 111976
* Added a test for launching a universal binary. Launch of i386 architectureJohnny Chen2010-08-242-0/+54
| | | | | | | | currently fails: rdar://problem/8349784. Forgot to check in lldbtest.py in the previous commit r111958. llvm-svn: 111975
* Rework braindead conditionals I put in yesterday.Eric Christopher2010-08-241-14/+12
| | | | llvm-svn: 111974
* Fix thumb2 mode loads to have the correct operand ordering. Add a todoEric Christopher2010-08-241-4/+9
| | | | | | to fix this in the port. llvm-svn: 111973
* NULL loads are only invalid in the default address space.Owen Anderson2010-08-241-1/+1
| | | | llvm-svn: 111972
* Add support for inferring values for the default cases of switches.Owen Anderson2010-08-241-3/+22
| | | | llvm-svn: 111971
* tests: Use REQUIRES: instead of XFAIL: for crash recovery tests; running them onDaniel Dunbar2010-08-244-3/+9
| | | | | | | Windows breaks things (because it pops up dialogs) since we don't have crash recovery support there (yet). llvm-svn: 111970
* Add ARM heuristic for when to allocate a virtual base register for stackJim Grosbach2010-08-244-10/+48
| | | | | | access. rdar://8277890&7352504 llvm-svn: 111968
* Change the parsing of .loc back to allow the LineNumber field to be optional asKevin Enderby2010-08-241-7/+8
| | | | | | it is with other assemblers. llvm-svn: 111967
* Implement -iwithsysroot, an apple extension which is a close cousin of -isystem.Chris Lattner2010-08-243-2/+5
| | | | | | | Instead of implementing -isystem, I accidentally implemented this cousin. Next up is to implement -isystem right. llvm-svn: 111966
* Improvements to IdempotentOperationChecker and its use of PseudoConstantAnalysisTom Care2010-08-248-26/+109
| | | | | | | | | | | | - Added wasReferenced function to PseudoConstantAnalysis to determine if a variable was ever referenced in a function (outside of a self-assignment) - BlockDeclRefExpr referenced variables are now explicitly added to the non-constant list - Remove unnecessary ignore of implicit casts - Generalized parameter self-assign detection to detect deliberate self-assigns of variables to avoid unused variable warnings - Updated test cases with deliberate self-assignments - Fixed bug with C++ references and pseudoconstants - Added test case for C++ references and pseudoconstants llvm-svn: 111965
* Got a lot of the kinks worked out in the inline support after debugging moreGreg Clayton2010-08-2422-152/+185
| | | | | | | | | | | | | | | | | | | | | | complex inlined examples. StackFrame classes don't have a "GetPC" anymore, they have "GetFrameCodeAddress()". This is because inlined frames will have a PC value that is the same as the concrete frame that owns the inlined frame, yet the code locations for the frame can be different. We also need to be able to get the real PC value for a given frame so that variables evaluate correctly. To get the actual PC value for a frame you can use: addr_t pc = frame->GetRegisterContext()->GetPC(); Some issues with the StackFrame stomping on its own symbol context were resolved which were causing the information to change for a frame when the stack ID was calculated. Also the StackFrame will now correctly store the symbol context resolve flags for any extra bits of information that were looked up (if you ask for a block only and you find one, you will alwasy have the compile unit and function). llvm-svn: 111964
* Fix COFF x86-64 relocations. PR7960.Michael J. Spencer2010-08-244-52/+89
| | | | | | Multiple symbol reloc handling part of the patch by Cameron Esfahani. llvm-svn: 111963
* XFAIL this on mingw, following remove_arguments_test.ll.Dan Gohman2010-08-241-0/+1
| | | | llvm-svn: 111962
* Converted to Makefile.rules.Johnny Chen2010-08-241-123/+3
| | | | llvm-svn: 111961
* More descriptive method doc string.Johnny Chen2010-08-241-1/+1
| | | | llvm-svn: 111960
* Add support for inferring that a load from a pointer implies that it is not ↵Owen Anderson2010-08-241-4/+17
| | | | | | null. llvm-svn: 111959
* Added a test case which uses "image lookup" command on an enum data type.Johnny Chen2010-08-241-0/+51
| | | | llvm-svn: 111958
* Move some of SemaOverload's API to various places in Overload.h, and killJohn McCall2010-08-247-430/+437
| | | | | | some of it off completely. llvm-svn: 111957
* First bit of support for the dwarf .loc directive. This patch updates theKevin Enderby2010-08-244-19/+162
| | | | | | | | | | needed parsing for the .loc directive and saves the current info from that into the context. The next patch will take the current loc info after an instruction is assembled and save that info into a vector for each section for use to build the line number tables. The patch after that will encode the info from those vectors into the output file as the dwarf line tables. llvm-svn: 111956
* Add a testcase for basic bugpointing in the presence of metadata.Dan Gohman2010-08-241-0/+34
| | | | llvm-svn: 111955
* Implement preprocessor code completion where a macro name is expected,Douglas Gregor2010-08-2412-8/+107
| | | | | | | e.g., after #ifdef/#ifndef or #undef, or inside a defined <macroname> expression in a preprocessor conditional. llvm-svn: 111954
* - Add the LinkerPrivateWeakDefAutoLinkage to the Ada bindings.Bill Wendling2010-08-243-19/+30
| | | | | | - Support the LinkerWeak*Linkage types in llvm-nm and in LinkModules.cpp. llvm-svn: 111952
* MC/X86: Tweak imul recognition, previous hack only applies for the imul formDaniel Dunbar2010-08-242-1/+6
| | | | | | taking immediates. llvm-svn: 111950
* Link NamedMDNodes after linking GlobalValues, so that MDNodesDan Gohman2010-08-241-3/+5
| | | | | | which reference GlobalValues are properly remapped. llvm-svn: 111949
* When linking NamedMDNodes, remap their operands.Dan Gohman2010-08-241-3/+5
| | | | llvm-svn: 111948
* MC/X86: Add custom hack for recognizing "imul $12, %eax" and friends.Daniel Dunbar2010-08-242-0/+11
| | | | llvm-svn: 111947
* MC/AsmParser: Change ParseExpression to use ParseIdentifier(), to supportDaniel Dunbar2010-08-242-5/+11
| | | | | | dollars in identifiers. llvm-svn: 111946
* MC/X86: Warn on scale factors > 1 without index register, instead of erroring,Daniel Dunbar2010-08-242-4/+12
| | | | | | for 'as' compatibility. llvm-svn: 111945
* Introduce basic code-completion support for preprocessor directives,Douglas Gregor2010-08-2411-23/+351
| | | | | | e.g., after a "#" we'll suggest #if, #ifdef, etc. llvm-svn: 111943
* Move enabling the local stack allocation pass into the target where it belongs.Jim Grosbach2010-08-246-23/+26
| | | | | | | For now it's still a command line option, but the interface to the generic code doesn't need to know that. llvm-svn: 111942
* Use MapValue in the Linker instead of having a private functionDan Gohman2010-08-245-110/+22
| | | | | | | | which does the same thing. This eliminates redundant code and handles MDNodes better. MDNode linking still doesn't fully work yet though. llvm-svn: 111941
* Fix a bug in nonfragile-abi2 when attempting to diagnoseFariborz Jahanian2010-08-242-2/+40
| | | | | | | | previous use of a synthesized 'ivar' with property of same name declared as @dynamic. In this case, 'ivar' is in the inherited class and no diagnostics should be issued. llvm-svn: 111940
* Need a better method name.Johnny Chen2010-08-241-1/+1
| | | | llvm-svn: 111939
* Converted to Makefile.rules.Johnny Chen2010-08-241-123/+3
| | | | llvm-svn: 111938
* Added test case TestBitfields.py for rdar://problem/8348251, whereJohnny Chen2010-08-241-0/+61
| | | | | | "variable list bits" display bits variable correctly, but not "variable list". llvm-svn: 111937
* Fix enum size and align. Tested by setvar.exp in gdb testsuite.Devang Patel2010-08-241-4/+6
| | | | llvm-svn: 111936
* Document '__clang_analyzer__'.Ted Kremenek2010-08-241-0/+37
| | | | llvm-svn: 111935
* MC/Parser: Accept leading dollar signs in identifiers.Daniel Dunbar2010-08-242-0/+29
| | | | | | | | - Implemented by manually splicing the tokens. If this turns out to be problematically platform specific, a more elegant solution would be to implement some context dependent lexing support. llvm-svn: 111934
* Don't cast away qualifiers with C-style casts.Dan Gohman2010-08-241-3/+3
| | | | llvm-svn: 111933
* add ARM cmd line option to force always using virtual base regs when possible.Jim Grosbach2010-08-241-4/+16
| | | | | | | Intended to help ease reproducing problems by increasing base register usage after heuristics for only using the when needed are in place. llvm-svn: 111930
* Apply "Win32's Hybrid path separator in argv[0] should be accepted to bugpoint",Chris Lattner2010-08-241-10/+3
| | | | | | patch by NAKAMURA Takumi! llvm-svn: 111929
* Converted to Makefile.rules.Johnny Chen2010-08-241-123/+3
| | | | llvm-svn: 111928
* Debug Info: Put full Clang version into the debug info, to make it easier toDaniel Dunbar2010-08-241-5/+1
| | | | | | identify what version of the compiler was used to build something. llvm-svn: 111927
* Sema doesn't need these STL headers.John McCall2010-08-242-8/+5
| | | | llvm-svn: 111926
* Relocate against parent if the symbol is not in section or it's a common ↵Benjamin Kramer2010-08-241-1/+2
| | | | | | symbol, from Roman Divacky. llvm-svn: 111925
* Turn LVI on, previously detected failures should be fixed now.Owen Anderson2010-08-241-1/+1
| | | | llvm-svn: 111923
* MapValue support for MDNodes. This is similar to r109117, exceptDan Gohman2010-08-241-8/+27
| | | | | | | | that it avoids a lot of unnecessary cloning by avoiding remapping MDNode cycles when none of the nodes in the cycle actually need to be remapped. Also it uses the new temporary MDNode mechanism. llvm-svn: 111922
* Driver/Clang: Forward -Wa, and -Xassembler to clang -cc1 when using theDaniel Dunbar2010-08-241-3/+8
| | | | | | | integrated assembler. For now this mostly just means that we will error out if someone tries to use this mechanism to send an argument to the assembler. llvm-svn: 111921
* Generates the .d prerequisite file for dylib as well.Johnny Chen2010-08-241-0/+6
| | | | llvm-svn: 111920
OpenPOWER on IntegriCloud