- Feb 26, 2013
-
-
Jim Grosbach authored
For integer constants, allow 'L', 'UL' as well as 'ULL' and 'LL'. This provides better support for shared headers between .s and .c files that define bunches of constant values. rdar://9321056 llvm-svn: 176118
-
Matt Arsenault authored
llvm-svn: 176117
-
Adrian Prantl authored
Ensure that DIType is regenerated after we visited an implementation that adds ivars to an interface. Fixes rdar://13175234 llvm-svn: 176116
-
Ted Kremenek authored
Fixes PR15358 and <rdar://problem/13295437>. Along the way, shorten path diagnostics that say "Variable 'x'" to just be "'x'". By the context, it is obvious that we have a variable, and so this just consumes text space. llvm-svn: 176115
-
Matt Beaumont-Gay authored
macros. llvm-svn: 176114
-
Matt Arsenault authored
llvm-svn: 176113
-
Rafael Espindola authored
Now that implicitly hidden template arguments can make an instantiation hidden, it is important to look at more than just the canonical decl of the argument in order to see if an attribute is available in a more recent decl. This has the disadvantage of exposing when getExplicitVisibility is called, but lets us handle cases like template <typename T> struct __attribute__((visibility("default"))) barT { static void zed() {} }; class foo; class __attribute__((visibility("default"))) foo; template struct barT<foo>; llvm-svn: 176112
-
Matt Arsenault authored
llvm-svn: 176111
-
Rafael Espindola authored
GCC applies a pragma weak to a decl if it matches the mangled name. We used to apply if it matched the plain name. This patch is a compromise: we apply the pragma only if it matches the name and the decl has C language linkage. llvm-svn: 176110
-
Chad Rosier authored
llvm-svn: 176109
-
Sean Silva authored
llvm-svn: 176108
-
Eli Bendersky authored
llvm-svn: 176107
-
Greg Clayton authored
llvm-svn: 176106
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176105
-
Christian Konig authored
Make it possible to map between e32 and e64 encoding opcodes. Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176104
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176103
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176102
-
Christian Konig authored
Include immediate folding and SGPR limit handling for VOP3 instructions. v2: remove leftover hasExtraSrcRegAllocReq Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176101
-
Christian Konig authored
Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176100
-
Christian Konig authored
v2: document why we hardcode VCC for now. This is a candidate for the mesa-stable branch. Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176099
-
Christian Konig authored
Prevent producing real strange tablegen code by using proper register sizes, alignments and hierarchy. Also cleanup the unused definitions and add some comments. v2: add SGPR 512 bit registers, stop registers from wrapping around, fix SGPR alignment This is a candidate for the mesa-stable branch. Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176098
-
Christian Konig authored
This is a candidate for the mesa-stable branch. Signed-off-by:
Christian König <christian.koenig@amd.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 176097
-
Renato Golin authored
llvm-svn: 176096
-
Renato Golin authored
llvm-svn: 176095
-
Bill Schmidt authored
The PowerPC TLS relocation types were not previously added to the necessary list in MCELFStreamer::fixSymbolsInTLSFixups(). Now they are! llvm-svn: 176094
-
Howard Hinnant authored
Michael van der Westhuizen: correction to the libcxx build instructions when built with libcxxrt on Linux. llvm-svn: 176093
-
Daniel Jasper authored
Before: if (Intervals[i].getRange().getFirst() < Intervals[i - 1] .getRange().getLast()) {} After: if (Intervals[i].getRange().getFirst() < Intervals[i - 1].getRange().getLast()) {} llvm-svn: 176092
-
Alexey Samsonov authored
llvm-svn: 176091
-
Renato Golin authored
llvm-svn: 176090
-
Kostya Serebryany authored
[sanitizer] A low-level vector implementation to be used in leak checking code. Patch by Sergey Matveev llvm-svn: 176089
-
Evgeniy Stepanov authored
Sometimes android linker is "arm-linux-androideabi-ld", and not just "ld". llvm-svn: 176088
-
Daniel Jasper authored
Before: for (const aaaaaaaaaaaaaaaaaaaaa & aaaaaaaaa : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {} After: for (const aaaaaaaaaaaaaaaaaaaaa &aaaaaaaaa : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {} llvm-svn: 176087
-
Daniel Jasper authored
Empty lines followed by line comments are often used to highlight the comment. Empty lines somewhere else are usually left over from manual or automatic formatting and should probably be removed. Before (clang-format would keep): S s = { a, b }; After: S s = { a, b }; llvm-svn: 176086
-
Kostya Serebryany authored
llvm-svn: 176085
-
Daniel Jasper authored
We might want to move towards doing this if the formatting can be significantly improved, but we need to carefully evaluate the different situations first. Before (the string literal was split by clang-format here): aaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaa, aaaaaa("aaa aaaaa aaa aaa aaaaa aaa " "aaaaa aaa aaa aaaaaa")); After: aaaaaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaa, aaaaaa("aaa aaaaa aaa aaa aaaaa aaa aaaaa aaa aaa aaaaaa")); llvm-svn: 176084
-
Alexey Samsonov authored
Define CMake option CLANG_INCLUDE_TESTS *before* traversing into tests/ subdirectory. Otherwise, while configuring the build tree for the first time, Clang unit tests could avoid being added to 'check-clang' command, and thus avoid being built and executed. llvm-svn: 176080
-
Kostya Serebryany authored
llvm-svn: 176079
-
Kostya Serebryany authored
[asan] fix the output for range accesses (memset, etc); improve the tests; more strict checking in memcmp llvm-svn: 176078
-
Kostya Serebryany authored
llvm-svn: 176077
-
Kostya Serebryany authored
These are two related changes (one in llvm, one in clang). LLVM: - rename address_safety => sanitize_address (the enum value is the same, so we preserve binary compatibility with old bitcode) - rename thread_safety => sanitize_thread - rename no_uninitialized_checks -> sanitize_memory CLANG: - add __attribute__((no_sanitize_address)) as a synonym for __attribute__((no_address_safety_analysis)) - add __attribute__((no_sanitize_thread)) - add __attribute__((no_sanitize_memory)) for S in address thread memory If -fsanitize=S is present and __attribute__((no_sanitize_S)) is not set llvm attribute sanitize_S llvm-svn: 176076
-