summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use zlib to uncompress debug sections in DWARF parser.Alexey Samsonov2013-04-239-1/+87
| | | | | | | This makes llvm-dwarfdump and llvm-symbolizer understand debug info sections compressed by ld.gold linker. llvm-svn: 180088
* Add llvm_unreachable after fully covered switch to pacify GCCHans Wennborg2013-04-231-0/+1
| | | | llvm-svn: 180087
* One line I forgot to remove.Jason Molenda2013-04-231-1/+0
| | | | llvm-svn: 180086
* Update the unwind_diagnose script to work correctly with bothJason Molenda2013-04-231-48/+10
| | | | | | | | | | | lldb-179 version numberings and the new lldb-300 version numberings. Remove the pretense that someone might run this from the command line; this is only used from within a live lldb debug session. Fix the loading so it can be loaded via "script import lldb.macosx" or the script can be loaded individually like "command script import unwind_diagnose.py" llvm-svn: 180085
* Add more guards around zlib-dependent codeAlexey Samsonov2013-04-233-2/+5
| | | | llvm-svn: 180084
* Add basic zlib support to LLVM. This would allow to use ↵Alexey Samsonov2013-04-2316-4/+589
| | | | | | compression/uncompression in selected LLVM tools. llvm-svn: 180083
* [Sanitizer] Delete unused functionAlexey Samsonov2013-04-232-15/+0
| | | | llvm-svn: 180082
* Refuse to (even try to) vectorize loops which have uniform writes,Pekka Jaaskelainen2013-04-232-9/+67
| | | | | | | | | even if erroneously annotated with the parallel loop metadata. Fixes Bug 15794: "Loop Vectorizer: Crashes with the use of llvm.loop.parallel metadata" llvm-svn: 180081
* AArch64: remove unnecessary check that RS is validTim Northover2013-04-231-2/+3
| | | | | | | | AArch64 always demands a register-scavenger, so the pointer should never be NULL. However, in the spirit of paranoia, we'll assert it before use just in case. llvm-svn: 180080
* Add a new -a / --address argument to image show-unwind to get theJason Molenda2013-04-232-61/+86
| | | | | | | | | | | unwind instructions for a function/symbol which contains that address. Update the unwind_diagnose.py script to use this instead of doing image show-unwind by name to avoid cases where there are multiple name definitions. llvm-svn: 180079
* Forgot to include the diagnose_unwind.py script in the initialization ofJason Molenda2013-04-231-1/+2
| | | | | | the lldb.macosx folder. llvm-svn: 180078
* Add a new python file to help diagnose backtrace failures in the field.Jason Molenda2013-04-231-0/+197
| | | | | | | | | | | | | | | It will be installed in the LLDB.framework and can be loaded with (lldb) script import lldb.macosx after which a "unwind-diagnose" command will be registered. Select the thread which has a bad backtrace and run this command -- a lot of information about the stack frames, and an alternate backtrace algorithm, will be used. The information will often be sufficient for a remote person to figure out why the backtrace failed. <rdar://problem/13679300> llvm-svn: 180077
* Warn that scoped enumerations are a C++11 extenstion when compiling inRichard Trieu2013-04-233-3/+7
| | | | | | | C++98 mode. This improves on the previous diagnostic message of: error: expected identifier or '{' llvm-svn: 180076
* [analyzer] RetainCountChecker: Clean up path notes for autorelease.Jordan Rose2013-04-235-64/+66
| | | | | | | | No functionality change. <rdar://problem/13710586> llvm-svn: 180075
* <rdar://problem/13437949>Enrico Granata2013-04-233-42/+6
| | | | | | Making sure that CF*{Array|Dictionary}Ref provide synthetic children correctly. llvm-svn: 180074
* [scan-build] Whitelist all -mXXXX options.Ted Kremenek2013-04-231-1/+1
| | | | llvm-svn: 180073
* Modest performance improvement for std::string's operator==.Howard Hinnant2013-04-221-7/+28
| | | | llvm-svn: 180072
* Much better way to get at the size of an std::listEnrico Granata2013-04-221-18/+36
| | | | llvm-svn: 180071
* When modifying an implicit instantiation with information from an explicit ↵Argyrios Kyrtzidis2013-04-222-0/+14
| | | | | | | | | | one, make sure to reset the "right brace" location. Otherwise the source range of the explicit instantiation may become invalid (begin location will be after the end location). rdar://13706991 llvm-svn: 180070
* [analyzer] Model strsep(), particularly that it returns its input.Jordan Rose2013-04-222-0/+113
| | | | | | | This handles the false positive leak warning in PR15374, and also serves as a basic model for the strsep() function. llvm-svn: 180069
* Struct-path aware TBAA: update getMostGenericTBAA Manman Ren2013-04-222-38/+60
| | | | | | | | | | The tag is of type TBAANode when flag EnableStructPathTBAA is off. Move implementation of MDNode::getMostGenericTBAA to TypeBasedAliasAnalysis.cpp since it depends on how to interprete the MDNodes for scalar TBAA and struct-path aware TBAA. llvm-svn: 180068
* Daniel Malea reported seeing warnings for the use of anonymous namespaces in ↵Enrico Granata2013-04-224-158/+149
| | | | | | | | our public API. Removing these namespace { ... } declarations (but still keeping the helper *Impl objects outside of namespace lldb proper) llvm-svn: 180067
* Revert "Add a missing reference on a std::vector<> out param"Michael Gottesman2013-04-221-17/+2
| | | | | | | | | | | | | Revert "[Support] Propagate the environment into the test child process" This reverts commit r180046. This reverts commit r180041. These have broken buildbots for ~3 hours: http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/763 llvm-svn: 180066
* Add triple to tbaa-struct.cpp to appease botsManman Ren2013-04-221-1/+1
| | | | llvm-svn: 180065
* Remove unused DwarfSectionOffsetDirective stringMatt Arsenault2013-04-225-11/+9
| | | | | | | The value isn't actually used, and setting it emits a COFF specific directive. llvm-svn: 180064
* Move C++ code out of the C headers and into either C++ headersEric Christopher2013-04-2227-228/+253
| | | | | | | or the C++ files themselves. This enables people to use just a C compiler to interoperate with LLVM. llvm-svn: 180063
* Add a warning for Objective-C pointer introspection, which is solely the job ↵Ted Kremenek2013-04-222-0/+35
| | | | | | of the Objective-C runtime. llvm-svn: 180062
* Update CMakeLists.txt as per new file RegisterContextDummy.cppDaniel Malea2013-04-221-0/+1
| | | | llvm-svn: 180061
* [ms-inline asm] Removed this unnecessary check. In the current implementation,Chad Rosier2013-04-221-1/+1
| | | | | | Disp will always be one of MCSymbolRefExpr or MCConstantExpr, and never NULL. llvm-svn: 180059
* Add test case for PR15779, which has previously been fixed.Chad Rosier2013-04-221-1/+2
| | | | llvm-svn: 180058
* [ms-inline asm] Get the OpDecl and remove a redundant lookup.Chad Rosier2013-04-221-2/+1
| | | | | | Part of rdar://13663589 llvm-svn: 180057
* Rename this test to make it more general for including more tests.Ted Kremenek2013-04-221-1/+7
| | | | llvm-svn: 180056
* [ms-inline asm] Set the OpDecl to the InlineAsmIdentifierInfo struct.Chad Rosier2013-04-221-0/+1
| | | | | | Part of rdar://13663589 llvm-svn: 180055
* [ms-inline asm] Add the OpDecl to the InlineAsmIdentifierInfo struct and in turnChad Rosier2013-04-223-13/+21
| | | | | | | the MCParsedAsmOperand. Part of rdar://13663589 llvm-svn: 180054
* Proper English not optionalEnrico Granata2013-04-221-3/+3
| | | | llvm-svn: 180053
* [analyzer] Treat reinterpret_cast like a base cast in certain cases.Jordan Rose2013-04-222-34/+141
| | | | | | | | | | | | | | | | | The analyzer represents all pointer-to-pointer bitcasts the same way, but this can be problematic if an implicit base cast gets layered on top of a manual base cast (performed with reinterpret_cast instead of static_cast). Fix this (and avoid a valid assertion) by looking through cast regions. Using reinterpret_cast this way is only valid if the base class is at the same offset as the derived class; this is checked by -Wreinterpret-base-class. In the interest of performance, the analyzer doesn't repeat this check anywhere; it will just silently do the wrong thing (use the wrong offsets for fields of the base class) if the user code is wrong. PR15394 llvm-svn: 180052
* [analyzer] Type information from C++ new expressions is perfect.Jordan Rose2013-04-223-4/+23
| | | | | | | This improves our handling of dynamic_cast and devirtualization for objects allocated by 'new'. llvm-svn: 180051
* Fix lock hierarchy violation in Listener/BroadcasterDaniel Malea2013-04-222-0/+5
| | | | | | | - avoid deadlocks if Broadcaster::SignUpListenersForBroadcaster and Listener::StartListeningForEventSpec are both called concurrently llvm-svn: 180050
* Optimize MachineBasicBlock::getSymbol by caching the symbol. Since the symbolEli Bendersky2013-04-222-8/+15
| | | | | | | name computation is expensive, this helps save about 25% of the time spent in this function. llvm-svn: 180049
* When parsing dwarf, add C functions to the fullname index.Matt Kopec2013-04-221-0/+5
| | | | | | This fixes function type resolution for C functions when requesting full function names. llvm-svn: 180048
* Fix data race in Address class by wrapping m_offset in std::atomicDaniel Malea2013-04-222-4/+5
| | | | llvm-svn: 180047
* Add a missing reference on a std::vector<> out paramReid Kleckner2013-04-221-1/+1
| | | | | | | Pointed out by Eli. The test passes for me either way, so I missed this. llvm-svn: 180046
* Changed back (relative to commit 179786) the operations executed when ↵Anat Shemer2013-04-222-3/+21
| | | | | | extract(cast) is transformed to cast(extract). It uses the Builder class as before. In addition the result node is added to the Worklist, so all the previous extract users will become the new scalar cast users. llvm-svn: 180045
* Fix unused variable warning.Chad Rosier2013-04-221-1/+1
| | | | llvm-svn: 180044
* Fix comment that didn't match the method it was aboveEli Bendersky2013-04-221-2/+2
| | | | llvm-svn: 180043
* [Mips] Remove "REQUIRES: mips-registered-target" from some MIPS-relatedSimon Atanasyan2013-04-226-11/+0
| | | | | | | driver tests. These tests check the driver only and do not require mips target. llvm-svn: 180042
* [Support] Propagate the environment into the test child processReid Kleckner2013-04-221-2/+17
| | | | | | | Should fix the dragonegg bootstrap builder, which reasonably needs LD_LIBRARY_PATH to be set. llvm-svn: 180041
* 80 columns.Akira Hatanaka2013-04-223-6/+9
| | | | llvm-svn: 180040
* [mips] In performDSPShiftCombine, check that all elements in the vector areAkira Hatanaka2013-04-223-10/+68
| | | | | | | shifted by the same amount and the shift amount is smaller than the element size. llvm-svn: 180039
* TBAA: make sure zero-length bitfield works for tbaa.struct and path-aware tbaaManman Ren2013-04-223-1/+86
| | | | | | | | For ms structs, zero-length bitfields following non-bitfield members are completely ignored, we should not increase the field index. Before the fix, we will have an assertion failure. llvm-svn: 180038
OpenPOWER on IntegriCloud