summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the unused 4th operand for DIFile debug info metadataDavid Blaikie2013-03-1343-62/+63
| | | | llvm-svn: 176983
* Add braces to crashed test summary (needed for buildbots to detect crashes)Daniel Malea2013-03-131-1/+1
| | | | llvm-svn: 176980
* Remove extra whitespaceDaniel Malea2013-03-131-1/+1
| | | | llvm-svn: 176978
* Make LTO codegen use a PassManager, rather than a FunctionPassManager, for theLang Hames2013-03-131-13/+5
| | | | | | | | | | | | | codegen passes. This brings it in to line with clang and llc's codegen setup, and tidies up the code. If I understand correctly, adding ModulePasses to a FunctionPassManager is bogus. It only seems to explode if an added ModulePass depends on a FunctionPass though, which might be why this code has survived so long. Fixes <rdar://problem/13386816>. llvm-svn: 176977
* [Modules] Don't eagerly load and associate all the module header files.Argyrios Kyrtzidis2013-03-137-30/+90
| | | | | | | | | | | | | | In a module-enabled Cocoa PCH file, we spend a lot of time stat'ing the headers in order to associate the FileEntries with their modules and support implicit module import. Use a more lazy scheme by enhancing HeaderInfoTable to store extra info about the module that a header belongs to, and associate it with its module only when there is a request for loading the header info for a particular file. Part of rdar://13391765 llvm-svn: 176976
* [Modules] Resolve top-headers of modules lazily.Argyrios Kyrtzidis2013-03-139-25/+65
| | | | | | | | | | | This allows resolving top-header filenames of modules to FileEntries when we need them, not eagerly. Note that that this breaks ABI for libclang functions clang_Module_getTopLevelHeader / clang_Module_getNumTopLevelHeaders but this is fine because they are experimental and not widely used yet. llvm-svn: 176975
* Prepend "FAIL:" string to tests that crash so that buildbots pick them up.Daniel Malea2013-03-131-1/+1
| | | | llvm-svn: 176974
* Simplify CMake rules in HandleLLVMOptions module.Alexey Samsonov2013-03-131-27/+26
| | | | | | | | | | | | | | Summary: No functionality change. Reviewers: Bigcheese Reviewed By: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D535 llvm-svn: 176973
* Minor LLDB test improvementsDaniel Malea2013-03-132-10/+13
| | | | | | | | | - fix TestCPPBool (was failing with some versions of GCC due to num_breakpoint_locations) - speed up tests by skipping git/svn revision parsing by the test harness when running in lit-compatible (parsable) mode This should resolve the failures reported by http://lab.llvm.org:8011/builders/lldb-x86_64-linux llvm-svn: 176972
* Cause the mips16/nomips16 attribute to be passed to LLVM from ClangReed Kotler2013-03-132-4/+27
| | | | | | in the LLVM assembly language output. llvm-svn: 176971
* [ELF][X86_64][Hexagon] order plt/got entries properly and fix testShankar Easwaran2013-03-133-23/+45
| | | | llvm-svn: 176970
* [analyzer] BugReporter - more precise tracking of C++ referencesAnna Zaks2013-03-133-23/+117
| | | | | | | | | | | | | | | | When BugReporter tracks C++ references involved in a null pointer violation, we want to differentiate between a null reference and a reference to a null pointer. In the first case, we want to track the region for the reference location; in the second, we want to track the null pointer. In addition, the core creates CXXTempObjectRegion to represent the location of the C++ reference, so teach FindLastStoreBRVisitor about it. This helps null pointer suppression to kick in. (Patch by Anna and Jordan.) llvm-svn: 176969
* Add some additonal attribute helper functions. Test will be on followReed Kotler2013-03-133-0/+20
| | | | | | up putback to clang for mips16. llvm-svn: 176968
* R600: Remove unused Outputs variableVincent Lejeune2013-03-132-2/+0
| | | | llvm-svn: 176967
* Remove stray space.Ted Kremenek2013-03-131-1/+0
| | | | llvm-svn: 176966
* [analyzer] Handle Objc Fast enumeration for "loop is executed 0 times".Ted Kremenek2013-03-132-19/+252
| | | | | | Fixes <rdar://problem/12322528> llvm-svn: 176965
* Migrate dbg-arg.ll to a C file test to be resilient to IR changes.David Blaikie2013-03-132-126/+41
| | | | llvm-svn: 176964
* No functionality change. Use unreachable in getCUOffset.Manman Ren2013-03-131-1/+3
| | | | llvm-svn: 176963
* No functionality change. Use unreachable in getCompileUnit.Manman Ren2013-03-131-1/+1
| | | | llvm-svn: 176962
* <rdar://problem/13404189>Greg Clayton2013-03-134-103/+101
| | | | | | | | | | | | | | Made the "--reverse" option to "source list" also be able to use the "--count". This helps us implement support for regexp source list command: (lldb) l -10 Which gets turned into: (lldb) source list --reverse --count 10 Also simplified the code that is used to track showing more source from the last file and line. llvm-svn: 176961
* <rdar://problem/13396207>Greg Clayton2013-03-131-2/+2
| | | | | | Added logging that will show up in the system console when we try to resume a process that is already running, or has an unexpected state. llvm-svn: 176960
* Check register classes also when changing them.Jakob Stoklund Olesen2013-03-131-0/+1
| | | | | | We have the same assertion in createVirtualRegister. llvm-svn: 176959
* Add a target setting (target.use-fast-stepping) to control using the "run to ↵Jim Ingham2013-03-133-2/+15
| | | | | | next branch" stepping algorithm. llvm-svn: 176958
* Fix incorrect cast identification.Daniel Jasper2013-03-132-2/+8
| | | | | | Before: int a = sizeof(int *)+ b;" After: int a = sizeof(int *) + b; llvm-svn: 176957
* [analyzer] fixed the logic changed by r176949Anton Yartsev2013-03-131-4/+5
| | | | llvm-svn: 176956
* ARM cost model: Add test case to make sure we would notice a change in CodeGenArnold Schwaighofer2013-03-131-0/+153
| | | | | | | | | | In r176898 I updated the cost model to reflect the fact that sext/zext/cast on v8i32 <-> v8i8 and v16i32 <-> v16i8 are expensive. This test case is so that we make sure to update the cost model once we fix CodeGen. llvm-svn: 176955
* relax check to allow for attributes (fix buildbot for elf-ppc64)Adrian Prantl2013-03-131-1/+1
| | | | llvm-svn: 176954
* Fix comment indentation before labels.Daniel Jasper2013-03-132-0/+12
| | | | | | | | | | | | | | | | | | Before: switch (x) { // if 1, do f() case 1: f(); } After: switch (x) { // if 1, do f() case 1: f(); } llvm-svn: 176953
* Fix formatting issue with builder-type calls.Daniel Jasper2013-03-132-1/+5
| | | | | | | | | | | | Before: ->aaaaaa()->aaaaaaaaaaa(aaaaaaaa()->aaaaaa()->aaaaa() - aaaaaaaaa()->aaaaaa() ->aaaaa()); After: a->aaaaaa()->aaaaaaaaaaa(aaaaaaaa()->aaaaaa()->aaaaa() - aaaaaaaaa()->aaaaaa()->aaaaa()); llvm-svn: 176952
* Added AnnotatedToken::isOneOf + a few other refactoringsAlexander Kornienko2013-03-133-164/+155
| | | | | | | | | | | | | | Summary: <subj> Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D536 llvm-svn: 176951
* Fix a performance regression when combining to smaller types in icmp (shl ↵Arnaud A. de Grandmaison2013-03-131-3/+4
| | | | | | | | %v, C1), C2 : Only combine when the shl is only used by the icmp llvm-svn: 176950
* Refactoring:Anton Yartsev2013-03-131-34/+55
| | | | | | | | | + Individual Report* method for each bug type + Comment improved: missing non-trivial alloca() case annotated + 'range' parameter of ReportBadFree() capitalized + 'SymbolRef Sym = State->getSVal(A, C.getLocationContext()).getAsSymbol();' shorten to 'SymbolRef Sym = C.getSVal(A).getAsSymbol();' llvm-svn: 176949
* Documentation: formatting fixesDmitri Gribenko2013-03-131-2/+3
| | | | llvm-svn: 176948
* [msan] Clean up extensions during msandr shutdownReid Kleckner2013-03-131-0/+5
| | | | | | Otherwise debug DynamoRIO complains at us for leaking memory. llvm-svn: 176947
* Add one more overload to make VS2008's debug mody happy.Benjamin Kramer2013-03-131-0/+3
| | | | | | sigh. llvm-svn: 176946
* Reverting r176944 until Author fixes test failure.Edwin Vane2013-03-131-5/+2
| | | | llvm-svn: 176945
* ClangTool output cleanupEdwin Vane2013-03-131-2/+5
| | | | | | | | | | Information messages sent to stdout by ClangTool now only happen when the -debug flag is set. Error messages that used to go to stdout now go to stderr. Author: Ariel J Bernal <ariel.j.bernal@intel.com> llvm-svn: 176944
* [sanitizer] Fix lint.Evgeniy Stepanov2013-03-132-2/+3
| | | | llvm-svn: 176943
* Add llvm-symbolizer as test dependency.Evgeniy Stepanov2013-03-131-1/+1
| | | | | | It is required when building tests with ASan or MSan. llvm-svn: 176942
* Add llvm-symbolizer as test dependency.Evgeniy Stepanov2013-03-131-0/+1
| | | | | | It is required when building tests with ASan or MSan. llvm-svn: 176941
* [Sanitizer] Build ASan, TSan and MSan runtimes with -fno-rtti.Alexey Samsonov2013-03-135-7/+12
| | | | llvm-svn: 176940
* [msan] Increase stack size as required.Evgeniy Stepanov2013-03-135-0/+63
| | | | | | Adjust stack size in pthread_attr_t when the app-requested size does not fit MSan TLS. llvm-svn: 176939
* [sanitizer] Move GetTlsSize code from TSan to sanitizer_common.Evgeniy Stepanov2013-03-139-42/+50
| | | | llvm-svn: 176938
* Break a >80 char line.Evgeniy Stepanov2013-03-131-1/+2
| | | | llvm-svn: 176937
* Fix formatting of new arrays of pointers.Daniel Jasper2013-03-133-15/+22
| | | | | | | | | | | | | | Before: A = new SomeType * [Length]; A = new SomeType *[Length](); After: A = new SomeType *[Length]; A = new SomeType *[Length](); Small formatting cleanups with clang-format. llvm-svn: 176936
* [Sanitizer] Fixup for r176931 for Mac and WindowsAlexey Samsonov2013-03-132-6/+9
| | | | llvm-svn: 176935
* Set symbolizer path in the test environment.Evgeniy Stepanov2013-03-132-0/+10
| | | | | | This is needed to get symbolized stack traces when running Clang tests under (A|M)San. llvm-svn: 176934
* Set symbolizer path in the test environment.Evgeniy Stepanov2013-03-132-0/+10
| | | | | | This is needed to get symbolized stack traces when running LLVM tests under (A|M)San. llvm-svn: 176933
* [Sanitizer] Fix a typo in function nameAlexey Samsonov2013-03-131-5/+5
| | | | llvm-svn: 176932
* [Sanitizer] Change MemoryMappingLayout methods to also report memory ↵Alexey Samsonov2013-03-137-21/+53
| | | | | | protection flags (for future use in leak checker). Patch by Sergey Matveev. llvm-svn: 176931
OpenPOWER on IntegriCloud