- Jul 11, 2011
-
-
Evan Cheng authored
and MCSubtargetInfo. - Added methods to update subtarget features (used when targets automatically detect subtarget features or switch modes). - Teach X86Subtarget to update MCSubtargetInfo features bits since the MCSubtargetInfo layer can be shared with other modules. - These fixes .code 16 / .code 32 support since mode switch is updated in MCSubtargetInfo so MC code emitter can do the right thing. llvm-svn: 134884
-
Rafael Espindola authored
more than one use. Fixes PR10322. llvm-svn: 134883
-
-
- Jul 10, 2011
-
-
John McCall authored
llvm-svn: 134880
-
Francois Pichet authored
Solution is to set output stdout to binary mode to prevent newline conversion (\n => \r\n). llvm-svn: 134879
-
Greg Clayton authored
use lldb_private::Target::ReadMemory(...) to allow constant strings to be displayed in global variables prior on in between process execution. Centralized the variable declaration dumping into: bool Variable::DumpDeclaration (Stream *s, bool show_fullpaths, bool show_module); Fixed an issue if you used "target variable --regex <regex>" where the variable name would not be displayed, but the regular expression would. Fixed an issue when viewing global variables through "target variable" might not display correctly when doing DWARF in object files. llvm-svn: 134878
-
Joerg Sonnenberger authored
llvm-svn: 134877
-
Argyrios Kyrtzidis authored
llvm-svn: 134876
-
Argyrios Kyrtzidis authored
llvm-svn: 134875
-
NAKAMURA Takumi authored
llvm-svn: 134874
-
NAKAMURA Takumi authored
llvm-svn: 134873
-
Greg Clayton authored
emit an error to stderr when we see this issue. llvm-svn: 134872
-
NAKAMURA Takumi authored
tools/c-arcmt-test/Makefile: Add clangARCMigrate.a clangRewrite.a to USEDLIBS to satisfy linking on cygming. FIXME: tools/c-*.exe should be linked to clang.dll on cygming. llvm/Makefile.rules is not aware of bin/clang.dll. llvm-svn: 134871
-
Chris Lattner authored
llvm-svn: 134870
-
Francois Pichet authored
llvm-svn: 134869
-
Chandler Carruth authored
llvm-svn: 134868
-
Chandler Carruth authored
know if there is some problem with this destructor being virtual... llvm-svn: 134867
-
Chris Lattner authored
is called whenever a tag type is completed. We previously used that as the sign to layout the codegen representation for the tag type, which worked but meant that we laid out *every* completed type, whether it was used or not. Now we just lay out the type if we've already seen it somehow else. This means that we lay out types we've used but haven't seen a body for, but we don't lay out tons of stuff that noone cares about. llvm-svn: 134866
-
Chris Lattner authored
us to revert the other half of r134860. Now things are back to a relatively tidy state. llvm-svn: 134865
-
Chris Lattner authored
llvm-svn: 134864
-
Chris Lattner authored
caused us to skip layout out a function accurately. If so, flush the type cache for both the function and struct case to ensure that any pointers to the functions get recomputed. This is overconservative, but with this patch clang can build itself again. llvm-svn: 134863
-
Chris Lattner authored
type, even when in the struct case. This was one root issue that was causing type mismatches throughout the compiler. llvm-svn: 134862
-
Chris Lattner authored
conservative when converting a functiontype to IR when in a "pointer within a struct" context. This has the unfortunate sideeffect of compiling all function pointers inside of structs into "{}*" which, though correct, is ugly. This has the positive side effect of being correct, and it is pretty straight-forward to improve on this. llvm-svn: 134861
-
Chris Lattner authored
do an explicit bitcast to whatever ConvertType produces. This will go with the next patch. llvm-svn: 134860
-
NAKAMURA Takumi authored
llvm-svn: 134859
-
Jakub Staszak authored
llvm-svn: 134858
-
Jakub Staszak authored
- Add getCompl() method. llvm-svn: 134857
-
Jakub Staszak authored
llvm-svn: 134856
-
Chris Lattner authored
llvm-svn: 134855
-
Chris Lattner authored
llvm-svn: 134854
-
Chris Lattner authored
it is a predicate, not an action. Change the return type to be a bool, not the incomplete member. Enhace it to detect the recursive compilation case, allowing us to compile Eli's testcase on llvmdev: struct T { struct T (*p)(void); } t; into: %struct.T = type { {}* } @t = common global %struct.T zeroinitializer, align 8 llvm-svn: 134853
-
Rafael Espindola authored
PR10292 doesn't show that the loads don't alias the allocas. llvm-svn: 134852
-
NAKAMURA Takumi authored
llvm-svn: 134851
-
Rafael Espindola authored
llvm-svn: 134850
-
Argyrios Kyrtzidis authored
llvm-svn: 134849
-
Argyrios Kyrtzidis authored
llvm-svn: 134848
-
- Jul 09, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 134847
-
Greg Clayton authored
Made it so that you can create synthetic children of array value objects. This is for creating array members when the array index is out of range. This comes in handy when you have a structure definition like: struct Collection { uint32_t count; Item array[0]; }; "array" has 1 item, but many times in practice there are more items in "item_array". This allows you to do: (lldb) target variable g_collection.array[3] To implement this, the get child at index has been modified to have a "ignore_array_bounds" boolean that can be set to true. llvm-svn: 134846
-
Argyrios Kyrtzidis authored
in the first place. http://llvm.org/PR10312. llvm-svn: 134845
-
Argyrios Kyrtzidis authored
This is a new mode of migration, where we avoid modifying the original files but we emit temporary files instead. <path> will be used to keep migration process metadata. Currently the temporary files that are produced are put in the system's temp directory but we can put them in the <path> if is necessary. Also introduce new ARC migration functions in libclang whose only purpose, currently, is to accept <path> and provide pairs of original file/transformed file to map from the originals to the files after transformations are applied. Finally introduce the c-arcmt-test utility that exercises the new libclang functions, update arcmt-test, and add tests for the whole process. rdar://9735086. llvm-svn: 134844
-