- Sep 24, 2013
-
-
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
-
Ariel J. Bernal authored
This patch also fixes the case where a compilation database is autodetected from source but the file itself cannot be found in the compilation database, it then ignores the compilation database and transforms the file with c++11 support. llvm-svn: 191213
-
Ron Ofir authored
Summary: This patch changes WritePECOFF to calculate the value of the SizeOfHeaders PE header field instead of just using 512. Reviewers: rui314, ruiu Reviewed By: ruiu CC: llvm-commits, ruiu Differential Revision: http://llvm-reviews.chandlerc.com/D1708 llvm-svn: 191212
-
John Thompson authored
llvm-svn: 191211
-
Richard Mitton authored
The size of common symbols is now tracked correctly, so they can be listed in the arange section without needing knowledge of other following symbols. .comm (and .lcomm) do not indicate to the system assembler any particular section to use, so we have to treat them as having no section. Test case update to account for this. llvm-svn: 191210
-
David Blaikie authored
This is a small step that may enable some simplifications in producer (DWARFContext) and consumer (DWARFCompileUnit and other places) by making a more complete abstraction around the data and relocations for a section. Small initial steps could include simple changes such as passing the pair to DWARFCompileUnit's ctor rather than passing the data and relocs separately. I don't intend to pursue any such changes immediately, however. The motivation for doing this now is that type unit dumping will need to deal with these data+reloc pairs moreso than the existing dumping support has needed to associate the data as type unit sections are named the same (debug_types) and comdat group folded. So to implement dumping and reloc handling we'll need a mapping of section->data+relocs. llvm-svn: 191209
-
Ben Langmuir authored
These should have been included with r190864, but I forgot to use svn add. llvm-svn: 191208
-