Revision tags: llvmorg-3.5.0-rc3, llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1 |
|
#
adf21f2a |
| 06-Jul-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Update the MemoryBuffer API to use ErrorOr.
llvm-svn: 212405
|
#
8026bd0b |
| 06-Jul-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
This only needs a StringRef.
llvm-svn: 212401
|
#
a55b95b5 |
| 06-Jul-2014 |
Alp Toker <alp@nuanti.com> |
SourceMgr: make valid buffer IDs start from one
Use 0 for the invalid buffer instead of -1/~0 and switch to unsigned representation to enable more idiomatic usage.
Also introduce a trivial SourceMg
SourceMgr: make valid buffer IDs start from one
Use 0 for the invalid buffer instead of -1/~0 and switch to unsigned representation to enable more idiomatic usage.
Also introduce a trivial SourceMgr::getMainFileID() instead of hard-coding 0/1 to identify the main file.
llvm-svn: 212398
show more ...
|
#
75556bc0 |
| 28-Jun-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Simplify code a bit, no functionality change.
llvm-svn: 211985
|
#
4c5bff36 |
| 19-Jun-2014 |
Eric Christopher <echristo@gmail.com> |
Move -dwarf-version to an MC level command line option so it's used by all of the MC level tools and codegen. Fix up all uses in the compiler to use this and set it on the context accordingly.
llvm-
Move -dwarf-version to an MC level command line option so it's used by all of the MC level tools and codegen. Fix up all uses in the compiler to use this and set it on the context accordingly.
llvm-svn: 211257
show more ...
|
#
23c6d1f4 |
| 19-Jun-2014 |
Eric Christopher <echristo@gmail.com> |
80-column fixups.
llvm-svn: 211255
|
#
4453e429 |
| 13-Jun-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove 'using std::error_code' from tools.
llvm-svn: 210876
|
#
3acea398 |
| 12-Jun-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix.
llvm-svn: 210835
|
#
3fdf7cfb |
| 11-Jun-2014 |
Jim Grosbach <grosbach@apple.com> |
llvm-mc: Add option for prefering hex format disassembly.
Previously there was a separate mode entirely (--hdis vs. --disassemble). It makes a bit more sense for the immediate printing style to be a
llvm-mc: Add option for prefering hex format disassembly.
Previously there was a separate mode entirely (--hdis vs. --disassemble). It makes a bit more sense for the immediate printing style to be a flag for --disassmeble rather than an entirely different thing.
llvm-svn: 210700
show more ...
|
#
472cee30 |
| 21-May-2014 |
Eric Christopher <echristo@gmail.com> |
Move MCOptions that aren't shared between programs into their specific program and have them initialize the MCOptions struct explicitly.
llvm-svn: 209321
|
#
dc3e9c75 |
| 21-May-2014 |
Eric Christopher <echristo@gmail.com> |
This command line option is only used in one place. Move it there and rename it to something more descriptive.
llvm-svn: 209263
|
Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1 |
|
#
e6ece1a0 |
| 15-May-2014 |
Eric Christopher <echristo@gmail.com> |
Unify command line handling of MCTargetOptions and remove extra options and code. No functional change.
llvm-svn: 208833
|
#
566fcfe6 |
| 07-May-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove the UseCFI option from createAsmStreamer.
We were already always passing true, this just removes the option.
llvm-svn: 208205
|
#
7eacbd5a |
| 01-May-2014 |
Oliver Stannard <oliver.stannard@arm.com> |
Record the DWARF version in MCContext
Record the DWARF version in MCContext, and use it when emitting the dwarf version into the debug info.
llvm-svn: 207739
|
Revision tags: llvmorg-3.4.1, llvmorg-3.4.1-rc2 |
|
#
e6cb63e4 |
| 25-Apr-2014 |
Craig Topper <craig.topper@gmail.com> |
[C++] Use 'nullptr'. Tools edition.
llvm-svn: 207176
|
#
0a951b77 |
| 23-Apr-2014 |
Evgeniy Stepanov <eugeni.stepanov@gmail.com> |
Create MCTargetOptions.
For now it contains a single flag, SanitizeAddress, which enables AddressSanitizer instrumentation of inline assembly.
Patch by Yuri Gorshenin.
llvm-svn: 206971
|
Revision tags: llvmorg-3.4.1-rc1 |
|
#
9c3857cb |
| 28-Mar-2014 |
David Blaikie <dblaikie@gmail.com> |
Add missing include (for r205050)
llvm-svn: 205053
|
#
9b620b45 |
| 28-Mar-2014 |
David Blaikie <dblaikie@gmail.com> |
llvm-mc: error when -compress-debug-sections is requested and zlib is not linked
This is a bit of a stab in the dark, since I have zlib on my machine. Just going to bounce it off the bots & see if i
llvm-mc: error when -compress-debug-sections is requested and zlib is not linked
This is a bit of a stab in the dark, since I have zlib on my machine. Just going to bounce it off the bots & see if it sticks.
Do we have some convention for negative REQUIRES: checks? Or do I just need to add a feature like I've done here?
llvm-svn: 205050
show more ...
|
#
7400a979 |
| 27-Mar-2014 |
David Blaikie <dblaikie@gmail.com> |
DebugInfo: Support for compressed debug info sections
1) When creating a .debug_* section and instead create a .zdebug_ section. 2) When creating a fragment in a .zdebug_* section, make it a comp
DebugInfo: Support for compressed debug info sections
1) When creating a .debug_* section and instead create a .zdebug_ section. 2) When creating a fragment in a .zdebug_* section, make it a compressed fragment. 3) When computing the size of a compressed section, compress the data and use the size of the compressed data. 4) Emit the compressed bytes.
Also, check that only if a section has a compressed fragment, then that is the only fragment in the section.
Assert-fail if the fragment's data is modified after it is compressed.
Initial review on llvm-commits by Eric Christopher and Rafael Espindola.
llvm-svn: 204958
show more ...
|
#
52845cfd |
| 20-Mar-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove llvm-mc's disable-cfi option.
It was dead.
llvm-svn: 204404
|
#
56440fd8 |
| 06-Mar-2014 |
Ahmed Charles <ahmedcharles@gmail.com> |
Replace OwningPtr<T> with std::unique_ptr<T>.
This compiles with no changes to clang/lld/lldb with MSVC and includes overloads to various functions which are used by those projects and llvm which ha
Replace OwningPtr<T> with std::unique_ptr<T>.
This compiles with no changes to clang/lld/lldb with MSVC and includes overloads to various functions which are used by those projects and llvm which have OwningPtr's as parameters. This should allow out of tree projects some time to move. There are also no changes to libs/Target, which should help out of tree targets have time to move, if necessary.
llvm-svn: 203083
show more ...
|
#
96c9d95f |
| 05-Mar-2014 |
Ahmed Charles <ahmedcharles@gmail.com> |
[C++11] Replace OwningPtr::take() with OwningPtr::release().
llvm-svn: 202957
|
#
90c7f1cc |
| 24-Feb-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Replace the F_Binary flag with a F_Text one.
After this I will set the default back to F_None. The advantage is that before this patch forgetting to set F_Binary would corrupt a file on windows. For
Replace the F_Binary flag with a F_Text one.
After this I will set the default back to F_None. The advantage is that before this patch forgetting to set F_Binary would corrupt a file on windows. Forgetting to set F_Text produces one that cannot be read in notepad, which is a better failure mode :-)
llvm-svn: 202052
show more ...
|
#
b4eec1da |
| 05-Feb-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove support for not using .loc directives.
Clang itself was not using this. The only way to access it was via llc.
llvm-svn: 200862
|
#
e41383f8 |
| 26-Jan-2014 |
Rafael Espindola <rafael.espindola@gmail.com> |
Pass a MCSubtargetInfo down to the TargetStreamer creation.
With this the target streamers will be able to know the target features that are in use.
llvm-svn: 200135
|