summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused header.Rafael Espindola2013-06-261-1/+0
| | | | llvm-svn: 184937
* Remove unused include.Rafael Espindola2013-06-261-1/+0
| | | | llvm-svn: 184936
* [Sparc]: Add memory operands for the frame references in the storeRegToStackSlotVenkatraman Govindaraju2013-06-261-8/+30
| | | | | | and loadRegFromStackSlot. llvm-svn: 184935
* [asan] initialize fake_stack lazily and increase its maximal size. This ↵Kostya Serebryany2013-06-265-19/+29
| | | | | | makes -fsanitize=address,use-after-return more robust: all SPEC tests pass now. In the default mode thread stacks become a bit smaller. llvm-svn: 184934
* Fixed a comment.Elena Demikhovsky2013-06-261-2/+2
| | | | llvm-svn: 184933
* Suppress llvm/test/Other/can-execute.txt on msys bash.NAKAMURA Takumi2013-06-262-1/+5
| | | | llvm-svn: 184932
* Optimized integer vector multiplication operation by replacing it with ↵Elena Demikhovsky2013-06-267-25/+148
| | | | | | shift/xor/sub when it is possible. Fixed a bug in SDIV, where the const operand is not a splat constant vector. llvm-svn: 184931
* clang/test/lit.cfg: Tweak getClangBuiltinIncludeDir() not to expose dosish ↵NAKAMURA Takumi2013-06-261-1/+5
| | | | | | | | | path separator on MSYS bash.exe, since r184774. $ bin/clang.exe -print-file-name=include e:/path/to/build/bin\..\lib\clang\3.4\include llvm-svn: 184930
* Revert the Darwin half of r184805: "Remove the sysroot (or isysroot)Chandler Carruth2013-06-261-12/+8
| | | | | | | | | | | restriction from the GCDAProfile.c" Bill added a much more effective way of coping with the use of errno and other system interactions for Darwin for now by disabling it on that platform. Building against the SDK stuff is more fundamental to the darwin build process. llvm-svn: 184929
* [asan] workaround for PR16277: don't instrument AllocaInstr with alignment ↵Kostya Serebryany2013-06-262-1/+21
| | | | | | more than the redzone size llvm-svn: 184928
* [asan] add option -asan-keep-uninstrumented-functionsKostya Serebryany2013-06-262-4/+70
| | | | llvm-svn: 184927
* [sanitizer] Reformat line >80 chars.Evgeniy Stepanov2013-06-261-1/+2
| | | | llvm-svn: 184926
* [sanitizer] Fix build with OSS4 kernel headers.Evgeniy Stepanov2013-06-263-11/+31
| | | | | | This fixes PR16453. llvm-svn: 184925
* Provide bootstrap support to build only llvm+clang when using cmake.Andy Gibbs2013-06-261-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Where a source tree is complete with lld, lldb and polly, it may not be possible to use cmake to configure build scripts if the host compiler it not capable of compiling these sub-projects. This change makes it possible to first build a bootstrap clang compiler when can then be used to build a complete llvm toolchain. An example bootstrap build sequence could be as follows: $ mkdir bootstrap $ cd bootstrap $ cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_PREFIX_PATH:STRING=$(pwd) -DLLVM_TARGETS_TO_BUILD:STRING=host -DLLVM_INCLUDE_TOOLS:STRING=bootstrap-only ../source $ make clang # build clang only for host $ cd .. $ export CC=$(realpath bootstrap/bin)/clang $ export CXX=$(realpath bootstrap/bin)/clang++ $ mkdir final $ cd final $ cmake -G 'Unix Makefiles' ../source $ make all check-all llvm-svn: 184924
* Support using "host" as a target in LLVM_TARGETS_TO_BUILD when using cmake.Andy Gibbs2013-06-262-12/+19
| | | | llvm-svn: 184923
* Remove unused include.Rafael Espindola2013-06-261-1/+0
| | | | llvm-svn: 184922
* Remove more uses of llvm::sys::Path.Rafael Espindola2013-06-261-26/+13
| | | | llvm-svn: 184921
* Remove calls to Path in #ifdefs that don't seem to be used in any of the ↵Rafael Espindola2013-06-261-3/+3
| | | | | | bots :-( llvm-svn: 184920
* Add a simpler version of remove_all.Rafael Espindola2013-06-261-0/+7
| | | | llvm-svn: 184919
* Remove PathV1.h from CompilerInvocation.cpp.Rafael Espindola2013-06-261-8/+7
| | | | llvm-svn: 184918
* Fix the build when __APPLE__ is defined.Rafael Espindola2013-06-261-1/+5
| | | | llvm-svn: 184917
* Remove sys::GetMainExecutable.Rafael Espindola2013-06-263-121/+0
| | | | llvm-svn: 184916
* Use llvm::sys::fs::getMainExecutable.Rafael Espindola2013-06-265-15/+16
| | | | llvm-svn: 184915
* Port GetMainExecutable over to PathV2.Rafael Espindola2013-06-266-8/+126
| | | | | | I will remove the V1 version as soon as I change clang in the next commit. llvm-svn: 184914
* Remove PathV1.h from CompilerInstance.cpp.Rafael Espindola2013-06-261-8/+6
| | | | llvm-svn: 184913
* Don't use PathV1.h in ASTUnit.cpp.Rafael Espindola2013-06-261-5/+3
| | | | llvm-svn: 184912
* Remove forward declarations of sys::Path.Rafael Espindola2013-06-262-4/+0
| | | | llvm-svn: 184911
* Remove PathWithStatus.Rafael Espindola2013-06-263-135/+0
| | | | llvm-svn: 184910
* Remove the last use of PathWithStatus.Rafael Espindola2013-06-261-4/+4
| | | | llvm-svn: 184909
* Use llvm::sys::fs::unique_file.Rafael Espindola2013-06-261-26/+7
| | | | llvm-svn: 184908
* Remove some uses of llvm::sys::Path.Rafael Espindola2013-06-262-8/+8
| | | | llvm-svn: 184907
* Remove PathV1.h use from WindowsToolChain.cpp.Rafael Espindola2013-06-261-3/+2
| | | | llvm-svn: 184906
* Fix a comment.Nico Weber2013-06-261-1/+1
| | | | llvm-svn: 184905
* Lazily deserialize the "first' friend declaration when deserializing a classRichard Smith2013-06-268-7/+47
| | | | | | | declaration. This PCH a little lazier, and breaks a deserialization cycle that causes crashes with modules enabled. llvm-svn: 184904
* Fix PCH bug with member templates of local classes in nontemplate functions. Faisal Vali2013-06-264-1/+121
| | | | | | | | | | | | | | | | | | | | | | | | As noted by Richard in the post: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20130624/082605.html, the following code should not add an entry into PendingLocalImplicitInstantiations, since local instantiations should only occur within the context of other instantiations: int foo(double y) { struct Lambda { template<class T> T operator()(T t) const { return t; }; } lambda; return lambda(y); } Hence the attached code does the following: 1) In MarkFunctionReferenced, check if ActiveInstantiations.size() is non-zero before adding to PendingLocalImplicitInstantiations. 2) In InstantiateFunctionDefinition, we swap out/in PendingLocalImplicitInstantiations so that only those pending local instantiations that are added during the instantiation of the current function are instantiated recursively. llvm-svn: 184903
* Remove PathV1.h usage from ToolChains.cpp.Rafael Espindola2013-06-264-42/+39
| | | | llvm-svn: 184902
* Remove ifdef LLDB_CONFIGURATION_DEBUG directives around the formatterJason Molenda2013-06-261-4/+0
| | | | | | cache ivars/methods. llvm-svn: 184901
* Remove the #define USE_CACHE since the formatters cache has been operational ↵Enrico Granata2013-06-261-23/+7
| | | | | | | | for a while now and has not caused issues that warrant disabling it Also, print the cache hits statistics if the log is in debugging mode vs. LLDB being a debug build - this should make it easier to gather useful metrics on cache success rate for real users llvm-svn: 184900
* <rdar://problem/14266578>Enrico Granata2013-06-261-3/+1
| | | | | | "command source" was not properly setting the stop-on-error option llvm-svn: 184899
* <rdar://problem/14243761>Enrico Granata2013-06-261-5/+5
| | | | | | | | | The argument to -w (--category) in type * list is a regular expression This caused unhappiness with the gnu-libstdc++ category because of the double ++ Now we check for exact textual match as-well-as regexp matching llvm-svn: 184898
* dbgs() << Instruction doesn't print a newline on the end any more. Update theseNick Lewycky2013-06-261-5/+5
| | | | | | | debug statements to add a missing newline. Also canonicalize to '\n' instead of "\n"; the latter calls a function with a loop the former does not. llvm-svn: 184897
* Run clang-format on lib/Format code after r184894. No other changes.Nico Weber2013-06-263-24/+23
| | | | llvm-svn: 184896
* Fix a use after free I introduced and that Bill caught in code reviewChandler Carruth2013-06-261-14/+13
| | | | | | | | | (thanks!) by deferring the free of the filename until we finish writing the coverage data to that file. Bill, let me know if you'd prefer a different approach! llvm-svn: 184895
* Formatter: Don't put a space after parameter-naming block comments.Nico Weber2013-06-262-1/+3
| | | | | | | | | | | | | Before: f(a, b, /*doFoo=*/ false); Now: f(a, b, /*doFoo=*/false); This style is a lot more common: $ ack -H '=\*\/\w' lib | wc -l 1281 $ ack -H '=\*\/ \w' lib | wc -l 70 llvm-svn: 184894
* <rdar://problem/14266411>Enrico Granata2013-06-2512-37/+62
| | | | | | | | | | | | The semi-unofficial way of returning a status from a Python command was to return a string (e.g. return "no such variable was found") that LLDB would pick as a clue of an error having happened This checkin changes that: - SBCommandReturnObject now exports a SetError() call, which can take an SBError or a plain C-string - script commands now drop any return value and expect the SBCommandReturnObject ("return object") to be filled in appropriately - if you do nothing, a success will be assumed If your commands were relying on returning a value and having LLDB pick that up as an error, please change your commands to SetError() through the return object or expect changes in behavior llvm-svn: 184893
* s/C++0x/C++11/Adrian Prantl2013-06-251-1/+1
| | | | llvm-svn: 184892
* Merge isReachable into isBackedge.Jakob Stoklund Olesen2013-06-251-19/+10
| | | | | | Prefer using RPO.lookup() instead of RPO[] which can mutate the map. llvm-svn: 184891
* Don't check for triviality on fields of templated records. We can't know theNick Lewycky2013-06-252-2/+24
| | | | | | answer until after instantiation. Fixes PR16061! llvm-svn: 184890
* Implement DR136David Majnemer2013-06-256-15/+67
| | | | | | | Friend declarations that specify a default argument must be a definition and the only declaration in the translation unit. llvm-svn: 184889
* SLPVectorizer: support slp-vectorization of PHINodes between basic blocksNadav Rotem2013-06-252-1/+142
| | | | llvm-svn: 184888
OpenPOWER on IntegriCloud