- Oct 30, 2014
-
-
Peter Zotov authored
This commit updates the OCaml bindings and tests to use ocamlfind. The bindings are migrated in order to use ctypes, which are now required for MCJIT-backed Llvm_executionengine. The tests are migrated in order to use OUnit and to verify that the distributed META.llvm allows to build working executables. Every OCaml toolchain invocation is now chained through ocamlfind, which (in theory) allows to cross-compile the OCaml bindings. The configure script now checks for ctypes (>= 0.2.3) and OUnit (>= 2). The code depending on these libraries will be added later. The configure script does not check the package versions in order to keep changes less invasive. Additionally, OCaml bindings will now be automatically enabled if ocamlfind is detected on the system, rather than ocamlc, as it was before. llvm-svn: 220899
-
Peter Zotov authored
llvm-svn: 220898
-
Craig Topper authored
llvm-svn: 220897
-
Craig Topper authored
Remove some duplicate functions from the Parser class. Identical functions already exist in the clang namespace from Sema/Ownership.h. llvm-svn: 220896
-
NAKAMURA Takumi authored
clangApplyReplacements.lib(ApplyReplacements.cpp.obj) : error LNK2001: unresolved external symbol "private: void __thiscall clang::APValue::DestroyDataAndMakeUninit(void)" (?DestroyDataAndMakeUninit@APValue@clang@@AAEXXZ) They are not seen in mingw dll build. Investigating. llvm-svn: 220895
-
Enrico Granata authored
Start adopting the StringPrinter API. The StringPrinter API is the new blessed way of printing strings that supports escaping non-printables, and has better handling of different UTF encodings llvm-svn: 220894
-
NAKAMURA Takumi authored
llvm-svn: 220893
-
Jason Molenda authored
llvm-svn: 220892
-
Enrico Granata authored
llvm-svn: 220891
-
NAKAMURA Takumi authored
llvm-svn: 220890
-
NAKAMURA Takumi authored
llvm-svn: 220889
-
NAKAMURA Takumi authored
llvm-svn: 220888
-
Rafael Espindola authored
llvm-svn: 220887
-
Rafael Espindola authored
llvm-svn: 220886
-
Rafael Espindola authored
The also-emit-llvm option only supported getting the IR before optimizations. This patch replaces it with a more generic save-temps option that saves the IR both before and after optimizations. llvm-svn: 220885
-
NAKAMURA Takumi authored
llvm-svn: 220884
-
Daniel Jasper authored
llvm-svn: 220883
-
Eric Fiselier authored
libcxxrt now implements bad_array_new_length and need to gaurd against multiple defines. Patch from Baptiste Daroussin. llvm-svn: 220882
-
Enrico Granata authored
Fix the NSPathStore2 data formatter to actually handle the explicit length stored inside the object. The meat of this commit, however, is a nice little API for easily adding new __lldb_autogen_ helper types to an AST context llvm-svn: 220881
-
NAKAMURA Takumi authored
llvm-svn: 220880
-
- Oct 29, 2014
-
-
Hans Wennborg authored
Format.h doesn't use stack. llvm-svn: 220879
-
Daniel Jasper authored
Hopefully fixing windows builds. llvm-svn: 220878
-
Hans Wennborg authored
llvm-svn: 220877
-
Tobias Grosser authored
Originally we have needed this code to map the isl_id of an array to its base pointer. However, as now the isl_id contains a reference to the array itself we obtain the base pointer from this isl_id and we do not need to add this information to the IDToValue map. llvm-svn: 220876
-
Kevin Enderby authored
llvm-svn: 220875
-
Hans Wennborg authored
check the context ourselves when selectively allowing late-added dll attributes on unused free functions and variables (PR20746) llvm-svn: 220874
-
Yi Jiang authored
Test Case for r220872:Do not simplifyLatch for loops where hoisting increments couldresult in extra live range interferance llvm-svn: 220873
-
Yi Jiang authored
Do not simplifyLatch for loops where hoisting increments couldresult in extra live range interferance llvm-svn: 220872
-
Ed Maste authored
llvm.org/pr21325 llvm-svn: 220871
-
Tobias Grosser authored
llvm-svn: 220870
-
Aaron Ballman authored
llvm-svn: 220869
-
Daniel Jasper authored
llvm-svn: 220868
-
Daniel Jasper authored
This moves classes for storing and applying replacements to separate files. These classes specifically are used by clang-format which doesn't have any other dependencies on clangAST. Thereby, the size of clang-format's binary can be cut roughly in half and its build time sped up. llvm-svn: 220867
-
Jan Wen Voung authored
Summary: This helps llvm-objdump -r to print out the symbol name along with the relocation type on x86. Adjust existing tests from checking for "Unknown" to check for the symbol now. Test Plan: Adjusted test/Object tests. Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5987 llvm-svn: 220866
-
Alexander Kornienko authored
Summary: Enable only compiler diagnostics and safe static analyzer checks by default. Let the defaults be conservative and safe for an average project. Reviewers: djasper Reviewed By: djasper Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D6027 llvm-svn: 220865
-
Alexander Kornienko authored
llvm-svn: 220863
-
Alexander Kornienko authored
llvm-svn: 220862
-
Saleem Abdulrasool authored
The value names may change in different builds, use pattern based tests. llvm-svn: 220861
-
Daniel Jasper authored
Previously a regex-literal containing "/*" would through clang-format off, e.g.: var regex = /\/*$/; Would lead to none of the following code to be formatted. llvm-svn: 220860
-
Saleem Abdulrasool authored
The Windows NT SDK uses __readfsdword and declares it as a compiler provided builtin (#pragma intrinsic(__readfsword). Because intrin.h is not referenced by winnt.h, it is not possible to provide an out-of-line definition for the intrinsic. Provide a proper compiler builtin definition. llvm-svn: 220859
-