- Jul 11, 2011
-
-
Fariborz Jahanian authored
require destruction and there is possibility of that without construction. Thanks Johnm for review and suggestions offline. // rdar://9535237. llvm-svn: 134906
-
Shantonu Sen authored
The enum names as well as order (i.e. value) had skewed, which means that consumers of the tablegen-ed table would see different values than intended. Make both files have a superset of enums, and add classification as needed for numMCOperands. Reviewed by Owen Anderson llvm-svn: 134905
-
Chandler Carruth authored
When two different types has the same text representation in the same diagnostic message, print an a.k.a. after the type if the a.k.a. gives extra information about the type. class versa_string; typedef versa_string string; namespace std {template <typename T> class vector;} using std::vector; void f(vector<string> v); namespace std { class basic_string; typedef basic_string string; template <typename T> class vector {}; void g() { vector<string> v; f(v); } } Old message: ---------------- test.cc:15:3: error: no matching function for call to 'f' f(&v); ^ test.cc:7:6: note: candidate function not viable: no known conversion from 'vector<string>' to 'vector<string>' for 1st argument void f(vector<string> v); ^ 1 error generated. New message: --------------- test.cc:15:3: error: no matching function for call to 'f' f(v); ^ test.cc:7:6: note: candidate function not viable: no known conversion from 'vector<string>' (aka 'std::vector<std::basic_string>') to 'vector<string>' (aka 'std::vector<versa_string>') for 1st argument void f(vector<string> v); ^ 1 error generated. llvm-svn: 134904
-
Jim Grosbach authored
The 'CS' is not a predication suffix in this case. llvm-svn: 134903
-
Jim Grosbach authored
Print shifted immediate values directly rather than as a payload+shifter value pair. This makes for more readable output assembly code, simplifies the instruction printer, and is consistent with how Thumb immediates are displayed. llvm-svn: 134902
-
Garrison Venn authored
type system. However most of these modifications were due to IRBuilder (IRBuilderBase), not having been modified to NOT return such const qualified free types. If IRBuilder does not change, as can also be seen in its instruction creation methods, to use const free types, it may be useful to have ExceptionDemo drop IRBuilder usage. Modifying builder.getInt32Ty() to llvm::Type::getInt32Ty(builder.getContext()) is pretty ugly. llvm-svn: 134901
-
NAKAMURA Takumi authored
test/CodeGen/PowerPC/vector.ll: Tweak redirection >%t >%t to >%t >>%t. See also r134814 (test/CodeGen/X86/vector.ll). llvm-svn: 134900
-
NAKAMURA Takumi authored
llvm-svn: 134899
-
NAKAMURA Takumi authored
llvm-svn: 134898
-
Douglas Gregor authored
functions. Fixes <rdar://problem/9731999>. llvm-svn: 134897
-
NAKAMURA Takumi authored
llvm-svn: 134896
-
Jay Foad authored
llvm-svn: 134893
-
Abramo Bagnara authored
llvm-svn: 134892
-
Abramo Bagnara authored
llvm-svn: 134891
-
John McCall authored
- an off-by-one error in emission of irregular array limits for InitListExprs - use an EH partial-destruction cleanup within the normal array-destruction cleanup - get the branch destinations right for the empty check Also some refactoring which unfortunately obscures these changes. llvm-svn: 134890
-
Cameron Zwarich authored
llvm-svn: 134889
-
Jay Foad authored
llvm-svn: 134888
-
Jay Foad authored
llvm-svn: 134887
-
Greg Clayton authored
with the "target modules lookup --address <addr>" command. The variable ID's, names, types, location for the address, and declaration is displayed. This can really help with crash logs since we get, on MacOSX at least, the registers for the thread that crashed so it is often possible to figure out some of the variable contents. llvm-svn: 134886
-
Evan Cheng authored
llvm-svn: 134885
-
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
-