- Aug 22, 2013
-
-
Michael Sartain authored
llvm-svn: 189058
-
Tom Stellard authored
This fixes a crash in Unigine Tropics. https://bugs.freedesktop.org/show_bug.cgi?id=68389 llvm-svn: 189057
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1443 llvm-svn: 189055
-
Peter Collingbourne authored
DataFlowSanitizer: Replace non-instrumented aliases of instrumented functions, and vice versa, with wrappers. Differential Revision: http://llvm-reviews.chandlerc.com/D1442 llvm-svn: 189054
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1441 llvm-svn: 189053
-
Peter Collingbourne authored
DFSan changes the ABI of each function in the module. This makes it possible for a function with the native ABI to be called with the instrumented ABI, or vice versa, thus possibly invoking undefined behavior. A simple way of statically detecting instances of this problem is to prepend the prefix "dfs$" to the name of each instrumented-ABI function. This will not catch every such problem; in particular function pointers passed across the instrumented-native barrier cannot be used on the other side. These problems could potentially be caught dynamically. Differential Revision: http://llvm-reviews.chandlerc.com/D1373 llvm-svn: 189052
-
Reid Kleckner authored
Summary: These typically come from static data members of class template specializations. This accomplishes two things: 1. May expose GlobalOpt optimizations for Itanium C++ ABI code. 2. Works toward fixing double initialization in the Microsoft C++ ABI. CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1475 llvm-svn: 189051
-
Edwin Vane authored
Test-time dependencies now live within test/clang-replace/Inputs which is more in line with llvm and clang test suites. Added 'Inputs' to the lit config's 'exclude' list as with llvm's lit.cfg since test-time dependencies should not have any lit scripts within. llvm-svn: 189047
-
Howard Hinnant authored
llvm-svn: 189046
-
Marshall Clow authored
llvm-svn: 189044
-
Howard Hinnant authored
llvm-svn: 189043
-
Reid Kleckner authored
llvm-svn: 189042
-
Fariborz Jahanian authored
CF methods too. llvm-svn: 189041
-
Howard Hinnant authored
Zhihao Yuan noted that there were a few unneeded statements. Eliminated the unnecessary ones, and commented the ones that are there for non-obvious reasons such as to help things limp along in C++03 language mode. llvm-svn: 189039
-
Guillaume Papin authored
This reverts commit r189017. It broke the windows bots: - http://bb.pgr.jp/builders/ninja-clang-i686-msc17-R/builds/4176 - http://bb.pgr.jp/builders/cmake-clang-i686-mingw32/builds/3837 llvm-svn: 189037
-
Howard Hinnant authored
Zhihao Yuan noted that a move assignment operation was missing from std::adjacent_difference. Fixed. llvm-svn: 189036
-
Shankar Easwaran authored
llvm-svn: 189035
-
Howard Hinnant authored
David Blaikie suggested this test for detecting constexpr on the error_category default constructor. Additionally I decided to make this constructor trivial as well, as I could not come up with a rationale for not doing so. Fully tested with both current Apple clang and tip-of-trunk clang. llvm-svn: 189034
-
Manman Ren authored
A single metadata will not span multiple lines. This also helps me with my script to automatic update the testing cases. A debug info testing case should have a llvm.dbg.cu. Do not use hard-coded id for debug nodes. llvm-svn: 189033
-
Samuel Benzaquen authored
Summary: Refactor VariantMatcher to use an interface underneath. It supports "Single" and "Polymorphic". Will support more in the future. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1446 llvm-svn: 189032
-
NAKAMURA Takumi authored
llvm-svn: 189031
-
Jordan Rose authored
I was bound to screw this up somehow. llvm-svn: 189029
-
Daniel Jasper authored
llvm-svn: 189028
-
Jordan Rose authored
Thanks for pointing this out, Stephen. I think this is right now -- I attempted to try all four valid combinations with both the autoconf and CMake builds. See also LLVM changes to the configure script. llvm-svn: 189027
-
Jordan Rose authored
I don't actually have a version of autoconf so I edited configure directly as well. It's copy-pasted so I think there was little margin for error. See also Clang-side dependency graph changes. llvm-svn: 189026
-
Shankar Easwaran authored
llvm-svn: 189025
-
Joey Gouly authored
This uses the ARMcmov pattern that Tim cleaned up in r188995. Thanks to Simon Tatham for his floating point help! llvm-svn: 189024
-
Shankar Easwaran authored
llvm-svn: 189023
-
David Blaikie authored
DebugInfo: emit the definition of types when construction vtables are required as these types may never end up emitting the full class data This might be able to be optimized further by only doing this in the absence of a key function, but it doesn't look like GCC is doing that so I'm not rushing to do it just yet. llvm-svn: 189022
-
NAKAMURA Takumi authored
[Win32] mapped_file_region: Fix a bug in CreateFileMapping() that Size must contain Offset when Offset >= 65536. llvm-svn: 189021
-
NAKAMURA Takumi authored
llvm-svn: 189020
-
Edwin Vane authored
Subdirectories of test/clang-replace contain test-time dependencies and not more LIT tests. Tell LIT to ignore these directories from the test suite. llvm-svn: 189019
-
Daniel Jasper authored
With this patch, braced lists (with more than 3 elements are formatted in a column layout if possible). E.g.: static const uint16_t CallerSavedRegs64Bit[] = { X86::RAX, X86::RDX, X86::RCX, X86::RSI, X86::RDI, X86::R8, X86::R9, X86::R10, X86::R11, 0 }; Required other changes: - FormatTokens can now have a special role that contains extra data and can do special formattings. A comma separated list is currently the only implementation. - Move penalty calculation entirely into ContinuationIndenter (there was a last piece still in UnwrappedLineFormatter). Review: http://llvm-reviews.chandlerc.com/D1457 llvm-svn: 189018
-
Guillaume Papin authored
The IncludeDirectives class helps with detecting and modifying #include directives. For now it allows the users to add angled-includes in a source file. This is a start for this class that will evolve in the future to add more functionality. This should fix the reverted commit r188791 (buildbot failures on Windows). llvm-svn: 189017
-
Sergey Matveev authored
llvm-svn: 189016
-
Evgeniy Stepanov authored
Fixes PR16916. llvm-svn: 189015
-
Edwin Vane authored
Functionality for clang-replace completed with the addition of the ability to write merged replacements to disk. Test added. Differential Revision: http://llvm-reviews.chandlerc.com/D1460 llvm-svn: 189014
-
David Blaikie authored
DebugInfo: Remove explicit declaration-emissiong handling now that we have a more principled approach (the 'requires complete type' callback) No functionality change intended. llvm-svn: 189013
-
Sergey Matveev authored
llvm-svn: 189012
-
Sergey Matveev authored
llvm-svn: 189011
-