- Jun 05, 2013
-
-
David Blaikie authored
In an effort to make -flimit-debug-info more consistent I over-shot the mark & made types used via typedefs never produce definitions in the debug info (even if the type was used in a way that would require a definition). The fix for this is to do exactly what I was hoping to do at some point - plumb the declaration/definition choice through the various layers of "CreateType" in CGDebugInfo. In this way we can produce declarations whenever they are sufficient & definitions otherwise - including when qualifiers are used, for example (discovered in PR14467). This may not be complete (there may be other types/situations where we need to propagate the "declaration/definition" choice) but it lays the basic foundation which we can enhance in future iterations. llvm-svn: 183296
-
Rafael Espindola authored
Patch by Matthew Dempsky. llvm-svn: 183295
-
Tom Stellard authored
Reviewed-by: vljn at ovi.com llvm-svn: 183294
-
Rafael Espindola authored
llvm-svn: 183293
-
Jakob Stoklund Olesen authored
This could actually be implemented with the LLVM IR va_arg instruction, but it doesn't seem to offer any advantages over accessing the va_list pointer directly. Using the va_list pointer directly makes it possible to perform type coercion directly from the argument array, and the va_list updates are exposed to the optimizers. llvm-svn: 183292
-
Jakob Stoklund Olesen authored
Type coercion for argument passing is equivalent to storing the source type and loading the destination type from the same pointer. On big-endian targets, this means that the high bits of integers are preserved. This patch fixes the CoerceIntOrPtrToIntOrPtr() function on big-endian targets by inserting the required shift instructions to preserve the high bits instead of the low bits. This is used by SparcABIInfo when passing small structs in the high bits of registers. llvm-svn: 183291
-
Jakob Stoklund Olesen authored
The 'inreg' attribute can also be applied to function return values in LLVM IR. The SPARC v9 backend is using the flag when returning structs containing 32-bit floats. llvm-svn: 183290
-
Jason Molenda authored
Print the lldb version at the top of the output. llvm-svn: 183289
-
Rafael Espindola authored
Should fix the MCJIT tests on PPC. llvm-svn: 183288
-
Rafael Espindola authored
It will be used for ELF dumping too. llvm-svn: 183287
-
Rafael Espindola authored
This reverts commit r183279. CodeGen/R600/texture-input-merge.ll was failing. llvm-svn: 183286
-
Rafael Espindola authored
llvm-svn: 183285
-
Rafael Espindola authored
In ELF (as in MachO), not all relocations point to symbols. Represent this properly by using a symbol_iterator instead of a SymbolRef. Update llvm-readobj ELF's dumper to handle relocatios without symbols. llvm-svn: 183284
-
Richard Smith authored
handle temporaries which have been lifetime-extended to static storage duration within constant expressions. This correctly handles nested lifetime extension (through reference members of aggregates in aggregate initializers) but non-constant-expression emission hasn't yet been updated to do the same. llvm-svn: 183283
-
Jason Molenda authored
the link register save location being in the link register - in which case we should iterate down the stack, not recursively try to find the lr in the current frame over and over. <rdar://problem/13932954> llvm-svn: 183282
-
Andrew Kaylor authored
llvm-svn: 183281
-
Sean Silva authored
LLVM_YAML_STRONG_TYPEDEF() is the correct macro to perform this function. llvm-svn: 183280
-
Vincent Lejeune authored
llvm-svn: 183279
-
Vincent Lejeune authored
llvm-svn: 183278
-
Jim Ingham authored
<rdar://problem/14054840> llvm-svn: 183277
-
rdar://problem/13239809Enrico Granata authored
Two things: 1) fixing a bug where memory read was not clearing the m_force flag after it was passed, so that subsequent memory reads would not need to be forced even if over boundary 2) adding a setting target.max-memory-read-size that you can set instead of the hardcoded 1024 bytes limit we had before llvm-svn: 183276
-
Evan Cheng authored
llvm-svn: 183275
-
Edwin Vane authored
Performance timers captured in each transform for all files they process are now collected and arranged per source file in preparation for writing to disk. This revision is the last piece of the initial implementation of performance timer capturing. llvm-svn: 183274
-
Arnold Schwaighofer authored
llvm-svn: 183273
-
rdar://problem/12582328Enrico Granata authored
If you want to define a formatter for "array of Foo of any size", ordinarily you would say -x "Foo \[[0-9]+\]" this checkin allows you to instead say "Foo[]" (or "Foo []") and LLDB will automatically create the regular expression and add the -x flag on your behalf llvm-svn: 183272
-
Arnold Schwaighofer authored
llvm-svn: 183271
-
Arnold Schwaighofer authored
llvm-svn: 183270
-
Arnold Schwaighofer authored
llvm-svn: 183269
-
Arnold Schwaighofer authored
llvm-svn: 183268
-
Arnold Schwaighofer authored
llvm-svn: 183267
-
Arnold Schwaighofer authored
Add more InstRW mappings. llvm-svn: 183266
-
Arnold Schwaighofer authored
llvm-svn: 183265
-
Arnold Schwaighofer authored
llvm-svn: 183264
-
Arnold Schwaighofer authored
llvm-svn: 183263
-
Arnold Schwaighofer authored
llvm-svn: 183262
-
Arnold Schwaighofer authored
llvm-svn: 183261
-
Arnold Schwaighofer authored
llvm-svn: 183260
-
Arnold Schwaighofer authored
llvm-svn: 183259
-
Arnold Schwaighofer authored
llvm-svn: 183258
-
Arnold Schwaighofer authored
Add some generic SchedWrites and assign resources for Swift and Cortex A9. llvm-svn: 183257
-