- Nov 02, 2013
-
-
Warren Hunt authored
llvm-svn: 193902
-
Warren Hunt authored
long in linux 64 is 64 bits but is always 32 bits on windows. The lit test was modified to use long long instead of long and check for 64-bit mangling. llvm-svn: 193901
-
Michael Liao authored
- When selecting BLEND from vselect, the operands need swapping as due to the difference between vselect and SSE/AVX's BLEND insn llvm-svn: 193900
-
Yuchen Wu authored
Added -o option to llvm-cov. If no output file is specified, it defaults to STDOUT. llvm-svn: 193899
-
Warren Hunt authored
Differential Revision: http://llvm-reviews.chandlerc.com/D2090 Clang was "improperly" over-aligning arrays with sizes are not a multiple of their alignment. This behavior was removed in microsoft 32 bit mode. In addition, after examination of ASTContext::getTypeInfoImpl, a redundant code block in MicrosoftRecordLayoutBuilder::getAdjustedFieldInfo was deleted. llvm-svn: 193898
-
Evgeniy Stepanov authored
llvm-svn: 193897
-
Warren Hunt authored
Differential Revision: http://llvm-reviews.chandlerc.com/D2082 Adds a lang_c LinkageSpecDecl to lazily generated builtins. This enforces correct behavior for builtins in a variety of cases without special treatment elsewhere within the compiler (special treatment is removed by the patch). It also allows for C++ overloads of builtin functions, which Microsoft uses in their headers e.g. _InterlockedExchangeAdd is an extern C builtin for the long type but an inline wrapper for int type. llvm-svn: 193896
-
Arnold Schwaighofer authored
llvm-svn: 193895
-
Eric Christopher authored
llvm-svn: 193894
-
Douglas Gregor authored
... in case someone decides to -I/usr/include <rdar://problem/15235948>. llvm-svn: 193893
-
- Nov 01, 2013
-
-
David Blaikie authored
I hit some problems with future work due to the member subprogram of 'a_b's type having a subprogram (an implicit default ctor, !52 in the pre-commit source) with no name. Clang now generates a name for such a function but in this case doesn't even emit debug info for it as it is unused (Clang never emits the body of the ctor, instead just emitting memset if needed). llvm-svn: 193892
-
Arnold Schwaighofer authored
When the loop vectorizer was part of the SCC inliner pass manager gvn would run after the loop vectorizer followed by instcombine. This way redundancy (multiple uses) were removed and instcombine could perform scalarization on the induction variables. Having moved the loop vectorizer to later we no longer run any form of redundancy elimination before we perform instcombine. This caused vectorized induction variables to survive that did not before. On a recent iMac this helps linpack back from 6000Mflops to 7000Mflops. This should also help lpbench and paq8p. I ran a Release (without Asserts) build over the test-suite and did not see any negative impact on compile time. radar://15339680 llvm-svn: 193891
-
Richard Trieu authored
warning in template specializations. llvm-svn: 193890
-
Fariborz Jahanian authored
-fobjc-subscripting-legacy-runtime which is off by default and on only when using ObjectiveC legacy runtime. Use this flag to allow array and dictionary subscripting and disallow objectiveC pointer arithmatic in ObjectiveC legacy runtime. // rdar://15363492 llvm-svn: 193889
-
Richard Trieu authored
llvm-svn: 193888
-
Richard Trieu authored
llvm-svn: 193887
-
Rui Ueyama authored
Bugs that would be caught by this assertion would also be caught by RoundTripYAMLPass test. We've enabled the pass for PECOFF, so we can remove this. llvm-svn: 193886
-
Rui Ueyama authored
llvm-svn: 193885
-
David Blaikie authored
The point is to ensure that the attribute in question (DW_AT_data_member_location) is associated with the prior tag, so ensure that we don't see another tag starting between the intended tag and the desired attribute. llvm-svn: 193884
-
Rui Ueyama authored
llvm-svn: 193883
-
Rui Ueyama authored
llvm-svn: 193882
-
Rui Ueyama authored
llvm-svn: 193881
-
Dmitry Vyukov authored
llvm-svn: 193880
-
rdar://problem/15368142Enrico Granata authored
For this test case, one needs to get the name of the symbol since we don't have debug info to generate an SBFunction llvm-svn: 193879
-
David Blaikie authored
llvm-svn: 193878
-
Enrico Granata authored
Use 0x00... as the magic constant to write in st0. That should be reliably 0 regardless of OS/hardware llvm-svn: 193877
-
David Blaikie authored
llvm-svn: 193876
-
Peter Collingbourne authored
The thread, memory, dataflow and function sanitizers are now diagnosed if enabled explicitly on an unsupported platform. Unsupported sanitizers which are enabled implicitly (as part of a larger group) are silently disabled. As a side effect, this makes SanitizerArgs parsing toolchain-dependent (and thus essentially reverts r188058), and moves SanitizerArgs ownership to ToolChain. Differential Revision: http://llvm-reviews.chandlerc.com/D1990 llvm-svn: 193875
-
Manman Ren authored
llvm-svn: 193874
-
Alexey Samsonov authored
llvm-svn: 193873
-
David Blaikie authored
In a failed attempt to allow the gnu-public-names.ll test case to not hardcode the size of the unit that the pubnames section referred to I've at least managed to have unit headers and pubnames headers print out in a similar style. This failed to achieve the desired goal because the header in a unit specifies the length of the unit without the length element of the header whereas the length in the pubnames includes this element, so the numbers are off by 4 bytes. I don't know of any arithmetic powers in FileCheck so the test case can't simply say "CU_LENGTH + 4". llvm-svn: 193872
-
Juergen Ributzka authored
llvm-svn: 193871
-
Evgeniy Stepanov authored
They are binary compatible, and we don't use any of the new fields anyway. llvm-svn: 193870
-
Matt Arsenault authored
llvm-svn: 193869
-
Alexey Samsonov authored
llvm-svn: 193868
-
Chad Rosier authored
llvm-svn: 193867
-
Chad Rosier authored
llvm-svn: 193866
-
Rafael Espindola authored
linkonce_odr_auto_hide was in incomplete attempt to implement a way for the linker to hide symbols that are known to be available in every TU and whose addresses are not relevant for a particular DSO. It was redundant in that it all its uses are equivalent to linkonce_odr+unnamed_addr. Unlike those, it has never been connected to clang or llvm's optimizers, so it was effectively dead. Given that nothing produces it, this patch just nukes it (other than the llvm-c enum value). llvm-svn: 193865
-
Alexey Samsonov authored
This change unifies the summary printing across sanitizers: now each tool uses specific version of ReportErrorSummary() method, which deals with symbolization of the top frame and formatting a summary message. This change modifies the summary line for ASan+LSan mode: now the summary mentions "AddressSanitizer" instead of "LeakSanitizer". llvm-svn: 193864
-
Evgeniy Stepanov authored
llvm-svn: 193863
-