- Mar 23, 2013
-
-
rdar://problem/13315663Enrico Granata authored
commands of the form frame variable -f c-string foo where foo is an arbitrary pointer (e.g. void*) now do the right thing, i.e. they deref the pointer and try to get a c-string at the pointed address instead of dumping the pointer bytes as a string. the old behavior is used as a fallback if things don’t go well llvm-svn: 177799
-
Tobias Grosser authored
This silences the following warning: 'polly::ClastVisitor' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor] llvm-svn: 177798
-
Fariborz Jahanian authored
for a getter used in property-dot syntax, if geter has its own comment use it. // rdar://12791315 llvm-svn: 177797
-
Tobias Grosser authored
After this commit, polly is clang-format clean. This can be tested with 'ninja polly-check-format'. Updates to clang-format may change this, but the differences will hopefully be both small and general improvements to the formatting. We currently have some not very nice formatting for a couple of items, DEBUG() stmts for example. I believe the benefit of being clang-format clean outweights the not perfect layout of this code. llvm-svn: 177796
-
Tobias Grosser authored
llvm-svn: 177795
-
Sean Callanan authored
class symbol in the same expression, handle all of them instead of just the first one. <rdar://problem/13440133> llvm-svn: 177794
-
Greg Clayton authored
Only get the script interpreter if we find scripting resources in the symbol file. This helps us avoid initializing python when it isn't needed. llvm-svn: 177793
-
Greg Clayton authored
llvm-svn: 177792
-
Greg Clayton authored
Make sure the "Release" builds link against the "Release" LLDB.framework and also output the results to /dev/stdout when no outfile is supplied. llvm-svn: 177791
-
Jason Molenda authored
to in INADDR_LOOPBACK mode by default ("localhost only") instead of INADDR_ANY ("accept connections from any system"). Add a new command line argument to debugserver, --open-connection or -H which will enable the previous behavior. It would be used if you were doing two-system debugging, with lldb running on one system and debugserver running on the other. But it is a less common workflow and should not be the default. <rdar://problem/12583284> llvm-svn: 177790
-
Anna Zaks authored
[analyzer] Warn when a nil key or value are passed to NSMutableDictionary and ensure it works with subscripting. llvm-svn: 177789
-
Anna Zaks authored
llvm-svn: 177788
-
Tobias Grosser authored
llvm-svn: 177787
-
Tobias Grosser authored
Even though we will soon get rid of this pass, we reformat it on the way to make polly clang-format clean. llvm-svn: 177786
-
Tobias Grosser authored
llvm-svn: 177785
-
Richard Smith authored
specify which symbols are exported to DSOs when the sanitizer is statically linked into a binary. llvm-svn: 177784
-
Richard Smith authored
linker via --dynamic-list instead of using --export-dynamic. This reduces the size of the dynamic symbol table, and thus of the binary (in some cases by up to ~30%). llvm-svn: 177783
-
Tobias Grosser authored
llvm-svn: 177782
-
Tobias Grosser authored
llvm-svn: 177781
-
Hal Finkel authored
177774 broke the lld-x86_64-darwin11 builder; error: error: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') for (SI = 0; SI < Scavenged.size(); ++SI) ~~ ^ ~~~~~~~~~~~~~~~~ Fix this by making SI also unsigned. llvm-svn: 177780
-
Jason Molenda authored
skip every other float/double/long double as we extracted data from a buffer. <rdar://problem/13485062> llvm-svn: 177779
-
Sean Silva authored
The new wording cannot be construed as suggesting the use of SmallVectorImpl<T> as e.g. a class member (just because the class happens to be in an interface). llvm-svn: 177778
-
Tobias Grosser authored
Given the following code for (i = 0; i < 10; i++) { ; } S: A[i] = 0 When code generating S using scev based code generation, we need to retrieve the scev of 'i' at the location of 'S'. If we do not do this the scev that we obtain will be expressed as {0,+,1}_for and will reference loop iterators that do not surround 'S' and that we consequently do not know how to code generate. What we really want is the scev to be instantiated to the value of 'i' after the loop. This value is {10} and it can be code generated without troubles. llvm-svn: 177777
-
Jason Molenda authored
llvm-svn: 177776
-
Sean Silva authored
llvm-svn: 177775
-
Hal Finkel authored
This patch lets the register scavenger make use of multiple spill slots in order to guarantee that it will be able to provide multiple registers simultaneously. To support this, the RS's API has changed slightly: setScavengingFrameIndex / getScavengingFrameIndex have been replaced by addScavengingFrameIndex / isScavengingFrameIndex / getScavengingFrameIndices. In forthcoming commits, the PowerPC backend will use this capability in order to implement the spilling of condition registers, and some special-purpose registers, without relying on r0 being reserved. In some cases, spilling these registers requires two GPRs: one for addressing and one to hold the value being transferred. llvm-svn: 177774
-
- Mar 22, 2013
-
-
Jason Molenda authored
DWARFCallFrameInfo method which returns a RangeVector pre-size the vector based on the number of entries it will be adding insted of growing the vector as items are added. llvm-svn: 177773
-
Manman Ren authored
Add "evaluate-tbaa" to print alias queries of loads/stores. Alias queries between pointers do not include TBAA tags. Add testing case for "placement new". TBAA currently says NoAlias. llvm-svn: 177772
-
Sebastian Pop authored
llvm-svn: 177771
-
John McCall authored
llvm-svn: 177769
-
Bill Wendling authored
isIncompleteType() returns true or false for template types depending on whether the type is instantiated yet. In this context, that's arbitrary. The better way to check for a complete type is RequireCompleteType(). Thanks to Eli Friedman for noticing this! <rdar://problem/12700799> llvm-svn: 177768
-
Ted Kremenek authored
llvm-svn: 177767
-
rdar://problem/13479539Douglas Gregor authored
This eliminates excessive rebuilds of the global module cache. llvm-svn: 177766
-
Jordan Rose authored
The algorithm used here was ridiculously slow when a potential back-edge pointed to a node that already had a lot of successors. The previous commit makes this feature unnecessary anyway. This reverts r177468 / f4cf6b10f863b9bc716a09b2b2a8c497dcc6aa9b. Conflicts: lib/StaticAnalyzer/Core/BugReporter.cpp llvm-svn: 177765
-
Jordan Rose authored
For a given bug equivalence class, we'd like to emit the report with the shortest path. So far to do this we've been trimming the ExplodedGraph to only contain relevant nodes, then doing a reverse BFS (starting at all the error nodes) to find the shortest paths from the root. However, this is fairly expensive when we are suppressing many bug reports in the same equivalence class. r177468-9 tried to solve this problem by breaking cycles during graph trimming, then updating the BFS priorities after each suppressed report instead of recomputing the whole thing. However, breaking cycles is not a cheap operation because an analysis graph minus cycles is still a DAG, not a tree. This fix changes the algorithm to do a single forward BFS (starting from the root) and to use that to choose the report with the shortest path by looking at the error nodes with the lowest BFS priorities. This was Anna's idea, and has the added advantage of requiring no update step: we can just pick the error node with the next lowest priority to produce the next bug report. <rdar://problem/13474689> llvm-svn: 177764
-
Jordan Rose authored
llvm-svn: 177763
-
Jordan Rose authored
Debugging aid only, no functionality change. llvm-svn: 177762
-
Argyrios Kyrtzidis authored
-Serialize the macro directives history into its own section -Get rid of the macro updates section -When de/serializing an identifier from a module, associate only one macro per submodule that defined+exported it. llvm-svn: 177761
-
Argyrios Kyrtzidis authored
llvm-svn: 177760
-
Greg Clayton authored
llvm-svn: 177759
-