summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* o lldbtest.py:Johnny Chen2011-06-234-32/+45
| | | | | | | | | | | | | | | | | | Assign the test method name to self.testMethodName. This can be useful for the test directory (see test/types for a good example) which houses a bunch of executables compiled from different source files. The default build action is to create a.out as the binary executable, which can confuse the module cacheing mechanism and result in the debugger getting a stale image as the target to be debugged, and chaos ensues. o AbstractBase.py, TestThreadAPI.py: Use self.testMethodName to our advantage. o TestLoadUnload.py: Add expected failure marker to test case test_modules_search_paths(). llvm-svn: 133768
* Missing files for the BlockFrequency analysis added.Jakub Staszak2011-06-233-0/+448
| | | | llvm-svn: 133767
* Introduce BlockFrequency analysis for BasicBlocks.Jakub Staszak2011-06-236-1/+46
| | | | llvm-svn: 133766
* Centralized all of the format to c-string and to format character code insideGreg Clayton2011-06-2312-226/+255
| | | | | | | | | | | | | | | the FormatManager class. Modified the format arguments in any commands to be able to use a single character format, or a full format name, or a partial format name if no full format names match. Modified any code that was displaying formats to use the new FormatManager calls so that our help text and errors never get out of date. Modified the display of the "type format list" command to be a bit more human readable by showing the format as a format string rather than the single character format char. llvm-svn: 133765
* For now, use 'b.out' compiled from main2.cpp as the executable name for ↵Johnny Chen2011-06-231-11/+6
| | | | | | | | test_run_to_address_with_dsym/dwarf() to distinguish between other test cases which use 'a.out' compiled from main.cpp. llvm-svn: 133764
* [arcmt] Fully migrate ObjC++ classes, rdar://9660007.Argyrios Kyrtzidis2011-06-236-28/+70
| | | | llvm-svn: 133763
* [arcmt] Remove rewriteAllocCopyWithZone transformation; not needed anymore.Argyrios Kyrtzidis2011-06-237-404/+0
| | | | llvm-svn: 133762
* Apparently at some point in the past I forgot how 'continue'John McCall2011-06-231-6/+2
| | | | | | | | works in a 'while(false)' loop. Simplify this code; it was complicated only in anticipation of C++0x lambdas, and it can become complicated again when those happen. :) llvm-svn: 133761
* Improve on warning when objc pointer is used inFariborz Jahanian2011-06-232-2/+2
| | | | | | c++ catch in fragile abi - per Eli's request. llvm-svn: 133760
* Add support for movntil/movntiq mnemonics. Reported on llvmdev.Eli Friedman2011-06-233-14/+26
| | | | llvm-svn: 133759
* Remove superfluous commentDouglas Gregor2011-06-231-3/+1
| | | | llvm-svn: 133757
* PR10180: Fix a instcombine crash with FP vectors.Eli Friedman2011-06-232-2/+14
| | | | llvm-svn: 133756
* Fix header pathsPeter Collingbourne2011-06-233-4/+3
| | | | llvm-svn: 133755
* Move definition of template <typename T> void Decl::dropAttrFariborz Jahanian2011-06-232-20/+16
| | | | | | to its header to avoid an explicit instantiation. llvm-svn: 133753
* Bump Token::Kind from an unsigned char to an unsigned short, from Anton ↵Douglas Gregor2011-06-231-3/+3
| | | | | | Lokhmotov llvm-svn: 133750
* Refactorings of the test/types directory to more elegantly express the ↵Johnny Chen2011-06-235-96/+105
| | | | | | | | uniqueness of executable names given to each test method. llvm-svn: 133749
* Support for catching objc pointer objects in c++ catch-statementFariborz Jahanian2011-06-239-25/+41
| | | | | | in fragile abi mode and some other cleanups. // rdar://8940528 llvm-svn: 133747
* Fix typo spotted by Elias Pipping.Charles Davis2011-06-231-2/+2
| | | | llvm-svn: 133744
* Another patch from Enrico Granata.Greg Clayton2011-06-232-1/+19
| | | | | | | | | Added a fix for where you might have already displayed something with a given type, then did a "type format add ...", then you display the type again. This patch will figure out that the format changed and allow us to display the type with the correct new format. llvm-svn: 133743
* Fix build for (some versions of?) MinGW. Patch by Ruben Van Boxem.Eli Friedman2011-06-231-1/+1
| | | | llvm-svn: 133741
* Rename TargetOptions::StackAlignment to StackAlignmentOverride.Evan Cheng2011-06-233-5/+5
| | | | llvm-svn: 133739
* Remove TargetOptions.h dependency from ARMSubtarget.Evan Cheng2011-06-232-5/+4
| | | | llvm-svn: 133738
* Fix Sema::CheckVectorOperands so that it doesn't try to insert a cast ↵Eli Friedman2011-06-236-43/+44
| | | | | | | | expression into the LHS of a compound assignment. Fixes compound assignment of various "compatible" vector types, including NEON-vector and gcc-vector types. <rdar://problem/9640356> llvm-svn: 133737
* PTX: Always use registers for return values, but use .param space for deviceJustin Holewinski2011-06-2326-403/+1043
| | | | | | | | | | | parameters if SM >= 2.0 - Update test cases to be more robust against register allocation changes - Bump up the number of registers to 128 per type - Include Python script to re-generate register file with any number of registers llvm-svn: 133736
* PTX: Fixup test cases for device param changesJustin Holewinski2011-06-232-2/+2
| | | | llvm-svn: 133735
* PTX: Whitespace fixes and remove commented out codeJustin Holewinski2011-06-232-36/+0
| | | | llvm-svn: 133734
* PTX: Prevent DCE from eliminating st.param calls, and unify the handling ofJustin Holewinski2011-06-235-107/+78
| | | | | | | st.param and ld.param FIXME: Test cases still need to be updated llvm-svn: 133733
* PTX: Use .param space for parameters in device functions for SM >= 2.0Justin Holewinski2011-06-236-33/+126
| | | | | FIXME: DCE is eliminating the final st.param.x calls, figure out why llvm-svn: 133732
* Minor tweak to my last patch per Doug's comment.Fariborz Jahanian2011-06-231-2/+4
| | | | llvm-svn: 133731
* cmake+lit: final cleanup related to the recent churnAndrew Trick2011-06-231-6/+1
| | | | llvm-svn: 133730
* cmake+lit: final cleanup related to the recent churnAndrew Trick2011-06-231-7/+2
| | | | llvm-svn: 133729
* Committing type format code for Enrico Granata.Greg Clayton2011-06-2311-23/+735
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a new top level command named "type". Currently this command implements three commands: type format add <format> <typename1> [<typename2> ...] type format delete <typename1> [<typename2> ...] type format list [<typename1> [<typename2>] ...] This allows you to specify the default format that will be used to display types when you use "frame variable" or "expression", or the SBValue classes. Examples: // Format uint*_t as hex type format add x uint16_t uint32_t uint64_t // Format intptr_t as a pointer type format add p intptr_t The format characters are the same as "printf" for the most part with many additions. These format character specifiers are also used in many other commands ("frame variable" for one). The current list of format characters include: a - char buffer b - binary B - boolean c - char C - printable char d - signed decimal e - float f - float g - float i - signed decimal I - complex integer o - octal O - OSType p - pointer s - c-string u - unsigned decimal x - hex X - complex float y - bytes Y - bytes with ASCII llvm-svn: 133728
* Remove TargetOptions.h dependency from X86Subtarget.Evan Cheng2011-06-236-42/+46
| | | | llvm-svn: 133726
* cmake+lit: handle ENABLE_ASSERTIONS feature properly.Andrew Trick2011-06-233-2/+8
| | | | llvm-svn: 133725
* Remove multiple use of weak_import attribute onFariborz Jahanian2011-06-233-17/+21
| | | | | | same declaration. Templatize dropAttr for general use. llvm-svn: 133724
* Remove weak_import attribute on new declaration.Fariborz Jahanian2011-06-233-3/+16
| | | | | | // rdar://9538608 llvm-svn: 133721
* Revert "revert 133714"Rafael Espindola2011-06-232-58/+1
| | | | | | | | This reverts commit e8e00f5efb4a22238f2407bf813de4606f30c5aa. The cmake build on OS X is still broken. llvm-svn: 133718
* Add missing file.Rafael Espindola2011-06-231-0/+56
| | | | llvm-svn: 133717
* revert 133714Dylan Noblesmith2011-06-232-1/+58
| | | | | | It broke the build worse. llvm-svn: 133716
* fix autoconf build from r133710Dylan Noblesmith2011-06-231-0/+2
| | | | | | | | Sorry! This commit worked in CMake, but CXX_INCLUDE_ROOT is defined in a different config.h for autoconf. llvm-svn: 133715
* 133713 broke the build, revert it.Rafael Espindola2011-06-232-58/+1
| | | | llvm-svn: 133714
* Support: make floating-exception header privateDylan Noblesmith2011-06-232-2/+3
| | | | | | | | It has only one user. This eliminates the last include of config.h from the public headers -- ideally, config.h shouldn't even be installed by `make install` anymore. llvm-svn: 133713
* Don't include config.h in public headersDylan Noblesmith2011-06-232-2/+1
| | | | | | | | | | | | Replace it with llvm-config.h, which defines a subset of config.h's macros "so that they can be in exported headers and won't override package specific directives", e.g., PACKAGE_NAME. Endian.h wasn't using any macros at all though, so just delete the include there instead. llvm-svn: 133712
* remove CMake mode_t defineDylan Noblesmith2011-06-232-4/+0
| | | | | | | It's now replaced with a simple ifdef _MSC_VER in the one place it's needed (clang's FileManager.h header). llvm-svn: 133711
* avoid using config.h in public headersDylan Noblesmith2011-06-232-1/+5
| | | | | | | | | | | This is the only usage in clang's headers, and it's for a define that only exists on CMake builds for the sake of the MSVC compiler, so just use an ifdef instead. Also add an include for config.h in a file that actually needs it, and was picking it up by accident indirectly. llvm-svn: 133710
* CppBackend: fixup for api changeDylan Noblesmith2011-06-231-1/+0
| | | | | | This broke after r133364. llvm-svn: 133709
* Reinstate r133513 (reverted in r133700) with an additional fix for aJay Foad2011-06-2319-167/+222
| | | | | | -Wshorten-64-to-32 warning in Instructions.h. llvm-svn: 133708
* Use a reference. Don't make a useless copy of the vector.Bill Wendling2011-06-231-1/+1
| | | | llvm-svn: 133707
* Formatting changes. No functionality change.Bill Wendling2011-06-231-32/+30
| | | | llvm-svn: 133706
* Revert r133513:Eric Christopher2011-06-2319-222/+167
| | | | | | | | | "Reinstate r133435 and r133449 (reverted in r133499) now that the clang self-hosted build failure has been fixed (r133512)." Due to some additional warnings. llvm-svn: 133700
OpenPOWER on IntegriCloud