- Jan 26, 2014
-
-
Venkatraman Govindaraju authored
llvm-svn: 200127
-
Alp Toker authored
llvm-svn: 200126
-
Alp Toker authored
Instead point readers to the latest, correct example code in SVN until we find a way to automatically include example sources into the documentation (or until someone steps up to maintain these actively). This ensures that the examples are up-to-date, buildable, and most of all that readers don't pick up incorrect usage. llvm-svn: 200125
-
Alp Toker authored
This starts to switch ARCMT to use proper diagnostic messages. The old use was based on incorrect example code from the documentation. The logic of the previous report() functions has been retained to support any external consumers that might be intercepting diagnostic messages through the old interface. Note that the change in test/Misc/warning-flags.c isn't a new warning without a flag, rather one that was previously invisible to the test. Adding a flag might be a good idea though. llvm-svn: 200124
-
Alp Toker authored
These haven't been usable since the early return was accidentally removed some years ago causing all cases to fall through to the !Enabled condition. llvm-svn: 200123
-
Rafael Espindola authored
llvm-svn: 200122
-
Rui Ueyama authored
That bit is not documented in the PE/COFF spec published by Microsoft, so we don't know the official name of it. I named this bit IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VIRTUAL_ADDRESS because the bit is reported as "high entropy virtual address" by dumpbin.exe, llvm-svn: 200121
-
Craig Topper authored
llvm-svn: 200120
-
Jiangning Liu authored
llvm-svn: 200119
-
Rui Ueyama authored
llvm-svn: 200118
-
Rui Ueyama authored
PE32+ supports 64 bit address space, but the file format remains 32 bit. So its file format is pretty similar to PE32 (32 bit executable). The differences compared to PE32 are (1) the lack of "BaseOfData" field and (2) some of its data members are 64 bit. In this patch, I added a new member function to get a PE32+ Header object to COFFObjectFile class and made llvm-readobj to use it. llvm-svn: 200117
-
Rafael Espindola authored
llvm-svn: 200116
-
Rafael Espindola authored
This is an expanded version of r200064. llvm-svn: 200115
-
Jiangning Liu authored
llvm-svn: 200114
-
Jiangning Liu authored
llvm-svn: 200113
-
Venkatraman Govindaraju authored
llvm-svn: 200112
-
Kevin Qin authored
llvm-svn: 200111
-
Kevin Qin authored
llvm-svn: 200110
-
Kevin Qin authored
llvm-svn: 200109
-
Marshall Clow authored
llvm-svn: 200108
-
Rui Ueyama authored
llvm-svn: 200107
-
Rui Ueyama authored
llvm-svn: 200106
-
Alp Toker authored
Follow up to r200082. Spotted by Dmitri llvm-svn: 200105
-
Venkatraman Govindaraju authored
llvm-svn: 200104
-
Venkatraman Govindaraju authored
llvm-svn: 200103
-
Renato Golin authored
After several refactorings on the MCJIT remote communication, things are finally looking good on Clang-compiled LLVM regarding MCJIT remote tests, so I'm re-enabling them to see how the self-hosting buildbot behaves over a longer period. llvm-svn: 200102
-
Venkatraman Govindaraju authored
[Sparc] Add sparc to the list of XFAIL architecture. It seems that the llvm-cov test is not supported in big-endian architectures. llvm-svn: 200101
-
Craig Topper authored
Set displacementSize to 1 for instrucitons with mod==0x1. Fixes PR17310. Modified from patch by James Courtier-Dutton. llvm-svn: 200100
-
Richard Smith authored
PR18530: Don't assert when performing error recovery after a missing 'template<>' on a variable template explicit specialization. llvm-svn: 200099
-
Richard Smith authored
initialized from a constant expression in C++98, it can be used in constant expressions, even if it was brace-initialized. Patch by Rahul Jain! llvm-svn: 200098
-
Hal Finkel authored
I disabled the use of TBAA in CodeGen in r200093. This adds a test case that demonstrates the problems with inttoptr and TBAA in CodeGen (and, specifically, the problem that causes LLVM to miscompile itself in Release mode). This test will currently fail if -use-tbaa-in-sched-mi is enabled. llvm-svn: 200097
-
Saleem Abdulrasool authored
When clang is built outside of the LLVM tree (against a corresponding version), there is no definition providing for operator<<(std::ostream &, StringRef) which is required for the assertion routines in google-test tests. Avoid the compilation failure by explicitly stringifying the StringRef prior to use. llvm-svn: 200096
-
Evan Cheng authored
llvm-svn: 200095
-
Hal Finkel authored
llvm-svn: 200094
-
Hal Finkel authored
There are currently two issues, of which I currently know, that prevent TBAA from being correctly usable in CodeGen: 1. Stack coloring does not update TBAA when merging allocas. This is easy enough to fix, but is not the largest problem. 2. CGP inserts ptrtoint/inttoptr pairs when sinking address computations. Because BasicAA does not handle inttoptr, we'll often miss basic type punning idioms that we need to catch so we don't miscompile real-world code (like LLVM). I don't yet have a small test case for this, but this fixes self hosting a non-asserts build of LLVM on PPC64 when using -enable-aa-sched-mi and -misched=shuffle. llvm-svn: 200093 -
Ed Maste authored
Spotted by John Wolfe. llvm-svn: 200092
-
Craig Topper authored
Don't use EnforceSmallerThan for EnforceVectorSubVectorTypeIs. EnforceSmallerThan doesn't handle vectors quite right and should really enforce that vectors have the same number of elements. Add explicit checks for vector element count differing in EnforceVectorSubVectorTypeIs instead. This removes some unnecessary type checks in X86GenDAGISel.inc. llvm-svn: 200091
-
Mark Seaborn authored
This fixes a regression introduced by r182908, which broke llvm-objdump's ability to display relocations inline in a disassembly dump for ELF object files. That change removed a SectionRelocMap from Object/ELF.h, which we recreate in llvm-objdump.cpp. I discovered this regression via an out-of-tree test (test/NaCl/X86/pnacl-hides-sandbox-x86-64.ll) which used llvm-objdump. Note that the "Unknown" string in the test output on i386 isn't quite right, but this appears to be a pre-existing bug. Differential Revision: http://llvm-reviews.chandlerc.com/D2559 llvm-svn: 200090
-
Craig Topper authored
llvm-svn: 200089
-
Hal Finkel authored
This option (which is !NDEBUG only) allows restricting the use of alias analysis in DAGCombiner to a specific function. This has proved extremely valuable to isolating bugs related to this feature, and mirrors the misched-only-func option provided by the new instruction scheduler. llvm-svn: 200088
-