- Jul 07, 2011
-
-
Devang Patel authored
If known DebugLocs do not match then two DBG_VALUE machine instructions are not identical. For example, DBG_VALUE 3.310000e+02, 0, !"ds"; dbg:sse.stepfft.c:138:18 @[ sse.stepfft.c:32:10 ] DBG_VALUE 3.310000e+02, 0, !"ds"; dbg:sse.stepfft.c:138:18 @[ sse.stepfft.c:31:10 ] These two MIs represent identical value, 3.31..., for one variable, ds, but they are not identical because the represent two separate instances of inlined variable "ds". llvm-svn: 134620
-
Joerg Sonnenberger authored
llvm-svn: 134619
-
Joerg Sonnenberger authored
fault if no arguments are given. llvm-svn: 134618
-
Joerg Sonnenberger authored
llvm-svn: 134617
-
Oscar Fuentes authored
llvm-svn: 134616
-
Douglas Gregor authored
clang_codeCompleteGetContexts(), that provides the client with information about the context in which code completion has occurred and what kinds of entities make sense as completions at that point. Patch by Connor Wakamo! llvm-svn: 134615
-
Douglas Gregor authored
llvm-svn: 134614
-
Enrico Granata authored
llvm-svn: 134613
-
David Chisnall authored
If we're using the pure non-fragile ABI, then skip some of the contortions required to support the transitional ABI. llvm-svn: 134612
-
David Chisnall authored
Set a flag to tell the runtime when we're compiling in ARC mode and use the pure-nonfragile ABI for both ARC and GC mode. llvm-svn: 134611
-
David Chisnall authored
Fix example: variable is initialized to 10 and then has 11 stored in it, but in the expanded version is initialized to 11. llvm-svn: 134610
-
Cameron Zwarich authored
multiply-accumulate instructions with separate rounding steps. llvm-svn: 134609
-
Evan Cheng authored
llvm-svn: 134608
-
Evan Cheng authored
llvm-svn: 134607
-
Evan Cheng authored
llvm-svn: 134606
-
John McCall authored
where we have an immediate need of a retained value. As an exception, don't do this when the call is made as the immediate operand of a __bridge retain. This is more in the way of a workaround than an actual guarantee, so it's acceptable to be brittle here. rdar://problem/9504800 llvm-svn: 134605
-
Chris Lattner authored
llvm-svn: 134601
-
Chris Lattner authored
llvm-svn: 134599
-
Greg Clayton authored
constructing itself and causing unexpected things to happen in LLDB. llvm-svn: 134598
-
Bill Wendling authored
llvm-svn: 134595
-
Greg Clayton authored
group class: OptionGroupVariable. It gets initialized with a boolean that indicates if the frame specific options are included so that this can be used in both the "frame variable" and "target variable" commands. Removed the global functionality from the "frame variable" command. Users should switch to using the "target variable" command. llvm-svn: 134594
-
Lang Hames authored
hasPredecessorHelper function allows predecessors to be cached to speed up repeated invocations. This fixes PR10186. X.isPredecessorOf(Y) now just calls Y.hasPredecessor(X) Y.hasPredecessor(X) calls Y.hasPredecessorHelper(X, Visited, Worklist) with empty Visited and Worklist sets (i.e. no caching over invocations). Y.hasPredecessorHelper(X, Visited, Worklist) caches search state in Visited and Worklist to speed up repeated calls. The Visited set is searched for X before going to the worklist to further search the DAG if necessary. llvm-svn: 134592
-
Argyrios Kyrtzidis authored
llvm-svn: 134591
-
Evan Cheng authored
Change some ARM subtarget features to be single bit yes/no in order to sink them down to MC layer. Also fix tests. llvm-svn: 134590
-
Nick Lewycky authored
llvm-svn: 134589
-
Argyrios Kyrtzidis authored
e.g. #define M(x) A x B M(##) // should expand to 'A ## B', not 'AB' llvm-svn: 134588
-
Argyrios Kyrtzidis authored
When a macro instantiation occurs, reserve a SLocEntry chunk with length the full length of the macro definition source. Set the spelling location of this chunk to point to the start of the macro definition and any tokens that are lexed directly from the macro definition will get a location from this chunk with the appropriate offset. For any tokens that come from argument expansion, '##' paste operator, etc. have their instantiation location point at the appropriate place in the instantiated macro definition (the argument identifier and the '##' token respectively). This improves macro instantiation diagnostics: Before: t.c:5:9: error: invalid operands to binary expression ('struct S' and 'int') int y = M(/); ^~~~ t.c:5:11: note: instantiated from: int y = M(/); ^ After: t.c:5:9: error: invalid operands to binary expression ('struct S' and 'int') int y = M(/); ^~~~ t.c:3:20: note: instantiated from: \#define M(op) (foo op 3); ~~~ ^ ~ t.c:5:11: note: instantiated from: int y = M(/); ^ The memory savings for a candidate boost library that abuses the preprocessor are: - 32% less SLocEntries (37M -> 25M) - 30% reduction in PCH file size (900M -> 635M) - 50% reduction in memory usage for the SLocEntry table (1.6G -> 800M) llvm-svn: 134587
-
Argyrios Kyrtzidis authored
It would add up relative (decomposed) offsets like in getDecomposedSpellingLocSlowCase, but while it makes sense to preserve the offset among lexed spelling locations, it doesn't make sense to add anything to the offset of the instantiation location. The instantiation location will be the same regardless of the relative offset in the tokens that were instantiated. This bug didn't actually affect anything because, currently, in practice we never create macro locations with relative offset greater than 0. llvm-svn: 134586
-
Argyrios Kyrtzidis authored
llvm-svn: 134585
-
Jim Ingham authored
llvm-svn: 134584
-
Nick Lewycky authored
expressions. llvm-svn: 134583
-
Greg Clayton authored
variables prior to running your binary. Zero filled sections now get section data correctly filled with zeroes when Target::ReadMemory reads from the object file section data. Added new option groups and option values for file lists. I still need to hook up all of the options to "target variable" to allow more complete introspection by file and shlib. Added the ability for ValueObjectVariable objects to be created with only the target as the execution context. This allows them to be read from the object files through Target::ReadMemory(...). Added a "virtual Module * GetModule()" function to the ValueObject class. By default it will look to the parent variable object and return its module. The module is needed when we have global variables that have file addresses (virtual addresses that are specific to module object files) and in turn allows global variables to be displayed prior to running. Removed all of the unused proxy object support that bit rotted in lldb_private::Value. Replaced a lot of places that used "FileSpec::Compare (lhs, rhs) == 0" code with the more efficient "FileSpec::Equal (lhs, rhs)". Improved logging in GDB remote plug-in. llvm-svn: 134579
-
Eli Friedman authored
llvm-svn: 134578
-
Bill Wendling authored
llvm-svn: 134577
-
Jim Grosbach authored
So users of a CGI don't have to look up the value directly from the original Record; just like the rest of the convenience values in the class. llvm-svn: 134576
-
Enrico Granata authored
llvm-svn: 134575
-
Enrico Granata authored
some changes to the help system code for better display of long help text -p and -r flags now also work for type format add llvm-svn: 134574
-
Lang Hames authored
llvm-svn: 134573
-
Devang Patel authored
llvm-svn: 134572
-
Johnny Chen authored
llvm-svn: 134571
-