- Jun 17, 2013
-
-
Rui Ueyama authored
This is the first patch toward full DLL support. With this patch, lld can read .lib file for a DLL. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D987 llvm-svn: 184101
-
Larisse Voufo authored
llvm-svn: 184100
-
Rafael Espindola authored
llvm-svn: 184099
-
Edwin Vane authored
To better support per-translation unit replacements, any real work is being moved out of ActionFactory and into Transform. In this revision, that means file override application. For simplification, Transform no longer inherits from SourceFileCallbacks. TransformTest required updating as a result. llvm-svn: 184098
-
Howard Hinnant authored
llvm-svn: 184097
-
Richard Smith authored
triggers an error on MS targets where __SIZE_TYPE__ expands to 'long long'. llvm-svn: 184096
-
Rafael Espindola authored
This patch also adds a simpler version of sys::fs::remove and a tool_output_file constructor for when we already have an open file. llvm-svn: 184095
-
Michael Sartain authored
llvm-svn: 184094
-
Fariborz Jahanian authored
llvm-svn: 184093
-
Rafael Espindola authored
llvm-svn: 184092
-
Rui Ueyama authored
Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D988 llvm-svn: 184091
-
Rafael Espindola authored
llvm-svn: 184090
-
Nadav Rotem authored
llvm-svn: 184089
-
Serge Pavlov authored
Make use of getTypeSizeInChars to detect structs/unions of zero size. It allows more accurate detection of types of zero size. It however has a side effect - sequence of used types may change, that is why the test 'override-layout' was modified. llvm-svn: 184088
-
Rafael Espindola authored
llvm-svn: 184087
-
Fariborz Jahanian authored
is sent to a receiver object. This is wip. // rdar://7853549 llvm-svn: 184086
-
Rui Ueyama authored
Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D989 llvm-svn: 184085
-
Nadav Rotem authored
llvm-svn: 184084
-
Rafael Espindola authored
llvm-ar is the only tool that needs to write archive files. Every other tool should be able to use the lib/Object interface. llvm-svn: 184083
-
Michael Sartain authored
Remove extra modules.Append() as it causes dupes in the m_images array. (Used with image list, etc.) llvm-svn: 184082
-
Rafael Espindola authored
llvm-svn: 184081
-
Rafael Espindola authored
llvm-svn: 184080
-
Reid Kleckner authored
This adds a bunch of llvm::opt name specifiers to all the uses of types from that namespace. Reviewers: espindola Differential Revision: http://llvm-reviews.chandlerc.com/D983 llvm-svn: 184079
-
Alexander Kornienko authored
Fix a problem in ExpressionParser leading to trailing comments affecting indentation of an expression after a line break. Summary: E.g. the second line in return aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + b; // is indented 4 characters more than in return aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + b; Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D984 llvm-svn: 184078
-
Reid Kleckner authored
llvm-svn: 184077
-
Alexander Kornienko authored
Summary: Selectively propagate the information about token kind in WhitespaceManager::replaceWhitespaceInToken.For correct alignment of new segments of line comments in order to align them correctly. Don't set BreakBeforeParameter in breakProtrudingToken for line comments, as it introduces a break after the _next_ parameter. Added tests for related functions. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D980 llvm-svn: 184076
-
Reid Kleckner authored
The untemplated implementation of getParents() doesn't need to be in a header file. RecursiveASTVisitor.h is full of repeated macro expansion. Moving this include to ASTContext.cpp speeds up compilation of LambdaMangleContext.cpp, a small C++ file with few includes, from 3.7s to 2.8s for me locally. I haven't measured a full build, but it can't hurt. I had to fix a few static analyzer files that were depending on transitive includes of C++ AST headers. Reviewers: rsmith, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D982 llvm-svn: 184075
-
Manuel Klimek authored
This broke for example the 'not' utility, if a directory called 'FileCheck' is executable and in the path before the actual 'FileCheck'. This patch steals the implementation of the "old" PathV1 canExecute implementation: - checks for R_OK (file readable): this is necessary for executing scripts; we should not regress here unless we have good reasons - checks for S_ISREG; if we want to get rid of this, we'd need to change all callers who already made the assumption when depending on Path V1. llvm-svn: 184074
-
Larisse Voufo authored
llvm-svn: 184073
-
Tim Northover authored
llvm-objdump should provide some way of printing out the addends present in the .rela sections for debugging purposes if nothing else. llvm-svn: 184072
-
Shankar Easwaran authored
This change adds functionality to add more sections like .gcc_except_table, .data.rel.local, .data.rel.ro into the default section map, so that they are all merged into appropriate output sections. This also makes c++ static binaries comparable to what you get with the default linker. Adds a test for testing the functionality. llvm-svn: 184071
-
Richard Smith authored
llvm-svn: 184070
-
Richard Smith authored
an asm label. llvm-svn: 184069
-
Richard Smith authored
deprecated. llvm-svn: 184068
-
- Jun 16, 2013
-
-
David Blaikie authored
Frame index handling is now target-agnostic, so delete the target hooks for creation & asm printing of target-specific addressing in DBG_VALUEs and any related functions. llvm-svn: 184067
-
David Blaikie authored
Rather than using the full power of target-specific addressing modes in DBG_VALUEs with Frame Indicies, simply use Frame Index + Offset. This reduces the complexity of debug info handling down to two representations of values (reg+offset and frame index+offset) rather than three or four. Ideally we could ensure that frame indicies had been eliminated by the time we reached an assembly or dwarf generation, but I haven't spent the time to figure out where the FIs are leaking through into that & whether there's a good place to convert them. Some FI+offset=>reg+offset conversion is done (see PrologEpilogInserter, for example) which is necessary for some SelectionDAG assumptions about registers, I believe, but it might be possible to make this a more thorough conversion & ensure there are no remaining FIs no matter how instruction selection is performed. llvm-svn: 184066
-
David Blaikie authored
This currently unused function appeared to be asserting in the wrong direction - DebugValues are never definitions of registers, only uses. Curiously we don't perform any of these checks for the more common (& actually used) case of MachineOperand::CreateReg (or other Create functions). llvm-svn: 184065
-
Tobias Grosser authored
This update fixes the test cases to give correct results with the isl version we are currently using. llvm-svn: 184064
-
Rui Ueyama authored
With this patch, it can now resolve relocations in the same output file. "Hello world" program does not still work because call to the DLL routine is not supported yet. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D985 llvm-svn: 184063
-
Rui Ueyama authored
Summary: I'm planning to use AtomLayout in WriterPECOFF. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D977 llvm-svn: 184062
-