- Nov 06, 2013
-
-
-
Howard Hinnant authored
Fix several tuple bugs that were exposed by clang's implementation of CWG 1402. This fixes http://llvm.org/bugs/show_bug.cgi?id=17798. llvm-svn: 194154
-
Vincent Lejeune authored
llvm-svn: 194153
-
Amara Emerson authored
We can change this back when NEON support is complete and ready to become enabled by default. llvm-svn: 194152
-
Marshall Clow authored
Fix an off-by-one error in basic_string::__grow_by, where it would incorrectly throw length_error (instead of bad_alloc) when attempting to resize the string to 'max_size()'. Add tests for resizing to max_size +/-1 llvm-svn: 194151
-
Alexander Potapenko authored
The top stack frames for operator new and operator delete are different on Linux and Darwin. llvm-svn: 194150
-
Simon Atanasyan authored
llvm-svn: 194149
-
Richard Sandiford authored
I don't have a standalone testcase for this, but it should allow r193676 to be reapplied. llvm-svn: 194148
-
Benjamin Kramer authored
llvm-svn: 194147
-
Peter Zotov authored
llvm-svn: 194146
-
Vladimir Medic authored
Implement gpword directive for mips, test case added. Stype changes using clang-format are also included. llvm-svn: 194145
-
Peter Zotov authored
llvm-svn: 194144
-
Peter Zotov authored
Original patch by Chris Wailes llvm-svn: 194143
-
Peter Zotov authored
Presence of using namespace llvm depended on several #ifdef's, and this broke the build on mswin32. llvm-svn: 194142
-
Peter Zotov authored
Also, properly name the functions. llvm-svn: 194141
-
Peter Zotov authored
Original patch by Chris Wailes llvm-svn: 194140
-
Peter Zotov authored
Original patch by Chris Wailes llvm-svn: 194139
-
Peter Zotov authored
llvm-svn: 194138
-
Peter Zotov authored
Original patch by Chris Wailes llvm-svn: 194137
-
Peter Zotov authored
llvm-svn: 194136
-
Peter Zotov authored
Original patch by Chris Wailes llvm-svn: 194135
-
Argyrios Kyrtzidis authored
- Use the 'libclang.exports' file. - Pass -Wl,-current_version - Set install name to "@rpath" llvm-svn: 194134
-
Rui Ueyama authored
/section command line option is to set/reset attributes of the Characteristics field in the section header. You can set non-default values with this option. You can make .data section executable with this, for example. This patch implements the parser of the command line option. The code to use the parsed values will be committed in a separate patch. llvm-svn: 194133
-
Timur Iskhodzhanov authored
llvm-svn: 194132
-
Rui Ueyama authored
I'm not sure if it is really an alias for /nodefaultlib, but I can say that they are at least similar. Making it an alias would be better than ignoring it. llvm-svn: 194131
-
Rui Ueyama authored
llvm-svn: 194130
-
Rui Ueyama authored
/defaultlib options can be specified implicitly via the .drectve section, and it's pretty common that multiple object files add the same library, such as user32.lib, to the input. We shouldn't add the same library multiple times. llvm-svn: 194129
-
Rui Ueyama authored
llvm-svn: 194128
-
Rui Ueyama authored
We wrapped the linker internal file with a virtual archive file, so that the linker internal file was linked only when it's actually used. This was to avoid __ImageBase being included to the resulting executable. __ImageBase used to occupy four bytes when emitted to executable. And then it turned out that the implementation of __ImageBase was wrong -- it shouldn't have been a regular atom but an absolute atom. Absolute atoms point to some memory location, but they don't occupy disk space themselves. So it wouldn't increase executable size (except the symbol table.) That means that it's OK to link the linker internal file unconditionally. So this patch does that, removing the wrapper archive file. Doing this simplifies the code. llvm-svn: 194127
-
Reed Kotler authored
llvm-svn: 194126
-
Alexey Samsonov authored
llvm-svn: 194125
-
Jiangning Liu authored
llvm-svn: 194124
-
Jiangning Liu authored
llvm-svn: 194123
-
Jason Molenda authored
bit from the method names. <rdar://problem/15314369> llvm-svn: 194122
-
Greg Clayton authored
Improve lldb_private::Address to detect when section was deleted and not return bogus values for GetLoadAddress() and GetFileAddress(). llvm-svn: 194120
-
Jiangning Liu authored
llvm-svn: 194119
-
Jiangning Liu authored
llvm-svn: 194118
-
Richard Smith authored
earlier 'non-constant' diagnostic with a later one if the earlier one was from a side-effect we thought we could evaluate past. llvm-svn: 194117
-
Andrew Trick authored
Patch by Michele Scandale! Rewrite of the functions used to compute the backedge taken count of a loop on LT and GT comparisons. I decided to split the handling of LT and GT cases becasue the trick "a > b == -a < -b" in some cases prevents the trip count computation due to the multiplication by -1 on the two operands of the comparison. This issue comes from the conservative computation of value range of SCEVs: taking the negative SCEV of an expression that have a small positive range (e.g. [0,31]), we would have a SCEV with a fullset as value range. Indeed, in the new rewritten function I tried to better handle the maximum backedge taken count computation when MAX/MIN expression are used to handle the cases where no entry guard is found. Some test have been modified in order to check the new value correctly (I manually check them and reasoning on possible overflow the new values seem correct). I finally added a new test case related to the multiplication by -1 issue on GT comparisons. llvm-svn: 194116
-
Warren Hunt authored
This patch adds the same behavior to clang. Differential Revision: http://llvm-reviews.chandlerc.com/D2103 llvm-svn: 194115
-