summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing flush call. This is an attempt to fix a broken Windows buildbot.Eli Friedman2011-12-161-0/+1
| | | | llvm-svn: 146760
* Reduce recursion limit on this test further to try to make the msys bot green.Richard Smith2011-12-161-3/+3
| | | | llvm-svn: 146759
* Fix vinsertf128_* AVX intrinsics to use "I" (ICE) markings. Fix avxintrin.h to Chad Rosier2011-12-162-18/+15
| | | | | | | take them into account. rdar://10590282 llvm-svn: 146758
* Fix vperm2f128_* AVX intrinsics to use "I" (ICE) markings. Fix avxintrin.h to Chad Rosier2011-12-162-18/+15
| | | | | | | take them into account. rdar://10576962 llvm-svn: 146757
* Updated Clang to take an enhancement to the waySean Callanan2011-12-167-16/+81
| | | | | | | | | | | | | | we handle Objective-C method calls. Currently, LLDB treats the result of an Objective-C method as unknown if the type information doesn't have the method's signature. Now Clang can cast the result to id if it isn't explicitly cast. I also added a test case for this, as well as a fix for a type import problem that this feature exposed. llvm-svn: 146756
* Add a warning flag for ext_embedded_directive. gcc considers this undefinedRichard Smith2011-12-162-3/+3
| | | | | | | behaviour to be an error, so it's useful to be able to make it an error in clang too. llvm-svn: 146755
* APInt: update asserts for base-36Dylan Noblesmith2011-12-162-4/+8
| | | | | | | | Hexatridecimal was added in r139695. And fix the unittest that now triggers the assert. llvm-svn: 146754
* PR11594: Don't blindly build a UnaryOperator UO_Minus on an expression whichRichard Smith2011-12-164-6/+13
| | | | | | | might not be an rvalue when checking array accesses. Instead, pass through a flag indicating the array index is negated. llvm-svn: 146753
* Recently the GCD tests started failing because of the invalid size ofKostya Serebryany2011-12-163-1/+7
| | | | | | | | | | FakeStack on the worker threads. This patch moves the AsanThread initialization into a separate procedure that's called when AsanThread objects are called for worker threads. Patch by glider@google.com llvm-svn: 146752
* Don't adjust for alignment padding in OffsetIsInRange.Jakob Stoklund Olesen2011-12-161-16/+1
| | | | | | | | | | | This adjustment is already included in the block offsets computed by BasicBlockInfo, and adjusting again here can cause the pass to loop. When CreateNewWater splits a basic block, OffsetIsInRange would reject the new CPE on the next pass because of the too conservative alignment adjustment. This caused the block to be split again, and so on. llvm-svn: 146751
* Hexagon: Fix a nasty order-of-initialization bug.Benjamin Kramer2011-12-1612-22/+12
| | | | | | Reenable the tests. llvm-svn: 146750
* C++11 constexpr: Add note stacks containing backtraces if constant evaluationRichard Smith2011-12-1621-207/+483
| | | | | | | | | | fails within a call to a constexpr function. Add -fconstexpr-backtrace-limit argument to driver and frontend, to control the maximum number of notes so produced (default 10). Fix APValue printing to be able to pretty-print all APValue types, and move the testing for this functionality from a unittest to a -verify test now that it's visible in clang's output. llvm-svn: 146749
* [analyzer] Better stdin support.Anna Zaks2011-12-163-26/+66
| | | | llvm-svn: 146748
* Fixup to the relaxed diagnostic verification option r146633.Anna Zaks2011-12-161-2/+4
| | | | | | | We should exit when matching the '+' even if nothing was found to prevent searching for all UNIT_MAX items. llvm-svn: 146747
* Handle all of the "thumb" target triple architecture variants that llvmGreg Clayton2011-12-163-4/+34
| | | | | | handles. llvm-svn: 146746
* Update tests to match r146744.Devang Patel2011-12-162-2/+2
| | | | llvm-svn: 146745
* In DICompositeType, referenced to derived type is either metadata or null.Devang Patel2011-12-161-5/+5
| | | | llvm-svn: 146744
* Clarify and fix subprogram description.Devang Patel2011-12-161-1/+1
| | | | llvm-svn: 146743
* If there is a definition of an ObjCInterfaceDecl, make it the Decl returned ↵Douglas Gregor2011-12-163-2/+11
| | | | | | from the corresponding ObjCInterfaceType llvm-svn: 146740
* Note ARM constant island alignment in the release notes.Jakob Stoklund Olesen2011-12-162-2/+3
| | | | | | | | The command line option should be removed, but not until the feature has gotten a lot of testing. The ARMConstantIslandPass tends to have subtle bugs that only show up after a while. llvm-svn: 146739
* Support decltype in pseudo destructors and dependent destructor calls.David Blaikie2011-12-165-39/+90
| | | | | | Reviewed by Eli Friedman. llvm-svn: 146738
* objc: after issuing the warning on direct use of __attribute__((NSObject))Fariborz Jahanian2011-12-162-5/+2
| | | | | | on properties, prevent consequential error diagnostics. // rdar://10591336 llvm-svn: 146737
* Allow unique_ptr<T const []> to be constructed with a T* (in addition to a ↵Howard Hinnant2011-12-161-4/+22
| | | | | | const T*) llvm-svn: 146736
* Adds a JSON parser and a benchmark (json-bench) to catch performance ↵Manuel Klimek2011-12-1612-2/+996
| | | | | | regressions. llvm-svn: 146735
* Put the '*' in the right place in the unit test. Forgot to fix up thisChandler Carruth2011-12-161-7/+7
| | | | | | bit of style, sorry. llvm-svn: 146733
* Make GCC happy by using makeAraryRef instead of the implicit conversion.Chandler Carruth2011-12-161-4/+4
| | | | | | | I have no idea why GCC can't cope with the implicit conversion and Clang can, or whose bug it is. Grr. llvm-svn: 146732
* Add a generic collection of class templates to ADT for buildingChandler Carruth2011-12-163-0/+454
| | | | | | | | | | | | variadic-like functions in C++98. See the comments in the header file for a more detailed description of how these work. We plan to use these extensively in the AST matching library. This code and idea were originally authored by Zhanyong Wan. I've condensed it using macros to reduce repeatition and adjusted it to fit better with LLVM's ADT. Thanks to both David Blaikie and Doug Gregor for the review! llvm-svn: 146729
* By popular demand, link up types by name if they are isomorphic and one is anChris Lattner2011-12-162-0/+34
| | | | | | | autorenamed version of the other. This makes the IR easier to read, because we don't end up with random renamed versions of the types after LTO'ing a large app. llvm-svn: 146728
* Adapt to move of isSafeToSpeculativelyExecute into another header.Tobias Grosser2011-12-161-1/+2
| | | | llvm-svn: 146727
* Don't try to match 'unpackl/h v, v' for 32xi8 and 16xi16 when only AVX1 is ↵Craig Topper2011-12-164-48/+123
| | | | | | supported. Fix 'unpackh v, v' for 256-bit types to understand 128-bit lanes. llvm-svn: 146726
* Tweak CMake build on Cygwin.NAKAMURA Takumi2011-12-162-2/+2
| | | | llvm-svn: 146725
* Target/Hexagon: Fix CMake build.NAKAMURA Takumi2011-12-161-1/+0
| | | | llvm-svn: 146724
* When we're unwinding out of frame 0 and we end up with a bogus frameJason Molenda2011-12-162-8/+67
| | | | | | | | | | | | | | | | | | | | | | | | 1 -- an address pointing off into non-executable memory -- don't abort the unwind. We'll use the ABI's default UnwindPlan to try to get out of frame 1 and on many platforms with a standard frame chain stack layout we can get back on track and get a valid frame 2. This preserves the lldb behavior to-date; the change last week to require the memory region to be executable broke it. I'd like to mark this frame specially when displayed to the user; I tried to override the places where the frame's pc value is returned to change it to a sentinel value (e.g. LLDB_INVALID_ADDRESS) but couldn't get that to work cleanly so I backed that part out for now. When this happens we'll often miss one of the user's actual frames, the one that's of most interest to the user, so I'd like to make this visually distinctive. Note that a frame in non-executable memory region is only allowed for frame 1. After that we should be solid on the unwind and any pc address in non-executable memory indicates a failure and we should stop unwinding. llvm-svn: 146723
* Fix chaining of ObjCInterfaceDecl redeclarationsDouglas Gregor2011-12-1611-45/+64
| | | | llvm-svn: 146722
* Avoid a confusing assert for silly options: -unroll-runtime -unroll-count=1.Andrew Trick2011-12-161-0/+5
| | | | | | No need for an explicit test case for an unsupported combination of options. llvm-svn: 146721
* Simplify the setup leading to the testing of ReadMemory(), ↵Johnny Chen2011-12-161-25/+7
| | | | | | | | | ReadCStringFromMemory(), and ReadUnsignedFromMemory(). Instead of getting the location of the variable and converting the hex string to an int, just use val.AddressOf().GetValueAsUnsigned() to compute the address of the memory region to read from. llvm-svn: 146719
* [asan] add a test for instrumenting globalsKostya Serebryany2011-12-161-0/+20
| | | | llvm-svn: 146718
* Remove unnecessary #include.Jim Ingham2011-12-162-5/+1
| | | | llvm-svn: 146717
* Add a test sequence of SBProcess.ReadCStringFromMemory() with (char ↵Johnny Chen2011-12-162-0/+14
| | | | | | | | *)my_char_ptr as the address to read from. char *my_char_ptr = (char *)"Does it work?"; llvm-svn: 146716
* Sema::RequireCompleteType currently attempts toSean Callanan2011-12-161-28/+28
| | | | | | | | | | | | | | instantiate a class from its template pattern before it consults the ExternalASTSource. LLDB in particular will sometimes provide patterns that need to be completed first. To make this possible, I have moved the completion before the code that does the instantiation, allowing the ExternalASTSource to provide the required information. llvm-svn: 146715
* ARM NEON aliases for vmovq.f*Jim Grosbach2011-12-161-0/+4
| | | | llvm-svn: 146714
* Extract a method. No functional change.Jakob Stoklund Olesen2011-12-162-36/+47
| | | | llvm-svn: 146713
* Fix a bug where when debugging with .o files, we end up with two symbols for ↵Jim Ingham2011-12-161-4/+20
| | | | | | | | each real OBJC_CLASS_$_whatever, one of which is correctly classified as an ObjCClass symbol, and the other is just a data symbol. This was messing up the ObjC dynamic type detection. <rdar://problem/10589527> llvm-svn: 146712
* llvm-config: Fix --targets-built, I changed this to use the registry but wasn'tDaniel Dunbar2011-12-164-9/+5
| | | | | | | | properly initializing the target infos. I decided it wasn't worth linking them in for this, so just switched back to using the Makefile variable for now. We can reconsider later if we ever get pluggable targets. llvm-svn: 146711
* Thumb2 ADR assembly parsing w/o the .w suffix.Jim Grosbach2011-12-151-0/+4
| | | | llvm-svn: 146710
* Make sure we correctly note the existence of an i8 immediate for vblendvps ↵Eli Friedman2011-12-153-3/+10
| | | | | | and friends, so we compute fixups correctly. PR11586. llvm-svn: 146709
* llvm-config: Update help text for removal of "backend" pseudo component.Daniel Dunbar2011-12-151-1/+0
| | | | llvm-svn: 146708
* In SourceManager::~SourceManager do a sanity check to make sure weArgyrios Kyrtzidis2011-12-151-4/+8
| | | | | | | | don't try to destruct a null ContentCache. rdar://10567159 llvm-svn: 146707
* build/unittests: Fix llvm-config names for gtest libraries, and bring MakefileDaniel Dunbar2011-12-154-7/+5
| | | | | | | library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. llvm-svn: 146706
* When generating debug info for an ObjCInterfaceDecl, try to dig out the ↵Douglas Gregor2011-12-151-1/+3
| | | | | | definition. llvm-svn: 146705
OpenPOWER on IntegriCloud