- Feb 28, 2012
-
-
Roman Divacky authored
llvm-svn: 151639
-
James Molloy authored
Correctly track tags and enum members defined in the prototype of a function, and ensure they are properly scoped. This fixes code such as: enum e {x, y}; int f(enum {y, x} n) { return 0; } This finally fixes PR5464 and PR5477. llvm-svn: 151638
-
Benjamin Kramer authored
To avoid problems with zero shifts when getting the bits that move between words we use a trick: first shift the by amount-1, then do another shift by one. When amount is 0 (and size 32) we first shift by 31, then by one, instead of by 32. Also fix a latent bug that emitted the low and high words in the wrong order when shifting right. Fixes PR12113. llvm-svn: 151637
-
Sean Callanan authored
that have valid load addresses. llvm-svn: 151636
-
Argyrios Kyrtzidis authored
make sure to record the source location of the ivar name. [libclang] When indexing @synthesized objc methods, report the @implementation as the lexical container. Fixes rdar://10905472 llvm-svn: 151635
-
Argyrios Kyrtzidis authored
the getter/setter objc method entities that the property is associated with. rdar://10244558 llvm-svn: 151634
-
Argyrios Kyrtzidis authored
[libclang] Index the getter/setter methods of a property of a objc class extension. Fixes rdar://10907597 llvm-svn: 151633
-
David Chisnall authored
Some more Solaris fixes. Now successfully building libc++ on Solaris with clang (and linking clang against it). llvm-svn: 151632
-
Daniel Dunbar authored
llvm-svn: 151631
-
Daniel Dunbar authored
Revert r151623 "Some ARM implementaions, e.g. A-series, does return stack prediction. ...", it is breaking the Clang build during the Compiler-RT part. llvm-svn: 151630
-
Daniel Dunbar authored
llvm-svn: 151629
-
Nadav Rotem authored
llvm-svn: 151627
-
Nadav Rotem authored
When the GEP index is a vector of pointers, the code that calculated the size of the element started from the vector type, and not the contained pointer type. As a result, instead of looking at the data element pointed by the vector, this code used the size of the vector. This works for 32bit members (on 32bit systems), but not for other types. Added code to peel the vector type and added a test. llvm-svn: 151626
-
Jia Liu authored
llvm-svn: 151625
-
Evan Cheng authored
the processor keeps a return addresses stack (RAS) which stores the address and the instruction execution state of the instruction after a function-call type branch instruction. Calling a "noreturn" function with normal call instructions (e.g. bl) can corrupt RAS and causes 100% return misprediction so LLVM should use a unconditional branch instead. i.e. mov lr, pc b _foo The "mov lr, pc" is issued in order to get proper backtrace. rdar://8979299 llvm-svn: 151623
-
Craig Topper authored
llvm-svn: 151622
-
Pete Cooper authored
Reverted r152620 - DSE: Shorten memset when a later store overwrites the start of it. There were all sorts of buildbot issues llvm-svn: 151621
-
Pete Cooper authored
llvm-svn: 151620
-
Bill Wendling authored
llvm-svn: 151618
-
Bill Wendling authored
llvm-svn: 151617
-
Eli Friedman authored
llvm-svn: 151616
-
Akira Hatanaka authored
llvm-svn: 151615
-
Akira Hatanaka authored
llvm-svn: 151614
-
Anna Zaks authored
closest function context (Keychain API). llvm-svn: 151613
-
Charles Davis authored
Mac OS X. Patch by Fabian Groffen, with a slight tweak by me. llvm-svn: 151612
-
Akira Hatanaka authored
load and store instructions. llvm-svn: 151611
-
Jakob Stoklund Olesen authored
Don't attempt to extend physreg live ranges across calls. <rdar://problem/10942095> llvm-svn: 151610
-
Rafael Espindola authored
llvm-svn: 151609
-
Anna Zaks authored
When allocated buffer is passed to CF/NS..NoCopy functions, the ownership is transfered unless the deallocator argument is set to 'kCFAllocatorNull'. llvm-svn: 151608
-
Jakob Stoklund Olesen authored
llvm-svn: 151607
-
Jason Molenda authored
llvm-svn: 151606
-
rdar://problem/10942472Han Ming Ong authored
Allows the debugger to put a more sensible prompt when debugging as root. llvm-svn: 151605
-
Jakob Stoklund Olesen authored
When an outgoing call takes more than 2k of arguments on the stack, we don't allocate that call frame in the prolog, but adjust the stack pointer immediately before the call instead. This causes problems with the emergency spill slot because PEI can't track stack pointer adjustments on the second pass, and if the outgoing arguments are too big, SP can't be used to reach the emergency spill slot at all. Work around these problems by ensuring there is a base or frame pointer that can be used to access the emergency spill slot. <rdar://problem/10917166> llvm-svn: 151604
-
Eli Friedman authored
Implement IRGen for the retain-autorelease in the lambda conversion-to-block-pointer outside of ARC. Testcases coming up soon. llvm-svn: 151603
-
Ted Kremenek authored
[analyzer] teach analyzer about ObjC literals, thus trimming out a false positive with the malloc() checker involving comparing literal addresses to nil. Fixes <rdar://problem/10579586> llvm-svn: 151602
-
Michael J. Spencer authored
Add -D option to llvm-nm to dump dynamic symbols. Patch by David Meyer. llvm-svn: 151600
-
Chad Rosier authored
llvm-svn: 151599
-
Hal Finkel authored
llvm-svn: 151596
-
Jim Grosbach authored
All known nightly-test failures are fixed. llvm-svn: 151595
-
Bill Wendling authored
llvm-svn: 151594
-