| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 164833
|
| |
|
|
|
|
| |
does not impact any of the implementation of libc++, and does not impact the ABI in any way.
llvm-svn: 164832
|
| |
|
|
|
|
| |
Patch committed on behalf of Kirill Uhanov
llvm-svn: 164831
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the analyzer treated all inlined constructors like lvalues,
setting the value of the CXXConstructExpr to the newly-constructed
region. However, some CXXConstructExprs behave like rvalues -- in
particular, the implicit copy constructor into a pass-by-value argument.
In this case, we want only the /contents/ of a temporary object to be
passed, so that we can use the same "copy each argument into the
parameter region" algorithm that we use for scalar arguments.
This may change when we start modeling destructors of temporaries,
but for now this is the last part of <rdar://problem/12137950>.
llvm-svn: 164830
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
An rvalue has no address, but calling a C++ member function requires a
'this' pointer. This commit makes the analyzer create a temporary region
in which to store the struct rvalue and use as a 'this' pointer whenever
a member function is called on an rvalue, which is essentially what
CodeGen does.
More of <rdar://problem/12137950>. The last part is tracking down the
C++ FIXME in array-struct-region.cpp.
llvm-svn: 164829
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Struct rvalues are represented in the analyzer by CompoundVals,
LazyCompoundVals, or plain ConjuredSymbols -- none of which have associated
regions. If the entire structure is going to persist, this is not a
problem -- either the rvalue will be assigned to an existing region, or
a MaterializeTemporaryExpr will be present to create a temporary region.
However, if we just need a field from the struct, we need to create the
temporary region ourselves.
This is inspired by the way CodeGen handles calls to temporaries;
support for that in the analyzer is coming next.
Part of <rdar://problem/12137950>
llvm-svn: 164828
|
| |
|
|
|
|
|
| |
- The size of the packed vector is often small, save mallocs using SmallBitVector.
- Copying SmallBitVectors is also cheap, remove a level of indirection.
llvm-svn: 164827
|
| |
|
|
| |
llvm-svn: 164826
|
| |
|
|
|
|
| |
when we have a StopInfo object.
llvm-svn: 164825
|
| |
|
|
|
|
|
|
|
|
|
| |
diagnostic count.
If a DiagnosticConsumer sub-class overwrites IncludeInDiagnosticCounts,
this should change diagnostic counts. However, it currently also
influences Diag.ErrorOccurred, which in turn influences the behavior of
parsing and semantic analysis (in a way that can make it crash).
llvm-svn: 164824
|
| |
|
|
| |
llvm-svn: 164823
|
| |
|
|
|
|
| |
Patch by Martinez, Javier E.
llvm-svn: 164822
|
| |
|
|
|
|
| |
asan_test_config.h file
llvm-svn: 164821
|
| |
|
|
| |
llvm-svn: 164819
|
| |
|
|
|
|
|
|
| |
If the it's the condition of a SwitchInst, reload it.
Fixes PR13972.
llvm-svn: 164818
|
| |
|
|
| |
llvm-svn: 164817
|
| |
|
|
|
|
| |
This way building without -DASAN_* in CFLAGS produces working binaries.
llvm-svn: 164816
|
| |
|
|
|
|
|
|
| |
is only stored once.
Fixes PR13968.
llvm-svn: 164815
|
| |
|
|
| |
llvm-svn: 164814
|
| |
|
|
|
|
| |
gcc 4.7.
llvm-svn: 164813
|
| |
|
|
|
|
|
| |
names in addition to the rax/rbp/rip register names when
deciding whether a register is volatile or not.
llvm-svn: 164812
|
| |
|
|
|
|
|
|
|
| |
2. As part of this, added assembly format FEXT_RI16_SP_explicit_ins and
moved other lines for FEXT_RI16 formats to be in the right place in the code.
3. Added mayLoad and mayStore assignements for the load/store instructions added and for ones already there that did not have this assignment.
4. Another patch will deal with the problem of load/store byte/halfword to the stack. This is a particular Mips16 problem.
llvm-svn: 164811
|
| |
|
|
|
|
|
|
| |
resolve -
1 location added to breakpoint 2
llvm-svn: 164810
|
| |
|
|
|
|
| |
std::string under the exception classes. I think the changes to stdexcept.cpp have got that down now. 2) On Apple platforms I'm seeing visibility bugs in applications with respect to type_info's being hidden. This is causing dynamic_cast to malfunction because there are multiple type_info's running around for one type within an application, making dynamic_cast believe that one type is actually multiple types. As a stop gap measure I'm trying to detect this error, print out an error message, but continue with the most likely desired result. This is all under __APPLE__. This behavior can be expanded to other platforms if desired.
llvm-svn: 164809
|
| |
|
|
|
|
|
| |
out of the metaclass, so as to enumerate class
methods for an object.
llvm-svn: 164808
|
| |
|
|
|
|
|
|
|
| |
The new coalescer can turn a full virtual register definition into a
partial redef by merging another value into an unused vector lane.
Make sure to clear the <read-undef> flag on such defs.
llvm-svn: 164807
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
symfile add" command.
We can now do:
Specify a path to a debug symbols file:
(lldb) add-dsym <path-to-dsym>
Go and download the dSYM file for the "libunc.dylib" module in your target:
(lldb) add-dsym --shlib libunc.dylib
Go and download the dSYM given a UUID:
(lldb) add-dsym --uuid <UUID>
Go and download the dSYM file for the current frame:
(lldb) add-dsym --frame
llvm-svn: 164806
|
| |
|
|
| |
llvm-svn: 164805
|
| |
|
|
| |
llvm-svn: 164804
|
| |
|
|
| |
llvm-svn: 164803
|
| |
|
|
|
|
| |
through property getters.
llvm-svn: 164802
|
| |
|
|
|
|
| |
Ubuntu.
llvm-svn: 164801
|
| |
|
|
| |
llvm-svn: 164800
|
| |
|
|
| |
llvm-svn: 164799
|
| |
|
|
| |
llvm-svn: 164798
|
| |
|
|
| |
llvm-svn: 164797
|
| |
|
|
| |
llvm-svn: 164796
|
| |
|
|
|
|
|
| |
The new coalescer is better at merging values into unused vector lanes,
improving NEON code.
llvm-svn: 164794
|
| |
|
|
|
|
|
|
| |
The fix is obvious and the only test case I have is horrible, so I am
not including it. The problem shows up when self-hosting clang on i386
with -new-coalescer enabled.
llvm-svn: 164793
|
| |
|
|
|
|
|
| |
added a parser for method signatures in the
Objective-C @encode format.
llvm-svn: 164792
|
| |
|
|
|
|
| |
(fixup for r164790)
llvm-svn: 164791
|
| |
|
|
| |
llvm-svn: 164790
|
| |
|
|
| |
llvm-svn: 164789
|
| |
|
|
| |
llvm-svn: 164788
|
| |
|
|
| |
llvm-svn: 164787
|
| |
|
|
| |
llvm-svn: 164786
|
| |
|
|
|
|
|
|
| |
If the width is very large it gets truncated from uint64_t to uint32_t when
passed to TD->fitsInLegalInteger. The truncated value can fit in a register.
This manifested in massive memory usage or crashes (PR13946).
llvm-svn: 164784
|
| |
|
|
| |
llvm-svn: 164782
|
| |
|
|
| |
llvm-svn: 164781
|
| |
|
|
|
|
| |
the DWARF 4 specification.
llvm-svn: 164779
|