- Aug 07, 2013
-
-
David Blaikie authored
This reverts commit r187788. The test case is unreliable (as the test may be run in a situation in which it has no affinity with cpu0). This can be recommitted with a more reliable test - possibly using CPU_COUNT != 0 instead (I wasn't entirely sure that a process was guaranteed to have at least one affinity, though it seems reasonable, or I'd have made the change myself). llvm-svn: 187841
-
Hans Wennborg authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1302 llvm-svn: 187840
-
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
-
Fariborz Jahanian authored
// rdar://14258334 llvm-svn: 187835
-
Tom Stellard authored
llvm-svn: 187834
-
Jason Molenda authored
to a log channel in StopInfoBreakpoint::PerformAction(). <rdar://problem/14651751> llvm-svn: 187833
-
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
-
Reid Kleckner authored
LLVM's coding standards recommend raw_ostream and MemoryBuffer for reading and writing text. This has the side effect of allowing clang to compile more of Support and TableGen in the Microsoft C++ ABI. llvm-svn: 187826
-
Arnold Schwaighofer authored
Patch by Marc Jessome! llvm-svn: 187825
-
Akira Hatanaka authored
EmitAlias flag and have MipsInstPrinter::printAlias print the aliases. llvm-svn: 187824
-
Rui Ueyama authored
Also change some local variable names: "ti" -> "context" and "_targetInfo" -> "_context". Differential Revision: http://llvm-reviews.chandlerc.com/D1301 llvm-svn: 187823
-
Michael Sartain authored
llvm-svn: 187822
-
Akira Hatanaka authored
unnecessary jalr InstAliases in Mips64InstrInfo.td and add the code to print jalr InstAliases in MipsInstPrinter::printAlias. llvm-svn: 187821
-
Hans Wennborg authored
This implements support for the /Fo option, which is used to set the filename or output dir for object files. Differential Revision: http://llvm-reviews.chandlerc.com/D1302 llvm-svn: 187820
-
- Aug 06, 2013
-
-
Shuxin Yang authored
llvm-svn: 187819
-
Daniel Malea authored
- use SmallString instead - original implementation resulted in incorrect behaviour of lldb -P Fix by Kal Conley! llvm-svn: 187818
-
Richard Trieu authored
decrements inside for loops. Idea for this warning proposed in PR15636: http://llvm.org/bugs/show_bug.cgi?id=15636 llvm-svn: 187817
-
Daniel Malea authored
- Addresses review comments from Stefanus! llvm-svn: 187816
-
Daniel Malea authored
- Thanks to Matt Kopec for noticing the failure! llvm-svn: 187815
-
Matt Kopec authored
llvm-svn: 187814
-
Reid Kleckner authored
Clang does not provide BitScan* intrinsic implementations yet. llvm-svn: 187813
-
Manman Ren authored
Also remove checking of llvm.dbg.sp since it is not used in generating dwarf. Current state of Finder: DebugInfoFinder tries to list all debug info MDNodes used in a module. To list debug info MDNodes used by an instruction, DebugInfoFinder provides processDeclare, processValue and processLocation to handle DbgDeclareInst, DbgValueInst and DbgLoc attached to instructions. processModule will go through all DICompileUnits in llvm.dbg.cu and list debug info MDNodes used by the CUs. TODO: 1> Finder has a list of CUs, SPs, Types, Scopes and global variables. We need to add a list of variables that are used by DbgDeclareInst and DbgValueInst. 2> MDString fields should be null or isa<MDString> and MDNode fields should be null or isa<MDNode>. We currently use empty string or int 0 to represent null. 3> Go though Verify functions and make sure that they check field types. 4> Clean up existing testing cases to remove llvm.dbg.sp and make sure each testing case has a llvm.dbg.cu. Re-apply r187609 with fix to pass ocaml binding. vmcore.ml generates a debug location with scope being metadata !{}, in verifier we treat this as a null scope. llvm-svn: 187812
-
Sean Silva authored
No content change. Patch by Andrea Di Biagio! llvm-svn: 187811
-
Fariborz Jahanian authored
on @property migration. Don't set unsafe_unretained on non-object properties. Set 'retain' on strong properties. Makecertain properties with specific names unsafe_unretained as well. llvm-svn: 187810
-
Marshall Clow authored
llvm-svn: 187809
-
Jakub Staszak authored
llvm-svn: 187808
-
Hal Finkel authored
The PPC backend had been missing a pattern to generate mulli for 64-bit multiples. We had been generating it only for 32-bit multiplies. Unfortunately, generating li + mulld unnecessarily increases register pressure. llvm-svn: 187807
-
Jakub Staszak authored
llvm-svn: 187806
-
Marshall Clow authored
llvm-svn: 187805
-
Mihai Popa authored
as pldw does not have a literal variant (i.e. pc relative version) llvm-svn: 187804
-
Mihai Popa authored
llvm-svn: 187803
-
Daniel Malea authored
- add new "--libcxx" parameter to dotest.py to specify path to custom libc++ llvm-svn: 187802
-