- Nov 06, 2013
-
-
Nick Kledzik authored
llvm-svn: 194173
-
Nick Kledzik authored
llvm-svn: 194172
-
Nick Kledzik authored
llvm-svn: 194171
-
Yaron Keren authored
llvm-svn: 194170
-
Nick Kledzik authored
llvm-svn: 194169
-
Daniel Dunbar authored
llvm-svn: 194168
-
Nick Kledzik authored
This patch adds support for converting normalized mach-o to and from binary mach-o. It also changes WriterMachO (which previously directly wrote a mach-o binary given a set of Atoms) to instead do it in two steps. The first step uses normalizedFromAtoms() to convert Atoms to normalized mach-o, and the second step uses writeBinary() which to generate the mach-o binary file. llvm-svn: 194167
-
Nick Kledzik authored
llvm-svn: 194166
-
Alp Toker authored
CMake-generated Makefiles include this cl flag which can be safely ignored until we get PDB server support. llvm-svn: 194165
-
Peter Collingbourne authored
These allow clients to retrieve persistent AST objects (ASTUnits) which can be used in an ad-hoc manner after parsing. To accommodate this change, the code for processing a CompilerInvocation using a FrontendAction has been factored out to FrontendActionFactory, and a new base class, ToolAction, has been introduced, allowing the tool to do arbitrary things with each CompilerInvocation. This change was necessary because ASTUnit does not use the FrontendAction interface directly. This change also causes the FileManager in ClangTool to use shared ownership. This will become necessary because ASTUnit takes shared ownership of FileManager (ClangTool's FileManager is currently unused by ASTUnit; this is a FIXME). As shown in the tests, any client of ToolInvocation will need to be modified to use shared ownership for FileManager. Differential Revision: http://llvm-reviews.chandlerc.com/D2097 llvm-svn: 194164
-
Sean Callanan authored
llvm-svn: 194163
-
Richard Smith authored
llvm-svn: 194162
-
Richard Smith authored
follow when building a class member access expression. Based on a patch by Rahul Jain! llvm-svn: 194161
-
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
-