- Jun 15, 2013
-
-
Rafael Espindola authored
Archive files (.a) can have a symbol table indicating which object files in them define which symbols. The purpose of this symbol table is to speed up linking by allowing the linker the read only the .o files it is actually going to use instead of having to parse every object's symbol table. LLVM's archive library currently supports a LLVM specific format for such table. It is hard to see any value in that now that llvm-ld is gone: * System linkers don't use it: GNU ar uses the same plugin as the linker to create archive files with a regular index. The OS X ar creates no symbol table for IL files, I assume the linker just parses all IL files. * It doesn't interact well with archives having both IL and native objects. * We probably don't want to be responsible for yet another archive format variant. This patch then: * Removes support for creating and reading such index from lib/Archive. * Remove llvm-ranlib, since there is nothing left for it to do. We should in the future add support for regular indexes to llvm-ar for both native and IL objects. When we do that, llvm-ranlib should be reimplemented as a symlink to llvm-ar, as it is equivalent to "ar s". llvm-svn: 184019
-
Rafael Espindola authored
llvm-svn: 184018
-
Richard Smith authored
only permitted if the source object is of class type, and should materialize a temporary for the reference to bind to. llvm-svn: 184017
-
Tom Stellard authored
Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 184016
-
Tom Stellard authored
We were using RAT_INST_STORE_RAW, which seemed to work, but the docs say this instruction doesn't exist for Cayman, so it's probably safer to use a documented instruction instead. Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 184015
-
Tom Stellard authored
Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 184014
-
Tom Stellard authored
Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 184013
-
Matt Arsenault authored
llvm-svn: 184012
-
Matt Arsenault authored
Patch by Micah Villmow from last year that was reviewed, but never committed llvm-svn: 184011
-
- Jun 14, 2013
-
-
Rafael Espindola authored
This reverts commit r184004. This test has some dependency on the behavior of the old function on windows. I added it back to llvm for now. llvm-svn: 184010
-
Rafael Espindola authored
It looks like clang-tools-extra/unittests/cpp11-migrate/TransformTest.cpp depends on the behaviour of the old one on Windows. Maybe a difference between GetCurrentDirectoryA and GetCurrentDirectoryW? llvm-svn: 184009
-
Stephen Lin authored
llvm-svn: 184008
-
Eli Friedman authored
llvm-svn: 184007
-
Eli Friedman authored
random checks for ObjC object return types to SemaType.cpp. Fixes issue with ObjC method type checking reported on cfe-dev. llvm-svn: 184006
-
Richard Smith authored
macro defined in a system header. glibc uses it in macros, apparently. llvm-svn: 184005
-
Rafael Espindola authored
llvm-svn: 184004
-
Rafael Espindola authored
GetCurrentDirectory is now unused. Remove it. llvm-svn: 184003
-
Tim Northover authored
When we're rematerializing into a not-quite-right register we already add the real definition as an imp-def, but we should also be marking the "official" register as dead, since nothing else is going to use it as a result of this remat. Not doing this can affect pressure tracking. rdar://problem/14158833 llvm-svn: 184002
-
Sebastian Pop authored
llvm-svn: 184001
-
Sebastian Pop authored
llvm-svn: 184000
-
JF Bastien authored
Run the test at O1 instead of O0: ARM FastISel keeps frame pointers around and ignores the flag. The test should now pass on ARM and still passes on x86.See: http://llvm.org/bugs/show_bug.cgi?id=16322 llvm-svn: 183999
-
Matt Kopec authored
Patch from Ed Maste. llvm-svn: 183998
-
Rafael Espindola authored
This reverts commit 183995. It broke the bots: http://bb.pgr.jp/builders/cmake-clang-x86_64-linux/builds/9730/steps/build_clang/logs/stdio llvm-svn: 183997
-
Rafael Espindola authored
llvm-svn: 183996
-
Arnaud A. de Grandmaison authored
llvm-svn: 183995
-
Eli Bendersky authored
(-llc), similarly to the way it was done for clang and llvmc. This doesn't affect the upstream llvm tests but helps when developing custom LLVM-based tools and testing them within the LLVM regression framework. llvm-svn: 183994
-
Stephen Lin authored
SelectionDAG: Fix incorrect condition checks in some cases of folding FADD/FMUL combinations; also improve accuracy of comments llvm-svn: 183993
-
Rafael Espindola authored
llvm-svn: 183992
-
Rafael Espindola authored
llvm-svn: 183991
-
Reid Kleckner authored
r183989 added a dependency on LLVMOption in clangFrontend. llvm-svn: 183990
-
Reid Kleckner authored
The big changes are: - Deleting Driver/(Arg|Opt)* - Rewriting includes to llvm/Option/ and re-sorting - 'using namespace llvm::opt' in clang::driver - Fixing the autoconf build by adding option everywhere As discussed in the review, this change includes using directives in header files. I'll make follow up changes to remove those in favor of name specifiers. Reviewers: espindola Differential Revision: http://llvm-reviews.chandlerc.com/D975 llvm-svn: 183989
-
Rafael Espindola authored
llvm-svn: 183988
-
Rafael Espindola authored
llvm-svn: 183987
-
Tobias Grosser authored
Previously this happend to work for integers up to i64, but we got it wrong for larger numbers. Fix this and add test cases to verify this keeps working. Reported by: Sven Verdoolaege <skimo at kotnet dot org> llvm-svn: 183986
-
Rafael Espindola authored
llvm-svn: 183985
-
Derek Schuff authored
in functions which call __builtin_unwind_init() __builtin_unwind_init() is an undocumented gcc intrinsic which has this effect, and is used in libgcc_eh. Goes part of the way toward fixing PR8541. llvm-svn: 183984
-
Rafael Espindola authored
llvm-svn: 183983
-
Rafael Espindola authored
llvm-svn: 183982
-
Edwin Vane authored
Adhering to LLVM's ReST style for section markup. llvm-svn: 183981
-
Rafael Espindola authored
llvm-svn: 183980
-