- Aug 07, 2013
-
-
Eric Christopher authored
llvm-svn: 187872
-
Craig Topper authored
llvm-svn: 187870
-
Evgeniy Stepanov authored
This value may be used uninitialized in SIInsertWaits::insertWait. Found with MemorySanitizer. llvm-svn: 187869
-
Dmitri Gribenko authored
lld has a hashtable with StringRef keys; it needs to iterate over the keys in *insertion* order. This is currently implemented as std::vector<StringRef> + DenseMap<StringRef, T>. This will probably need a proper DenseMapInfo<StringRef> if we don't want to lose memory/performance by migrating to a different data structure. llvm-svn: 187868
-
Elena Demikhovsky authored
llvm-svn: 187867
-
Dmitri Gribenko authored
for StringRef with a StringMap The bug is that the empty key compares equal to the tombstone key. Also added an assertion to DenseMap to catch similar bugs in future. llvm-svn: 187866
-
Shuxin Yang authored
As of this revision, all functions of LTOCodeGenerator are consistent in ret-true-on-succ. Tested on multiple OSes. llvm-svn: 187864
-
Reed Kotler authored
llvm-svn: 187863
-
Daniel Dunbar authored
llvm-svn: 187862
-
Daniel Dunbar authored
llvm-svn: 187861
-
Daniel Dunbar authored
llvm-svn: 187860
-
Daniel Dunbar authored
llvm-svn: 187859
-
Daniel Dunbar authored
llvm-svn: 187858
-
Daniel Dunbar authored
llvm-svn: 187857
-
Daniel Dunbar authored
llvm-svn: 187856
-
Daniel Dunbar authored
llvm-svn: 187855
-
Daniel Dunbar authored
- Since we only have a few of these, use the cumbersome method of getting the exception object from 'sys' to retain the current pre-2.6 compatibility. llvm-svn: 187854
-
Daniel Dunbar authored
llvm-svn: 187853
-
Daniel Dunbar authored
llvm-svn: 187852
-
Daniel Dunbar authored
llvm-svn: 187851
-
Daniel Dunbar authored
llvm-svn: 187850
-
Daniel Dunbar authored
llvm-svn: 187849
-
Alexander Kornienko authored
llvm-svn: 187848
-
Alexander Kornienko authored
llvm-svn: 187847
-
Reid Kleckner authored
This fixes a bug from r187826. Reviewers: hans Differential Revision: http://llvm-reviews.chandlerc.com/D1304 llvm-svn: 187846
-
Reid Kleckner authored
One use needs to copy the alloca into a std::string, and the other use is before calling CreateProcess, which is very heavyweight anyway. llvm-svn: 187845
-
Eric Christopher authored
Use it when we're looking for a string in particular. Update comments as well. llvm-svn: 187844
-
Eric Christopher authored
No functional change. llvm-svn: 187843
-
Alexander Kornienko authored
columnWidth), and partially disable tests on MACOSX (which handles some characters differently). llvm-svn: 187842
-
Reid Kleckner authored
Previously this check was guarded by MSVC, which doesn't distinguish between the compiler and the headers/library. This enables clang to compile more of LLVM on Windows with Microsoft headers. Remove some unused macros while I'm here: error_t and LTDL stuff. llvm-svn: 187839
-
David Blaikie authored
llvm-svn: 187838
-
Alexander Kornienko authored
Implemented llvm::sys::locale::columnWidth and isPrint for the case of generic UTF8-capable terminal. Summary: This is a second attempt to get this right. After reading the Unicode Standard I came up with the code that uses definitions of "printable" and "column width" more suitable for terminal output (i.e. fixed-width fonts and special treatment of many control characters). The implementation here can probably be used for Windows and MacOS if someone can test it properly. The patch addresses PR14910. Reviewers: jordan_rose, gribozavr CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1253 llvm-svn: 187837
-
Aaron Ballman authored
Replacing /GR with /GR- instead of applying both options to the project. This should reduce some build bot warnings (D9025: "overriding '/GR' with '/GR-'"). llvm-svn: 187836
-
Tom Stellard authored
llvm-svn: 187834
-
Akira Hatanaka authored
llvm-svn: 187832
-
Tom Stellard authored
Since the VSrc_* register classes contain both VGPRs and SGPRs, copies that used be emitted by isel like this: SGPR = COPY VGPR Will now be emitted like this: VSrC = COPY VGPR This patch also adds a pass that tries to identify and fix situations where a VGPR to SGPR copy may occur. Hopefully, these changes will make it impossible for the compiler to generate illegal VGPR to SGPR copies. llvm-svn: 187831
-
Tom Stellard authored
Also factor out the register class lookup to its own function. llvm-svn: 187830
-
Justin Holewinski authored
[NVPTX] We dont have any target specific flags yet for generating symbol references, so get rid of the default-only switch statement. Fixes an MSVC warning. llvm-svn: 187829
-
Akira Hatanaka authored
instructions defined in MipsInstrInfo.td as codegen-only instructions. llvm-svn: 187828
-
Bill Wendling authored
The globals being generated here were given the 'private' linkage type. However, this caused them to end up in different sections with the wrong prefix. E.g., they would be in the __TEXT,__const section with an 'L' prefix instead of an 'l' (lowercase ell) prefix. The problem is that the linker will eat a literal label with 'L'. If a weak symbol is then placed into the __TEXT,__const section near that literal, then it cannot distinguish between the literal and the weak symbol. Part of the problems here was introduced because the address sanitizer converted some C strings into constant initializers with trailing nuls. (Thus putting them in the __const section with the wrong prefix.) The others were variables that the address sanitizer created but simply had the wrong linkage type. llvm-svn: 187827
-