- Sep 24, 2013
-
-
David Blaikie authored
The order in which the comdat type unit sections appear in the output is unspecified and may vary from machine to machine. llvm-svn: 191253
-
Bill Wendling authored
The recursive nature of the address selection code can cause the stack to explode if there is a long chain of GEPs. Convert the recursive bit into a iterative method to avoid this. <rdar://problem/12445434> llvm-svn: 191252
-
Rafael Espindola authored
gcc doesn't support "gcc -m sse" and this was not tested in clang and only used for link argument on darwin, so this was very likely just a bug. llvm-svn: 191251
-
Hans Wennborg authored
This solves two problems: 1) MSBuild will not flag the build as unsuccessful just because we print an error in the output, since "error(clang):" doesn't seem to match the regex it's using. 2) It becomes more clear that the diagnostic is coming from clang as supposed to cl.exe. Differential Revision: http://llvm-reviews.chandlerc.com/D1735 llvm-svn: 191250
-
Rafael Espindola authored
This doesn't change a lot since clang still thinks it knows all of the -f*, -m* and -W* options for example. Other than the options clang explicitly claims to know, this fixes pr9701. llvm-svn: 191249
-
Eli Friedman authored
This fix makes our headers consistent with gcc. PR17312. llvm-svn: 191248
-
Rui Ueyama authored
We used to support both Windows and Unix style command line options. In Windows style, an option and its value are separated by ":" (colon). In Unix, separator is a space. Accepting both styles were convenient, but we can no longer allow Unix style because I found that can be ambiguous. For example, /nodefaultlib option takes an optional argument. In Windows style it's going to be something like "/nodefaultlib:foo". There's no ambiguity what "foo" means. However, if the option is "/nodefaultlib foo", "foo" can be interpreted either an optional argument for "/nodefaultlib" or an input file "foo.obj". We should just stop accepting the non-standard command line style. llvm-svn: 191247
-
Fariborz Jahanian authored
llvm-svn: 191246
-
Rafael Espindola authored
llvm-svn: 191245
-
David Blaikie authored
llvm-svn: 191244
-
Eli Friedman authored
While I'm here, also fix the alignment computation for the whole family of intrinsics. PR17298. llvm-svn: 191243
-
Rafael Espindola authored
This is not to say this is the desired behavior, but it makes sure we notice if it changes. llvm-svn: 191242
-
Reid Kleckner authored
The underlying type of all plain enums in MSVC is 'int', even if the enumerator contains large 32-bit unsigned values or values greater than UINT_MAX. The only way to get a large or unsigned enum type is to request it explicitly with the C++11 strong enum types feature. However, since LLVM isn't C++11 yet, I had to add a conditional LLVM_ENUM_INT_TYPE to Compiler.h to control its usage. The motivating true positive for this change is compiling PointerIntPair with MSVC for win64. The PointerIntMask value is supposed to be pointer sized value of all ones with some low zeros. Instead, it's truncated to 32-bits! We are only saved later because it is sign extended back in the AND with int64_t, and we happen to want all ones. This silences lots of -Wmicrosoft warnings during a clang self-host targeting Windows. llvm-svn: 191241
-
Fariborz Jahanian authored
use Cocoa's naming convention for properties of ObjC object type. // rdar://15045005 llvm-svn: 191240
-
Eric Christopher authored
checking patch until we get full dumping support. llvm-svn: 191239
-
David Blaikie authored
llvm-svn: 191238
-
Richard Smith authored
llvm-svn: 191237
-
Eric Christopher authored
llvm-svn: 191236
-
Eric Christopher authored
llvm-svn: 191235
-
David Blaikie authored
llvm-svn: 191234
-
David Blaikie authored
llvm-svn: 191233
-
Rui Ueyama authored
These options are to enable DLL delay loading. If enabled, DLL is loaded at run time by a helper routine when a function in the DLL is actually called for the first time, instead of making the Windows loader to load all DLLs at startup time. This should shorten startup delay if an executable have many imported symbols. The linker needs to create a "delayed import table" and link delayimp.lib in which helper functions are defined to support the feature. For now, we just ignore the options, so that the linker does not complain when it sees these options. We want to support them in the future. llvm-svn: 191232
-
Reed Kotler authored
This mask is purely for debugging and testing. llvm-svn: 191231
-
rdar://problem/14701270Han Ming Ong authored
When logged in as root, just launch debugserver regularly. llvm-svn: 191230
-
- Sep 23, 2013
-
-
Rui Ueyama authored
llvm-svn: 191229
-
Rui Ueyama authored
llvm-svn: 191228
-
Rui Ueyama authored
llvm-svn: 191227
-
Bill Wendling authored
llvm-svn: 191226
-
Eric Christopher authored
a) Make sure we are emitting the correct section in our section labels when we begin the module. b) Make sure we are emitting the correct pubtypes section in the presence of gnu pubtypes. c) For C++ struct, union, class, and enumeration types are default external. llvm-svn: 191225
-
Rui Ueyama authored
llvm-svn: 191224
-
Rui Ueyama authored
llvm-svn: 191223
-
Fariborz Jahanian authored
least one hex enumerator, all others are also hex enumerator (0 enumerator is excepted). // rdar://15044304 llvm-svn: 191222
-
Rui Ueyama authored
llvm-svn: 191221
-
Ron Ofir authored
Summary: This patch changes WriterPECOFF to actually write down the address instead of ignoring it. Also, it changes the order of adding the BaseReloc chunk as otherwise the address wasn't set yet. I think a better way of doing it would be to change DataDirectoryAtom to create a Reference instead of using a number, and to change IdataPass accordingly, but I'm not sure how to do that. Reviewers: ruiu Reviewed By: ruiu CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1743 llvm-svn: 191220
-
Peter Collingbourne authored
llvm-svn: 191219
-
Rui Ueyama authored
llvm-svn: 191218
-
Rui Ueyama authored
llvm-svn: 191217
-
Rafael Espindola authored
Thanks to Hal Finkel for noticing it. llvm-svn: 191216
-
Ariel J. Bernal authored
Fixed test that was previously failing due to concurrency. llvm-svn: 191215
-
Kay Tiong Khoo authored
llvm-svn: 191214
-