- Nov 06, 2013
-
-
Rui Ueyama authored
These fields are for /align option. Section alignment can be set per-section basis with /section option too. In order to avoid name conflicts, rename the existing identifiers to become more specific. No functionality change. llvm-svn: 194160
-
Sean Callanan authored
iterators for LLDB's container data structures. Iterable abstracts over the backing data structure, ignoring keys for maps for example. It also provides locking as a service so that the code for (ThreadSP thread_sp : process->Threads()) { // ... use thread_sp } takes the appropriate locks once, without having to do anything else. The salient advantages of this system are: - Much simpler and idiomatic loop code - Lock once instead of each time an element is fetched - Less boilerplate to produce the iterators The intent is that Iterable will replace Get...AtIndex in most places, and that ForEach(), which solves the same problem in a less-idiomatic way, be phased out in favor of this approach. I've added Iterables to ThreadList, TypeList, and Process (which is really just forwarding to ThreadList). llvm-svn: 194159
-
Rafael Espindola authored
On the microsoft ABI clang is producing one weak_odr and one linkonce_odr destructor, which is reasonable since only one is required. The fix is simply to move the assert past the special case treatment of linkonce_odr. llvm-svn: 194158
-
DeLesley Hutchins authored
test case. llvm-svn: 194157
-
Aaron Ballman authored
llvm-svn: 194156
-
-
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
-