summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tsan: slightly optimize mutex unlock Dmitry Vyukov2012-08-311-2/+2
| | | | llvm-svn: 162995
* tsan: more precise handling of atomic_store(memory_order_release)Dmitry Vyukov2012-08-311-1/+1
| | | | llvm-svn: 162994
* tsan: improve stack depotDmitry Vyukov2012-08-311-31/+136
| | | | llvm-svn: 162993
* Clean up ProfileDataLoader a bit.Benjamin Kramer2012-08-312-55/+25
| | | | | | | | | | | | - Overloading operator<< for raw_ostream and pointers is dangerous, it alters the behavior of code that includes the header. - Remove unused ID. - Use LLVM's byte swapping helpers instead of a hand-coded. - Make ReadProfilingData work directly on a pointer. No functionality change. llvm-svn: 162992
* [tsan] locate the auxilary space for tsan's Allocator64 after the main ↵Kostya Serebryany2012-08-311-4/+4
| | | | | | region, not before. This simplifies the shadow mappings llvm-svn: 162991
* [Sanitizer] fix overloaded operator errorAlexey Samsonov2012-08-312-3/+3
| | | | llvm-svn: 162990
* [compiler-rt] fixup for r162988 - remove accidentally commited fileAlexey Samsonov2012-08-311-67/+0
| | | | llvm-svn: 162989
* [compiler-rt] Move draft code for llvm-symbolizer to ↵Alexey Samsonov2012-08-312-9/+68
| | | | | | compiler-rt/utils/llvm-symbolizer after chandlerc's suggestion llvm-svn: 162988
* [Sanitizer] Remove some calls to libc malloc from symbolizerAlexey Samsonov2012-08-312-14/+13
| | | | llvm-svn: 162987
* Remove the useless CommentOptions class.Dmitri Gribenko2012-08-315-14/+7
| | | | llvm-svn: 162986
* Use LLVM_DELETED_FUNCTION instead of a comment.Dmitri Gribenko2012-08-313-6/+6
| | | | llvm-svn: 162985
* [Sanitizer] Resolve fixme: break dependency of sanitizer_common tests on ↵Alexey Samsonov2012-08-311-6/+0
| | | | | | TSan RTL llvm-svn: 162984
* llvm/test/CodeGen/X86/vec_select.ll: Fix failure on xmm-less hosts, to add ↵NAKAMURA Takumi2012-08-311-1/+1
| | | | | | | -mattr=+sse2. FIXME: Should this be tested with both +avx and -avx,+sse2? llvm-svn: 162983
* [Sanitizer] Make lint checking a standalone script in sanitizer_commonAlexey Samsonov2012-08-311-0/+65
| | | | llvm-svn: 162982
* [Sanitizer] Remove lint checkers from our old makefiles in favor of buildbotAlexey Samsonov2012-08-313-37/+4
| | | | llvm-svn: 162981
* [TSan] Fix style warinings in output testAlexey Samsonov2012-08-311-5/+4
| | | | llvm-svn: 162980
* Cleanups due to feedback. No functionality change. Patch by Alistair.Bill Wendling2012-08-313-64/+64
| | | | llvm-svn: 162979
* Make AnalyzerOptions a shared object between CompilerInvocation andTed Kremenek2012-08-317-31/+30
| | | | | | | AnalysisManager, allowing the StringMap of configuration values to be propagated. llvm-svn: 162978
* Move AnalyzerOptions.h into 'Core' StaticAnalyzer sub-library.Ted Kremenek2012-08-317-26/+26
| | | | llvm-svn: 162977
* DeclPrinter tests: simplify the code by using the new runToolOnCodeWithArgsDmitri Gribenko2012-08-311-27/+10
| | | | | | function from Tooling. llvm-svn: 162976
* Documentation: correct a typo introduced in r162971.Dmitri Gribenko2012-08-311-1/+1
| | | | llvm-svn: 162975
* DeclPrinter tests: since now some platforms use C++11 by default, make itDmitri Gribenko2012-08-311-105/+97
| | | | | | explicitly visible in test cases which language variant is used. llvm-svn: 162974
* Clean up AddedComplexity further after adding UseSSExMichael Liao2012-08-311-17/+13
| | | | llvm-svn: 162973
* Added command lists that can be executed on launch, stop, crash and exit. ↵Greg Clayton2012-08-311-15/+71
| | | | | | Added code to auto import the lldb module that we can use on many stand alone modules. llvm-svn: 162972
* Documentation: add missing word "accepts".Dmitri Gribenko2012-08-311-2/+2
| | | | llvm-svn: 162971
* Make a bunch of methods on Lexer private.Eli Friedman2012-08-312-21/+18
| | | | llvm-svn: 162970
* Comment HTML tag name machers: move from StringSwitch to an efficientDmitri Gribenko2012-08-3111-55/+172
| | | | | | TableGen-generated string matcher. llvm-svn: 162969
* Fix a couple of typos in EmitAtomic.Jakob Stoklund Olesen2012-08-312-2/+12
| | | | | | | | | Thumb2 instructions are mostly constrained to rGPR, not tGPR which is for Thumb1. rdar://problem/12203728 llvm-svn: 162968
* Added an example that show correct usage of the async process event API.Greg Clayton2012-08-311-0/+139
| | | | llvm-svn: 162967
* Revert "[analyzer] Disable diagnostic checking on the buildbot."Jordan Rose2012-08-311-8/+6
| | | | | | | This reverts commit befc0f648c83f65e1f3567f2058c7c18b4bc3ad8 now that plist-html diagnostics are working again. llvm-svn: 162966
* [analyzer] Ensure that PathDiagnostics profile the same regardless of path.Jordan Rose2012-08-319-65/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | PathDiagnostics are actually profiled and uniqued independently of the path on which the bug occurred. This is used to merge diagnostics that refer to the same issue along different paths, as well as by the plist diagnostics to reference files created by the HTML diagnostics. However, there are two problems with the current implementation: 1) The bug description is included in the profile, but some PathDiagnosticConsumers prefer abbreviated descriptions and some prefer verbose descriptions. Fixed by including both descriptions in the PathDiagnostic objects and always using the verbose one in the profile. 2) The "minimal" path generation scheme provides extra information about which events came from macros that the "extensive" scheme does not. This resulted not only in different locations for the plist and HTML diagnostics, but also in diagnostics being uniqued in the plist output but not in the HTML output. Fixed by storing the "end path" location explicitly in the PathDiagnostic object, rather than trying to find the last piece of the path when the diagnostic is requested. This should hopefully finish unsticking our internal buildbot. llvm-svn: 162965
* [analyzer] Fix a crash in plist-html generation introduced in r162939.Jordan Rose2012-08-311-12/+13
| | | | | | | Basically, do the correct thing to fix the XML generation error, rather than making it even worse by unilaterally dereferencing a null pointer. llvm-svn: 162964
* X86: Fix encoding of 'movd %xmm0, %rax'Jim Grosbach2012-08-312-1/+5
| | | | | | | The assembly string for the VMOVPQIto64rr instruction incorrectly lacked the 'v' prefix, resulting in mis-assembly of the vanilla movd instruction. llvm-svn: 162963
* Change the representation of builtin functions in the ASTEli Friedman2012-08-3127-44/+110
| | | | | | | | | (__builtin_* etc.) so that it isn't possible to take their address. Specifically, introduce a new type to represent a reference to a builtin function, and a new cast kind to convert it to a function pointer in the operand of a call. Fixes PR13195. llvm-svn: 162962
* With the fix in r162954/162955 every cvt function returns true. Thus, haveChad Rosier2012-08-312-77/+53
| | | | | | | the ConvertToMCInst() return void, rather then a bool. Update all the cvt functions as well. llvm-svn: 162961
* Take account of boolean vector contents when promoting a build vector from ↵Pete Cooper2012-08-302-1/+33
| | | | | | i1 to some other type. rdar://problem/12210060 llvm-svn: 162960
* objective-C ARC: under -Wexplicit-ownership-type diagnose thoseFariborz Jahanian2012-08-304-2/+104
| | | | | | | method parameter types which are reference to an objective-C pointer to object with no explicit ownership. // rdar://10907090 llvm-svn: 162959
* Try to make this test more generic to unbreak buildbots.Owen Anderson2012-08-301-9/+9
| | | | llvm-svn: 162958
* [analyzer] Refactor the logic that determines if a functions should beAnna Zaks2012-08-306-17/+32
| | | | | | | | | | | | reanalyzed. The policy on what to reanalyze should be in AnalysisConsumer with the rest of visitation order logic. There is no reason why ExprEngine needs to pass the Visited set to CoreEngine, it can populate it itself. llvm-svn: 162957
* Teach the DAG combiner to turn chains of FADDs (x+x+x+x+...) into FMULs by ↵Owen Anderson2012-08-302-1/+159
| | | | | | constants. This is only enabled in unsafe FP math mode, since it does not preserve rounding effects for all such constants. llvm-svn: 162956
* Fix for r162954. Return the Error.Chad Rosier2012-08-301-2/+2
| | | | llvm-svn: 162955
* Move a check to the validateInstruction() function where it more properly ↵Chad Rosier2012-08-301-11/+13
| | | | | | belongs. llvm-svn: 162954
* [llvm] Updated the test fold-vector-select so that we test the vector ↵Michael Gottesman2012-08-301-9/+144
| | | | | | selects exhaustively. llvm-svn: 162953
* Typo.Chad Rosier2012-08-301-1/+1
| | | | llvm-svn: 162952
* [analyzer] Remove cast inside dyn_cast.Anna Zaks2012-08-301-1/+1
| | | | llvm-svn: 162951
* [analyzer] Make analyzer-ipa=dynamic-bifurcate the default.Anna Zaks2012-08-304-5/+5
| | | | | | | There are two tests regressions that come from the fact that the Retain Count checker does not cancel out inlining of ObjC methods. llvm-svn: 162950
* [analyzer] Fixup for r162935 as per Jordan's review.Anna Zaks2012-08-303-5/+5
| | | | | | Thanks for catching this! llvm-svn: 162949
* Switch a couple getAs uses to castAs.Eli Friedman2012-08-301-2/+2
| | | | llvm-svn: 162948
* The presence of a user-*declared* constructor makes the defaultDouglas Gregor2012-08-302-6/+17
| | | | | | | constructor not user provided (and, therefore, non-trivial). Fixes <rdar://problem/11736429>. llvm-svn: 162947
* Whitespace.Chad Rosier2012-08-301-1/+1
| | | | llvm-svn: 162946
OpenPOWER on IntegriCloud