- Jan 01, 2013
-
-
Chandler Carruth authored
Implement the old API in terms of the new one. This simplifies the implementation on Windows which can now re-use the self_process's once initialization. llvm-svn: 171330
-
- Dec 31, 2012
-
-
Rafael Espindola authored
Patch by Brad Smith. llvm-svn: 171329
-
Chandler Carruth authored
a union. These don't actually work for by-value function arguments, and MSVC warns if they exist even while (we hope) it aligns the argument correctly due to the other union member. This means MSVC will miss out on optimizations based on the alignment of the buffer, but really, there aren't that many for x86 and MSVC is likely not doing a great job of optimizing LLVM and Clang anyways. llvm-svn: 171328
-
Chandler Carruth authored
llvm-svn: 171327
-
Nuno Lopes authored
The new code is an improved copy of the code I deleted from Analysis/Loads.cpp. One less compute-constant-gep-offset implementation. yay :) llvm-svn: 171326
-
Nuno Lopes authored
recommit r171298 (add support for PHI nodes to ObjectSizeOffsetVisitor). Hopefully with bugs corrected now. llvm-svn: 171325
-
Howard Hinnant authored
llvm-svn: 171321
-
Michael J. Spencer authored
This adds AlignedCharArray<Alignment, Size>. A templated struct that contains a member named buffer of type char[Size] that is aligned to Alignment. llvm-svn: 171319
-
Benjamin Kramer authored
This reverts r171298. Breaks clang selfhost. llvm-svn: 171318
-
Michael J. Spencer authored
You can now configure from the command line using: -DLIBCXX_CXX_ABI=libsupc++ -DLIBCXX_LIBSUPCXX_INCLUDE_PATHS="path;path Also documents how to build on Linux. llvm-svn: 171316
-
Jakub Staszak authored
Also add an assert to avoid confusion in the code where is known that C1 <= C2. llvm-svn: 171310
-
Rafael Espindola authored
Fixes PR14723. Patch by Sami Liedes! llvm-svn: 171309
-
Nuno Lopes authored
llvm-svn: 171308
-
Nuno Lopes authored
llvm-svn: 171307
-
Nuno Lopes authored
llvm-svn: 171306
-
Rafael Espindola authored
llvm-svn: 171305
-
Rafael Espindola authored
llvm-svn: 171304
-
Nuno Lopes authored
llvm-svn: 171303
-
Rafael Espindola authored
llvm-svn: 171302
-
Rafael Espindola authored
llvm-svn: 171301
-
Rafael Espindola authored
llvm-svn: 171300
-
Rafael Espindola authored
llvm-svn: 171299
-
Nuno Lopes authored
llvm-svn: 171298
-
Bill Wendling authored
llvm-svn: 171295
-
Bill Wendling authored
llvm-svn: 171294
-
Sean Silva authored
I actually made a think-o when writing this FIXME since I wrote LangRef but it should actually have said WritingAnLLVMBackend. llvm-svn: 171293
-
Chandler Carruth authored
Fix a truly odd namespace qualifier that was flat out wrong in the process. The fully qualified namespace would have been llvm::sys::TimeValue, llvm::TimeValue makes no sense. llvm-svn: 171292
-
Chandler Carruth authored
llvm-svn: 171291
-
Chandler Carruth authored
llvm-svn: 171290
-
Chandler Carruth authored
The coding style used here is not LLVM's style because this is modeled after a Boost interface and thus done in the style of a candidate C++ standard library interface. I'll probably end up proposing it as a standard C++ library if it proves to be reasonably portable and useful. This is just the most basic parts of the interface -- getting the process ID out of it. However, it helps sketch out some of the boiler plate such as the base class, derived class, shared code, and static factory function. It also introduces a unittest so that I can incrementally ensure this stuff works. However, I've not even compiled this code for Windows yet. I'll try to fix any Windows fallout from the bots, and if I can't fix it I'll revert and get someone on Windows to help out. There isn't a lot more that is mandatory, so soon I'll switch to just stubbing out the Windows side and get Michael Spencer to help with implementation as he can test it directly. llvm-svn: 171289
-
Chandler Carruth authored
LLVM libraries. Also, clean up the doxygen and formatting of the existing interfaces. With this change I'm calling the existing interface "legacy" because I'd like to replace it with something much better. My end goal is to expose a common set of interfaces for inspecting various properties of a process, and implementations to expose those both for the current process and for child processes. This will also expose more rich interfaces for spawning and controling a subprocess, notably to use system calls like wait3 and wait4 where available and gather detailed resource usage stats about the subprocess. My plan (discussed with Michael Spencer on IRC) is to base this loosely around the proposed Boost.Process interface, but to implement a relatively small subset of that functionality based around the needs of LLVM, Clang, the Clang driver, etc. llvm-svn: 171285
-
Chris Lattner authored
promoting a store in a loop. This was noticed when working on PR14753, but isn't directly related. llvm-svn: 171281
-
Chris Lattner authored
PR14753 llvm-svn: 171279
-
Will Dietz authored
Fixed version of r171273. llvm-svn: 171278
-
Chandler Carruth authored
Original commit message: [ubsan] Don't suggest casting to unsigned for unsigned unary minus overflow. llvm-svn: 171277
-
Chandler Carruth authored
inlined. Patch by Saleem Abdulrasool, reviewed by Michael Spencer and Richard Smith. llvm-svn: 171276
-
Chandler Carruth authored
phabricator code review site easier with libc++. llvm-svn: 171275
-
Nico Weber authored
llvm-svn: 171274
-
Will Dietz authored
llvm-svn: 171273
-
Jakub Staszak authored
llvm-svn: 171272
-