summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* X86: Prefer using VPSHUFD over VPERMIL because it has better throughput.Nadav Rotem2012-12-074-8/+9
| | | | llvm-svn: 169624
* <rdar://problem/10903854>Greg Clayton2012-12-071-4/+9
| | | | | | log enable now resolves the "--file" option in case it contains ~. llvm-svn: 169623
* Add helper method to convert from a RegionStoreRefBindings to a Store.Ted Kremenek2012-12-071-8/+13
| | | | llvm-svn: 169622
* tsan: more fd interceptors + bug fixes + testsDmitry Vyukov2012-12-077-22/+235
| | | | llvm-svn: 169621
* [asan] fix lint, remove debug prints Kostya Serebryany2012-12-072-2/+0
| | | | llvm-svn: 169620
* Add separate statistics for Data and Inst fragments emitted during relaxation.Eli Bendersky2012-12-072-5/+6
| | | | | | | Also fixes a test that was overly-sensitive to the exact order of statistics emitted. llvm-svn: 169619
* Set ThreadPlanCallFunction to private in ConstructorSetup. This fixes a ↵Andrew Kaylor2012-12-071-0/+1
| | | | | | problem on Linux where 'continue' was misfiring after an expression evaluation when stopped at a breakpoint. The problem was that InferiorCallMmap was not setting its ThreadPlanCallFunction to private and so the completion of that thread plan appeared to be the stop reason and therefore the 'continue' operation failed to step over the breakpoint. The SetPrivate call is being put in ThreadPlanCallFunction rather than InferiorCallMmap to make the solution more general. llvm-svn: 169618
* Some common functionality from WinCOFFStreamer::EmitAssignment can be nowEli Bendersky2012-12-071-3/+1
| | | | | | delegated to MCObjectStreamer. llvm-svn: 169617
* ASan: intercept prctl on Linux onlyAlexey Samsonov2012-12-072-3/+9
| | | | llvm-svn: 169616
* Fix Test11588.py on Linux. The test was failing because the synthetic type ↵Andrew Kaylor2012-12-071-2/+2
| | | | | | fields were resolving to int instead of long. A similar change was made in r155144 to eliminate the type specification for an earlier check in this test, so it seemed appropriate here too. llvm-svn: 169615
* Separate initing the stdout/stderr for running the Python Script interpreter ↵Jim Ingham2012-12-073-34/+43
| | | | | | | | | | from initing the lldb.target/frame/etc globals, and only do the latter when it makes sense to. <rdar://problem/12554049> llvm-svn: 169614
* Lift EmitAssignment into MCObjectStreamer which gets rid of at least threeEli Bendersky2012-12-077-29/+6
| | | | | | duplicate implementations in format-specific streamers. llvm-svn: 169613
* Take the Target API lock before letting the Python code start to work ↵Jim Ingham2012-12-071-0/+12
| | | | | | | | constructing threads, otherwise we will risk a lock-inversion deadlock between the thread list and the API mutex. <rdar://problem/12554049> llvm-svn: 169612
* Hexagon TC: forward appropriate args to assemblerMatthew Curtis2012-12-072-0/+19
| | | | llvm-svn: 169611
* Driver/ToolChains.cpp: Add the name CentOS5 32bit gcc44 (aka ↵NAKAMURA Takumi2012-12-071-0/+1
| | | | | | | | i386-redhat-linux6E). Thanks to Bruce Stephens. llvm-svn: 169610
* Added Mapping Symbols for ARM ELFTim Northover2012-12-0719-39/+515
| | | | | | | | | | Before this patch, when you objdump an LLVM-compiled file, objdump tried to decode data-in-code sections as if they were code. This patch adds the missing Mapping Symbols, as defined by "ELF for the ARM Architecture" (ARM IHI 0044D). Patch based on work by Greg Fitzgerald. llvm-svn: 169609
* Convert HowToReleaseLLVM.html to reSTDmitri Gribenko2012-12-073-582/+506
| | | | | | Patch by Alexander Zinenko. llvm-svn: 169608
* tsan: fix pipe interceptors and add 2 testsDmitry Vyukov2012-12-073-9/+86
| | | | llvm-svn: 169607
* tsan: fix lint warningsDmitry Vyukov2012-12-071-2/+2
| | | | llvm-svn: 169606
* Clang-format: extracted FormatTokenSource from UnwrappedLineParser.Alexander Kornienko2012-12-073-61/+76
| | | | | | | | | | | | | | Summary: FormatTokenLexer is here, FormatTokenBuffer is on the way. This will allow to re-parse unwrapped lines when needed. Reviewers: djasper, klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D186 llvm-svn: 169605
* The test unconditionally assumes a particular cpu has a backend build in the ↵David Tweed2012-12-072-0/+6
| | | | | | | | | | target. Buildbots for some hosts may choose to build only their own backend in order to maximise testing-turnaround time. Move the test into a prefixed directory so lit's standard "backend specific" suppression can be done. llvm-svn: 169604
* Split MCELFStreamer into a header file.Logan Chien2012-12-072-107/+172
| | | | llvm-svn: 169603
* tsan: add pipe interceptorsDmitry Vyukov2012-12-073-8/+79
| | | | llvm-svn: 169602
* [asan] intercept prctl(PR_SET_NAME) and set the thread name. Output the ↵Kostya Serebryany2012-12-074-7/+94
| | | | | | thread names (if non-empty) in asan reports llvm-svn: 169601
* tsan: refactoring is preparation to more precise fd synchronization handlingDmitry Vyukov2012-12-071-24/+83
| | | | llvm-svn: 169600
* Hexagon TC: add cc1 defaults for hexagon-gccMatthew Curtis2012-12-072-3/+15
| | | | | | compatibility llvm-svn: 169599
* [sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just ↵Kostya Serebryany2012-12-073-0/+40
| | | | | | for linux so far (using prctl(PR_GET_NAME)) llvm-svn: 169598
* Switch to r83 of cpplint.Evgeniy Stepanov2012-12-071-1/+1
| | | | | | Ubuntu Precise compatibility. llvm-svn: 169597
* docs: Convert LangRef to reST.Sean Silva2012-12-073-9100/+8303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: If you have any patches in the works that modify LangRef, you will need to rewrite the changes to LangRef.html to their equivalents in LangRef.rst. If you need assistance feel free to contact me. Since LangRef is mission-critical for the project and "normative", I have taken extra care to ensure that no content was lost or altered in the conversion. The content was converted with a tool called `pandoc`, so there is no chance for a human error like accidentally forgetting a sentence or whatever. After the initial conversion by `pandoc`, only changes to the markup were done. This is just the most literal conversion of the HTML document as possible. It might be worth exploring some way to chop up this massive document into separate pages, e.g. something like `docs/LangRef/Instructions.rst`, `docs/LangRef/Intrinsics.rst`, etc. with `docs/LangRef.rst` being an "intro/navigation page" of sorts. On the other hand, that loses the ability to {Ctrl,Cmd}-F for a given term right from your browser. IMO, I think our stylesheet needs some work because I find it hard to tell what level of nesting some of the headings are at (e.g. "is this a new section or is it a subsection?"). The issue is present on other pages, but the sheer size and deep section structure of LangRef really brings this issue out. If there are any web designers out there in the community it would be awesome if you tried to come up with something nicer. llvm-svn: 169596
* [sanitizer] try not to use libc mem* functions in sanitizer_common tests ↵Kostya Serebryany2012-12-071-1/+1
| | | | | | (conflicts with our own interceptors) llvm-svn: 169595
* Small tweaks to clang-format.Daniel Jasper2012-12-072-3/+12
| | | | | | | Now not joining keywords with '::' and not putting a space between a pointer pointer. llvm-svn: 169594
* [sanitizer] fix the build on ancient gcc which has stricter rules about what ↵Kostya Serebryany2012-12-071-21/+25
| | | | | | can be put on TLS. Long term, we absolutely must build the run-times with the fresh target clang llvm-svn: 169593
* tsan: deflake output tests (by increasing sleeps)Dmitry Vyukov2012-12-0722-23/+23
| | | | llvm-svn: 169592
* [msan] Remove readonly/readnone attributes from all called functions.Evgeniy Stepanov2012-12-071-0/+13
| | | | | | | | | | MSan uses a TLS slot to pass shadow for function arguments and return values. This makes all instrumented functions not readonly, and at the same time requires that all callees of an instrumented function that may be MSan-instrumented do not have readonly attribute (otherwise some of the instrumentation may be optimized out). llvm-svn: 169591
* Cache queries to lookupPrivateMethod() within ↵Ted Kremenek2012-12-071-1/+29
| | | | | | | | | ObjCMethodCall::getRuntimeDefinition(). The same queries can happen thousands of times. This reduces the analysis time on one heavy Objective-C file by 2.4%. llvm-svn: 169589
* Fix the required args count for variadic blocks.John McCall2012-12-078-19/+111
| | | | | | | | | | | | | | | | | We were emitting calls to blocks as if all arguments were required --- i.e. with signature (A,B,C,D,...) rather than (A,B,...). This patch fixes that and accounts for the implicit block-context argument as a required argument. In addition, this patch changes the function type under which we call unprototyped functions on platforms like x86-64 that guarantee compatibility of variadic functions with unprototyped function types; previously we would always call such functions under the LLVM type T (...)*, but now we will call them under the type T (A,B,C,D,...)*. This last change should have no material effect except for making the type conventions more explicit; it was a side-effect of the most convenient implementation. llvm-svn: 169588
* clang/test: Remove "REQUIRES:LP64" in two tests. Each of them have explicit ↵NAKAMURA Takumi2012-12-072-4/+0
| | | | | | triple. llvm-svn: 169587
* Further reduce analysis time by 0.2% on a heavy Objective-C example by ↵Ted Kremenek2012-12-071-8/+9
| | | | | | avoiding over-eager canonicalization of clusters. llvm-svn: 169586
* Use the new MIBundleBuilder class in the Mips target.Jakob Stoklund Olesen2012-12-072-18/+26
| | | | | | This is the preferred way of creating bundled machine instructions. llvm-svn: 169585
* Add an MIBundleBuilder class.Jakob Stoklund Olesen2012-12-071-0/+64
| | | | | | | Like the MachineInstrBuilder, this class makes it easier to build bundles of MachineInstrs. llvm-svn: 169584
* Add higher-level API for dealing with bundled MachineInstrs.Jakob Stoklund Olesen2012-12-072-5/+59
| | | | | | | | | | | | | | | | | | | | | This is still a work in progress. The purpose is to make bundling and unbundling operations explicit, and to catch errors where bundles are broken or created inadvertently. The old IsInsideBundle flag is replaced by two MI flags: BundledPred which has the same meaning as IsInsideBundle, and BundledSucc which is set on instructions that are bundled with a successor. Having two flags provdes redundancy to detect when a bundle is inadvertently torn by a splice() or insert(), and it makes it possible to write bundle iterators that don't need to peek at adjacent instructions. The new flags can't be manipulated directly (once setIsInsideBundle is gone). Instead there are MI functions to make and break bundle bonds. The setIsInsideBundle function will be removed in a future commit. It should be replaced by bundleWithPred(). llvm-svn: 169583
* <rdar://problem/12831670>Jason Molenda2012-12-071-1/+1
| | | | | | | | | | When using the same-device optimization for shared cache libraries, if we have an invalid load address for __LINKEDIT, don't try to read anything out of lldb's own address space. Reading it out of the remote address space will fail gracefully if we have bad addresses but reading it out of lldb's own address space will result in a crash. llvm-svn: 169582
* Unbreak the GCC (4.4 & other bot) builds from r169571.David Blaikie2012-12-071-2/+4
| | | | llvm-svn: 169581
* [mips] Delete nodes and instructions for dynamic alloca that are no longer inAkira Hatanaka2012-12-073-23/+0
| | | | | | use. llvm-svn: 169580
* [mips] Shorten predicate name.Akira Hatanaka2012-12-075-105/+105
| | | | llvm-svn: 169579
* [mips] Delete unused sub-target features.Akira Hatanaka2012-12-073-15/+2
| | | | llvm-svn: 169578
* [mips] Remove unnecessary predicates.Akira Hatanaka2012-12-073-4/+4
| | | | llvm-svn: 169577
* Add file missed from r169574!Richard Smith2012-12-071-0/+3
| | | | llvm-svn: 169576
* arcconfig for compiler-rtAlexey Samsonov2012-12-071-0/+4
| | | | llvm-svn: 169575
* Per [dcl.fct.def.default]p1, don't allow variadic special members to be ↵Richard Smith2012-12-072-0/+30
| | | | | | defaulted. llvm-svn: 169574
OpenPOWER on IntegriCloud