- Apr 24, 2013
-
-
Rafael Espindola authored
LTO was always creating an empty llvm.compiler.used. With this patch we now first check if there is anything to be added first. Unfortunately, there is no good way to test libLTO in isolation as it needs gold or ld64, but there are bots doing LTO builds that found this problem. llvm-svn: 180202
-
rdar://problem/13665446Greg Clayton authored
Pass the user set target.env-vars when launching through a terminal. llvm-svn: 180201
-
Reid Kleckner authored
That seems to interact poorly with the environ and _environ macros defined in MSVC's <stdlib.h>. Also remove the incorrect comment about _NSGetEnviron(). llvm-svn: 180200
-
Enrico Granata authored
llvm-svn: 180199
-
Fariborz Jahanian authored
categories, do not report when they are declared in primary class, class's protocol, or one of it super classes. This is because, its class is going to implement them. // rdar://13713098 llvm-svn: 180198
-
Arnold Schwaighofer authored
This makes it easier to read the code. No functionality change. llvm-svn: 180197
-
Arnold Schwaighofer authored
This patch disables memory-instruction vectorization for types that need padding bytes, e.g., x86_fp80 has 10 bytes store size with 6 bytes padding in darwin on x86_64. Because the load/store vectorization is performed by the bit casting to a packed vector, which has incompatible memory layout due to the lack of padding bytes, the present vectorizer produces inconsistent result for memory instructions of those types. This patch checks an equality of the AllocSize of a scalar type and allocated size for each vector element, to ensure that there is no padding bytes and the array can be read/written using vector operations. Patch by Daisuke Takahashi! Fixes PR15758. llvm-svn: 180196
-
Arnold Schwaighofer authored
llvm-svn: 180195
-
Rafael Espindola authored
This should bring the ppc bots back. I will try to write a test that would have found the problem on a little endian system too. llvm-svn: 180194
-
Andrew Trick authored
For now, we just reschedule instructions that use the copied vregs and let regalloc elliminate it. I would really like to eliminate the copies on-the-fly during scheduling, but we need a complete implementation of repairIntervalsInRange() first. The general strategy is for the register coalescer to eliminate as many global copies as possible and shrink live ranges to be extended-basic-block local. The coalescer should not have to worry about resolving local copies (e.g. it shouldn't attemp to reorder instructions). The scheduler is a much better place to deal with local interference. The coalescer side of this equation needs work. llvm-svn: 180193
-
Andrew Trick authored
When MachineScheduler is enabled, this functionality can be removed. Until then, provide a way to disable it for test cases and designing MachineScheduler heuristics. llvm-svn: 180192
-
Andrew Trick authored
llvm-svn: 180191
-
Rafael Espindola authored
llvm-svn: 180190
-
Rafael Espindola authored
Since the relocation iterator walks only the relocations in one section, we can just use a pointer and avoid fetching information about the section at every reference. llvm-svn: 180189
-
Eric Christopher authored
llvm-svn: 180188
-
Daniel Jasper authored
This now allows clang-format to do: if (a) return; llvm-svn: 180187
-
Eric Christopher authored
llvm-svn: 180186
-
Alexander Kornienko authored
Summary: Added support for multiple input files, that can be used both with and without in-place edit (-i) option. Added checks for -offset and -length options: don't allow them on multiple files, check that they don't fall outside input file, made both options unsigned, so that there's no need to check for negative values. Removed "-1 can be used for end-of-file" from -length description. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D719 llvm-svn: 180185
-
Dmitry Vyukov authored
llvm-svn: 180184
-
Dmitry Vyukov authored
make[3]: make[3]: /bin/sh: ../../../../../bin/clang: Text file busy llvm-svn: 180183
-
Dmitry Vyukov authored
tsan: disable getpwuid_r() and glob64() interceptors under tsan, because they cause interceptor recursion if user intercepts fopen() llvm-svn: 180182
-
Anton Yartsev authored
llvm-svn: 180181
-
Dmitry Vyukov authored
llvm-svn: 180180
-
Ted Kremenek authored
llvm-svn: 180178
-
Ted Kremenek authored
Fixes PR 10124. Patch by Jens Kilian. Thanks to Nikola Smiljanic for following up. llvm-svn: 180177
-
Ted Kremenek authored
Apparently there are... llvm-svn: 180176
-
Ted Kremenek authored
tweak warning to suggest that it is just a bad thing to do. llvm-svn: 180175
-
Ted Kremenek authored
llvm-svn: 180174
-
Daniel Jasper authored
In the following snippet, clang-format incorrectly aligned the trailing comment, when only the last line was formatted: int aaaaaa; // comment int b; int c; // Formatting only this line moved this comment. llvm-svn: 180173
-
Jakob Stoklund Olesen authored
Solaris/AuroraUX only need __arch64__, the BSDs need the other variants. llvm-svn: 180172
-
Bill Wendling authored
I know what would be cool! We should align the compact unwind section because aligned data access is faster. <rdar://problem/13723271> llvm-svn: 180171
-
Anna Zaks authored
- If only partial invalidators exist and there are no full invalidators in @implementation, report every ivar that has not been invalidated. (Previously, we reported the first Ivar in the list, which could actually have been invalidated by a partial invalidator. The code assumed you cannot have only partial invalidators.) - Do not report missing invalidation method declaration if a partial invalidation method declaration exists. llvm-svn: 180170
-
Jia Liu authored
llvm-svn: 180169
-
Adrian Prantl authored
rdar://problem/12415623 llvm-svn: 180168
-
Sean Callanan authored
not find multiple functions with the same name but different types. Now we keep track of what types we've already reported for a function and only elide functions if we've already reported a conflicting one. Also added a test case. <rdar://problem/11367837> llvm-svn: 180167
-
Anna Zaks authored
The uniqueing location is the location which is part of the hash used to determine if two reports are the same. This is used by the CmpRuns.py script to compare two analyzer runs and determine which warnings are new. llvm-svn: 180166
-
Anna Zaks authored
[analyzer] Refactor BugReport::getLocation and PathDiagnosticLocation::createEndOfPath for greater code reuse The 2 functions were computing the same location using different logic (each one had edge case bugs that the other one did not). Refactor them to rely on the same logic. The location of the warning reported in text/command line output format will now match that of the plist file. There is one change in the plist output as well. When reporting an error on a BinaryOperator, we use the location of the operator instead of the beginning of the BinaryOperator expression. This matches our output on command line and looks better in most cases. llvm-svn: 180165
-
Ted Kremenek authored
llvm-svn: 180164
-
Bob Wilson authored
We now rely on the -mios-simulator-version-min option to identify the iOS simulator target. I'm not sure if there's anything in compiler-rt where that matters, but it's the right thing to do regardless. llvm-svn: 180163
-
Andrew Trick authored
Super-resources and resource groups are two ways of expressing overlapping sets of processor resources. Now we generate table entries the same way for both so the scheduler never needs to explicitly check for super-resources. llvm-svn: 180162
-