cd81d94322a39503e4a3e87b6ee03d4fcb3465fb |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for rebase to r212749. Includes a cherry-pick of: r212948 - fixes a small issue with atomic calls Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/include/llvm/MC/MCStreamer.h
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/MC/MCStreamer.h
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/MC/MCStreamer.h
|
354362524a72b3fa43a6c09380b7ae3b2380cbba |
|
19-Nov-2013 |
Juergen Ributzka <juergen@apple.com> |
[weak vtables] Remove a bunch of weak vtables This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. The memory leaks in this version have been fixed. Thanks Alexey for pointing them out. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
b21ab43cfc3fa0dacf5c95f04e58b6d804b59a16 |
|
18-Nov-2013 |
Alexey Samsonov <samsonov@google.com> |
Revert r194865 and r194874. This change is incorrect. If you delete virtual destructor of both a base class and a subclass, then the following code: Base *foo = new Child(); delete foo; will not cause the destructor for members of Child class. As a result, I observe plently of memory leaks. Notable examples I investigated are: ObjectBuffer and ObjectBufferStream, AttributeImpl and StringSAttributeImpl. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194997 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5a364c5561ec04e33a6f5d52c14f1bac6f247ea0 |
|
15-Nov-2013 |
Juergen Ributzka <juergen@apple.com> |
[weak vtables] Remove a bunch of weak vtables This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194865 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
23125d02d929758e1b0dbb30b13f1deff7a5ea4b |
|
28-Oct-2013 |
Logan Chien <tzuhsiang.chien@gmail.com> |
[arm] Implement eabi_attribute, cpu, and fpu directives. This commit allows the ARM integrated assembler to parse and assemble the code with .eabi_attribute, .cpu, and .fpu directives. To implement the feature, this commit moves the code from AttrEmitter to ARMTargetStreamers, and several new test cases related to cortex-m4, cortex-r5, and cortex-a15 are added. Besides, this commit also change the Subtarget->isFPOnlySP() to Subtarget->hasD16() to match the usage of .fpu directive. This commit changes the test cases: * Several .eabi_attribute directives in 2010-09-29-mc-asm-header-test.ll are removed because the .fpu directive already cover the functionality. * In the Cortex-A15 test case, the value for Tag_Advanced_SIMD_arch has be changed from 1 to 2, which is more precise. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193524 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5759c3a02902026a27a0d1bc24a5bad85f52bd71 |
|
25-Oct-2013 |
David Blaikie <dblaikie@gmail.com> |
MCStreamer: Reimplement the virtual EmitRawText as a protected member, EmitRawTextImpl, to avoid string literal ambiguities Also improve the implementation of EmitRawText(Twine) so it doesn't bother using the SmallString buffer if the Twine is a simple StringRef anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c7ce3e4f42219003f30382be17d966cb2dfb4e71 |
|
16-Oct-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move .ident handling to MCStreamer. No functionality change, but exposes the API so that codegen can use it too. Patch by Katya Romanova. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192757 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3353c592de08c4a7b7b282714b8044d7cfc4c6ad |
|
09-Oct-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Flip the ownership of MCStreamer and MCTargetStreamer. MCStreamer now owns the target streamer. This prevents leaking the target streamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192303 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
320296a4cfe414ce59f406b8a5ce15272f563103 |
|
08-Oct-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a MCTargetStreamer interface. This patch fixes an old FIXME by creating a MCTargetStreamer interface and moving the target specific functions for ARM, Mips and PPC to it. The ARM streamer is still declared in a common place because it is used from lib/CodeGen/ARMException.cpp, but the Mips and PPC are completely hidden in the corresponding Target directories. I will send an email to llvmdev with instructions on how to use this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5e195a4c8d8cd4498ab7e0aa16a3b6f273daf457 |
|
05-Oct-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove some really nasty uses of hasRawTextSupport. When MC was first added, targets could use hasRawTextSupport to keep features working before they were added to the MC interface. The design goal of MC is to provide an uniform api for printing assembly and object files. Short of relaxations and other corner cases, a object file is just another representation of the assembly. It was never the intention that targets would keep doing things like if (hasRawTextSupport()) Set flags in one way. else Set flags in another way. When they do that they create two code paths and the object file is no longer just another representation of the assembly. This also then requires testing with llc -filetype=obj, which is extremelly brittle. This patch removes some of these hacks by replacing them with smaller ones. The ARM flag setting is trivial, so I just moved it to the constructor. For Mips, the patch adds two temporary hack directives that allow the assembly to represent the same things as the object file was already able to. The hope is that the mips developers will replace the hack directives with the same ones that gas uses and drop the -print-hack-directives flag. I will also try to implement a target streamer interface, so that we can move this out of the common code. In summary, for any new work, two rules of the thumb are * Don't use "llc -filetype=obj" in tests. * Don't add calls to hasRawTextSupport. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192035 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
83ba58e5f0a5afbb23d7d2092d817accded4455a |
|
26-Sep-2013 |
Venkatraman Govindaraju <venkatra@cs.wisc.edu> |
Implements parsing and emitting of .cfi_window_save in MC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191431 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5cc319a42a914b24b164a94d9a563c728a7a4026 |
|
20-Sep-2013 |
Richard Mitton <richard@codersnotes.com> |
Added support for generate DWARF .debug_aranges sections automatically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191052 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
da11df0c22f5d0ba2e2be3ae4a7076c806233db8 |
|
09-Sep-2013 |
Bill Wendling <isanbard@gmail.com> |
Call generateCompactUnwindEncodings() right before we need to output the frame information. There are more than one paths to where the frame information is emitted. Place the call to generateCompactUnwindEncodings() into the method which outputs the frame information, thus ensuring that the encoding is there for every path. This involved threading the MCAsmBackend object through to this method. <rdar://problem/13623355> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190335 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c3cee57f7d20f69a84fd88464ed8cf050e63c7ad |
|
09-Sep-2013 |
Bill Wendling <isanbard@gmail.com> |
Generate compact unwind encoding from CFI directives. We used to generate the compact unwind encoding from the machine instructions. However, this had the problem that if the user used `-save-temps' or compiled their hand-written `.s' file (with CFI directives), we wouldn't generate the compact unwind encoding. Move the algorithm that generates the compact unwind encoding into the MCAsmBackend. This way we can generate the encoding whether the code is from a `.ll' or `.s' file. <rdar://problem/13623355> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190290 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
baaefaf828beb3527a3554af99505822fd4dfabf |
|
07-Sep-2013 |
Bill Wendling <isanbard@gmail.com> |
Run clang-format on these header files. Part of a WIP. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1c9cd021c8999d9c2c0786dff074d1e75bbd0eb2 |
|
09-Aug-2013 |
Saleem Abdulrasool <compnerd@compnerd.org> |
[CodeGen] prevent abnormal on invalid attributes Currently, when an invalid attribute is encountered on processing a .s file, clang will abort due to llvm_unreachable. Invalid user input should not cause an abnormal termination of the compiler. Change the interface to return a boolean to indicate the failure as a first step towards improving hanlding of malformed user input to clang. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188047 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
a3863ea2dacafc925a8272ebf9884fc64bef686c |
|
02-Jul-2013 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove address spaces from MC. This is dead code since PIC16 was removed in 2010. The result was an odd mix, where some parts would carefully pass it along and others would assert it was zero (most of the object streamer for example). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185436 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
b02f1e9a6bc332ebd77571fdffcdc44d77e76b31 |
|
27-Jun-2013 |
Serge Pavlov <sepavloff@gmail.com> |
Use MCFillFragment for zero-initialized data. It fixes PR16338 (ICE when compiling very large two-dimensional array). Differential Revision: http://llvm-reviews.chandlerc.com/D1043 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185080 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
df39be6cb4eb44011db3d3e86f8fe463f81ce127 |
|
17-Apr-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Add support for subsections to the ELF assembler. Fixes PR8717. Differential Revision: http://llvm-reviews.chandlerc.com/D598 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179725 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3de61b4c0144748e4b9157e2c22fe4ea685981a2 |
|
07-Mar-2013 |
Manman Ren <mren@apple.com> |
Debug Info: store the files and directories for each compile unit. We now emit a line table for each compile unit. To reduce the prologue size of each line table, the files and directories used by each compile unit are stored in std::map<unsigned, std::vector< > > instead of std::vector< >. The prologue for a lto'ed image can be as big as 93K. Duplicating 93K for each compile unit causes a huge increase of debug info. With this patch, each prologue will only emit the files required by the compile unit. rdar://problem/13342023 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
77afbdce53aa740777486b0cc4e9df151ae65468 |
|
19-Feb-2013 |
Jack Carter <jcarter@mips.com> |
ELF symbol table field st_other support, excluding visibility bits. Generic STO handling at the Target level. The st_other field of the ELF symbol table is one byte in size. The first 2 bytes are used for generic visibility and are currently handled by llvm. The other six bits are processor specific and need to be set at the target level. A couple of notes: The new static methods for accessing and setting the "other" flags in include/llvm/MC/MCELF.h match the style guide and not the other methods in the file. I don't like the inconsistency, but feel I should follow the prescribed lowerUpper() convention. STO_ value definitions are not specified in gnu land as consistently as the STT_ and STB_ fields. Probably because the latter were defined in a standards doc and the former defined partially in code. I have stuck with the full byte definition of the flags. Contributer: Zoran Jovanovic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
dc08bfbd565ba6540be698bba551b2039661299d |
|
12-Feb-2013 |
Jack Carter <jcarter@mips.com> |
This patch just fixes up various llvm formatting violations such as tabs, blanks at eol and long lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
9c5b94b6be08afe22b576d007353a0002603cef1 |
|
05-Feb-2013 |
Jack Carter <jcarter@mips.com> |
This patch changes a static_cast to dyn_cast for MipsELFStreamer objects. Contributer: Jack Carter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5da3665cc501ed8928e63678254357214ec0b9eb |
|
01-Feb-2013 |
Chandler Carruth <chandlerc@gmail.com> |
Give the MCStreamer class hierarchy LLVM RTTI facilities for use with isa<> and dyn_cast<>. In several places, code is already hacking around the absence of this, and there seem to be several interfaces that might be lifted and/or devirtualized using this. This change was based on a discussion with Jim Grosbach about how best to handle testing for specific MCStreamer subclasses. He said that this was the correct end state, and everything else was too hacky so I decided to just make it so. No functionality should be changed here, this is just threading the kind through all the constructors and setting up the classof overloads. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174113 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
cddd236e8a5acb80e9a0e79dc63f6cfaa8205b86 |
|
18-Jan-2013 |
Daniel Dunbar <daniel@zuster.org> |
[MC/Mach-O] Add AsmParser support for .linker_option directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172778 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
030f63a397edc20f8f661bac62f7b90cb5cf57bc |
|
14-Jan-2013 |
Eli Bendersky <eliben@google.com> |
Expose an InitToTextSection through MCStreamer. The aim of this patch is to fix the following piece of code in the platform-independent AsmParser: void AsmParser::CheckForValidSection() { if (!ParsingInlineAsm && !getStreamer().getCurrentSection()) { TokError("expected section directive before assembly directive"); Out.SwitchSection(Ctx.getMachOSection( "__TEXT", "__text", MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS, 0, SectionKind::getText())); } } This was added for the "-n" option of llvm-mc. The proposed fix adds another virtual method to MCStreamer, called InitToTextSection. Conceptually, it's similar to the existing InitSections which initializes all common sections and switches to text. The new method is implemented by each platform streamer in a way that it sees fit. So AsmParser can now do this: void AsmParser::CheckForValidSection() { if (!ParsingInlineAsm && !getStreamer().getCurrentSection()) { TokError("expected section directive before assembly directive"); Out.InitToTextSection(); } } Which is much more reasonable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172450 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1ced208be9cab0f994c5df9000da36bc313b2507 |
|
09-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
Last in the series of removing unnecessary '0' arguments for address space. Reordered the EmitULEB128IntValue arguments to make this easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171949 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ca1dd05c3c12e857614ae6837f90894396225dd6 |
|
09-Jan-2013 |
Eric Christopher <echristo@gmail.com> |
These functions have default arguments of 0 for the last arg. Use them and add one where it seemed obvious that we wanted one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6c1d4972cf1cd6b6072e31c05f97abb1ed7a8497 |
|
07-Jan-2013 |
Eli Bendersky <eliben@google.com> |
Add the align_to_end option to .bundle_lock in the MC implementation of aligned bundling. The document describing this feature and the implementation has also been updated: https://sites.google.com/a/chromium.org/dev/nativeclient/pnacl/aligned-bundling-support-in-llvm git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171797 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
4766ef41b31e4f97bce1179c3b0398303bf65356 |
|
20-Dec-2012 |
Eli Bendersky <eliben@google.com> |
Aligned bundling support. Following the discussion here: http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-December/056754.html The proposal and implementation are fully documented here: https://sites.google.com/a/chromium.org/dev/nativeclient/pnacl/aligned-bundling-support-in-llvm Tests will follow shortly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170718 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
2c3a4641a7785da78839caf574277df9cd93b52c |
|
16-Dec-2012 |
Reed Kotler <rkotler@mips.com> |
This patch is needed to make c++ exceptions work for mips16. Mips16 is really a processor decoding mode (ala thumb 1) and in the same program, mips16 and mips32 functions can exist and can call each other. If a jal type instruction encounters an address with the lower bit set, then the processor switches to mips16 mode (if it is not already in it). If the lower bit is not set, then it switches to mips32 mode. The linker knows which functions are mips16 and which are mips32. When relocation is performed on code labels, this lower order bit is set if the code label is a mips16 code label. In general this works just fine, however when creating exception handling tables and dwarf, there are cases where you don't want this lower order bit added in. This has been traditionally distinguished in gas assembly source by using a different syntax for the label. lab1: ; this will cause the lower order bit to be added lab2=. ; this will not cause the lower order bit to be added In some cases, it does not matter because in dwarf and debug tables the difference of two labels is used and in that case the lower order bits subtract each other out. To fix this, I have added to mcstreamer the notion of a debuglabel. The default is for label and debug label to be the same. So calling EmitLabel and EmitDebugLabel produce the same result. For various reasons, there is only one set of labels that needs to be modified for the mips exceptions to work. These are the "$eh_func_beginXXX" labels. Mips overrides the debug label suffix from ":" to "=." . This initial patch fixes exceptions. More changes most likely will be needed to DwarfCFException to make all of this work for actual debugging. These changes will be to emit debug labels in some places where a simple label is emitted now. Some historical discussion on this from gcc can be found at: http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00623.html http://gcc.gnu.org/ml/gcc-patches/2008-11/msg01273.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5399d2502acaf96fe8420e61913e77f0b23650ff |
|
12-Dec-2012 |
Pedro Artigas <partigas@apple.com> |
Make the MCStreamer have a reset method and call that after finalization of the asm printer, also changed MCContext to a single reset only method for simplicity as requested on the list git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170041 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
07f6a4fde0a1b081fbefd986345c9b2f4f85e88a |
|
10-Dec-2012 |
Lang Hames <lhames@gmail.com> |
Defer call to InitSections until after MCContext has been initialized. If InitSections is called before the MCContext is initialized it could cause duplicate temporary symbols to be emitted later (after context initialization resets the temporary label counter). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169785 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
255f89faee13dc491cb64fbeae3c763e7e2ea4e6 |
|
03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Sort the #include lines for the include/... tree with the script. AKA: Recompile *ALL* the source code! This one went much better. No manual edits here. I spot-checked for silliness and grep-checked for really broken edits and everything seemed good. It all still compiles. Yell if you see something that looks goofy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169133 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f4f14f68f6078ea6681ee27b5bf42719d7db3441 |
|
25-Nov-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for .cfi_register now that it is easy to extent the representation to support it. Original patch with the parsing and plumbing by the PaX team and Roman Divacky. I added the bits in MCDwarf.cpp and the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
529a01df02ad221e8e55097a8ee36b85234eb078 |
|
24-Nov-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Move a bit of duplicated code into a helper function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168533 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c8fec7e21f5c24303eab8a8592f3b8faff347d86 |
|
23-Nov-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement .cfi_undefined. Based on a patch from PaX team, updated by Roman Divacky. I just added the testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168520 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f35c62bf025411393c7df0803851010cc0e597ba |
|
15-Oct-2012 |
Adhemerval Zanella <azanella@linux.vnet.ibm.com> |
PowerPC: add EmitTCEntry class for TOC creation This patch replaces the EmitRawText by a EmitTCEntry class (specialized for each Streamer) in PowerPC64 TOC entry creation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c5252da873d547a19069eaf9030fec203f128f66 |
|
14-Sep-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Fix Doxygen issues: * wrap code blocks in \code ... \endcode; * refer to parameter names in paragraphs correctly (\arg is not what most people want -- it starts a new paragraph); * use \param instead of \arg to document parameters in order to be consistent with the rest of the codebase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163902 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1f7210e808373fa92be3a2d4fa653a6f79d5088b |
|
29-Aug-2012 |
Craig Topper <craig.topper@gmail.com> |
Make use of the LLVM_DELETED_FUNCTION macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
a00b80b04c5edb08639c1c6b32e9231fd8b066f7 |
|
23-Aug-2012 |
Dmitri Gribenko <gribozavr@gmail.com> |
Fix a bunch of -Wdocumentation warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162446 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c90a1fcf9f44858b20e0f5f7e0b98049aec7a1e0 |
|
22-Jun-2012 |
Evan Cheng <evan.cheng@apple.com> |
EmitZerofill should take a 64-bit size or else it's chopping off large zero-filled global. rdar://11729134 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159023 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3e96531186ba574b0c25a4be62d24b8b7d752c9f |
|
18-May-2012 |
Jim Grosbach <grosbach@apple.com> |
Refactor data-in-code annotations. Use a dedicated MachO load command to annotate data-in-code regions. This is the same format the linker produces for final executable images, allowing consistency of representation and use of introspection tools for both object and executable files. Data-in-code regions are annotated via ".data_region"/".end_data_region" directive pairs, with an optional region type. data_region_directive := ".data_region" { region_type } region_type := "jt8" | "jt16" | "jt32" | "jta32" end_data_region_directive := ".end_data_region" The previous handling of ARM-style "$d.*" labels was broken and has been removed. Specifically, it didn't handle ARM vs. Thumb mode when marking the end of the section. rdar://11459456 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f1d0f7781e766df878bec4e7977fa3204374f394 |
|
26-Mar-2012 |
Craig Topper <craig.topper@gmail.com> |
Prune some includes and forward declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6c2cf8b1fbcf70fd9db6fe44032c1ceaa2299760 |
|
03-Feb-2012 |
Akira Hatanaka <ahatanaka@mips.com> |
Add a new MachineJumpTableInfo entry type, EK_GPRel64BlockAddress, which is needed to emit a 64-bit gp-relative relocation entry. Make changes necessary for emitting jump tables which have entries with directive .gpdword. This patch does not implement the parts needed for direct object emission or JIT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ebd4c05c3cbd61215366d4d16f1c1a2e57e7156d |
|
27-Jan-2012 |
Jim Grosbach <grosbach@apple.com> |
Better diagnostic for malformed .org assembly directive. Provide source line number information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
16d7d437e03ce87fdaef7971919302920d54a966 |
|
23-Jan-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for .cfi_signal_frame. Fixes pr11762. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148733 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
9cce24a257108ec50f65652d233b9ffadc691682 |
|
10-Jan-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove the logging streamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147820 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1fe9737eb49ecb80fbb547f0e16e10a726cd53cf |
|
09-Jan-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't print an unused label before .cfi_endproc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
547be2699c547b79a7735858a64921d8ccf180f7 |
|
07-Jan-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Don't print a label before .cfi_startproc when we don't need to. This makes the produce assembly when using CFI just a bit more readable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147743 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
99b4237c1647156f0e1d3d7e03efdab23ed79778 |
|
07-Jan-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Split Finish into Finish and FinishImpl to have a common place to do end of file error checking. Use that to error on an unfinished cfi_startproc. The error is not nice, but is already better than a segmentation fault. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ed23bdb65fe86cdb7a38c8c1998ec965e6973966 |
|
29-Dec-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement cfi_restore. Patch by Brian Anderson! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147356 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6f0b181bc70318f8d5d4b9bdead7fc748677fe2a |
|
29-Dec-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement .cfi_escape. Patch by Brian Anderson! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147352 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
8f7d12ccfd8feb258bdf4e582592bc00beacc7c6 |
|
17-Dec-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add back the MC bits of 126425. Original patch by Nathan Jeffords. I added the asm parsing and testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
91f2cce231debf43384fe4ee39c11ba8460503eb |
|
06-Dec-2011 |
Jim Grosbach <grosbach@apple.com> |
Tidy up. Hard tabs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145877 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c25c90897781f116d5dbabab170bafcf65900fa7 |
|
05-Nov-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add an option to pad an uleb128 to MCObjectWriter and remove the uleb128 encoding from the DWARF asm printer. As a side effect we now print dwarf ulebs with .ascii directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143809 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
44d798d9763bc32aaf49fe7c10d604845f4b6685 |
|
18-Oct-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Add support for a new extension to the .file directive: .file filenumber "directory" "filename" This removes one join+split of the directory+filename in MC internals. Because bitcode files have independent fields for directory and filenames in debug info, this patch may change the .o files written by existing .bc files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
2fec6c5ff153786744ba7d0d302b73179731c5e9 |
|
05-Oct-2011 |
Owen Anderson <resistor@mac.com> |
Teach the MC to output code/data region marker labels in MachO and ELF modes. These are used by disassemblers to provide better disassembly, particularly on targets like ARM Thumb that like to intermingle data in the TEXT segment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141135 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
36a16015ac108e2f0dd2d6d96a6d364bc74c50d7 |
|
02-Sep-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Don't drop alignment info on local common symbols. - On COFF the .lcomm directive has an alignment argument. - On ELF we fall back to .local + .comm Based on a patch by NAKAMURA Takumi. Fixes PR9337, PR9483 and PR10128. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138976 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
49cb9b88867426d1a430f248550d3cc785a68fe4 |
|
02-Aug-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Assume .cfi_startproc is the first thing in a function. If the function is externally visable, create a local symbol to use in the CFE. If not, use the function label itself. Fixes PR10420. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136716 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
78c10eeaa57d1c6c4b7781d3c0bcb0cfbbc43b5c |
|
26-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Rename TargetAsmBackend to MCAsmBackend; rename createAsmBackend to createMCAsmBackend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136010 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
dda1bdc962a314bf4fca86f4cd4802ff6c55b172 |
|
22-Jul-2011 |
Bill Wendling <isanbard@gmail.com> |
Add a method to get the list of FrameInfos. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
d967578a8c506be341d20a1558eebb31484b8b6d |
|
19-Jul-2011 |
Bill Wendling <isanbard@gmail.com> |
Add a method to set compact unwind encoding information in a frame. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
672b93a3324cc1da6d374eed4c75c050a9cad7be |
|
14-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Unfortunately several files in MC are badly violating layering rule by using TargetAsmInfo, which in turn pulls in TargetRegisterInfo, etc. :-( There are other cases of violations, but this is probably the worst. This patch is but one small step towards fixing this. 500 more steps to go. :-( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
e266ce6c6eaf52ebe2b18d85b5e23788cf2f6ef4 |
|
17-Jun-2011 |
Bill Wendling <isanbard@gmail.com> |
Use the verbose asm flag instead of a new flag for decoding the LSDA. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133292 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
916a94b870042772568fca7995cf45aef7a6e333 |
|
17-Jun-2011 |
Bill Wendling <isanbard@gmail.com> |
Add an option that allows one to "decode" the LSDA. The LSDA is a bit difficult for the non-initiated to read. Even with comments, it's not always clear what's going on. This wraps the ASM streamer in a class that retains the LSDA and then emits a human-readable description of what's going on in it. So instead of having to make sense of: Lexception1: .byte 255 .byte 155 .byte 168 .space 1 .byte 3 .byte 26 Lset0 = Ltmp7-Leh_func_begin1 .long Lset0 Lset1 = Ltmp812-Ltmp7 .long Lset1 Lset2 = Ltmp913-Leh_func_begin1 .long Lset2 .byte 3 Lset3 = Ltmp812-Leh_func_begin1 .long Lset3 Lset4 = Leh_func_end1-Ltmp812 .long Lset4 .long 0 .byte 0 .byte 1 .byte 0 .byte 2 .byte 125 .long __ZTIi@GOTPCREL+4 .long __ZTIPKc@GOTPCREL+4 you can read this instead: ## Exception Handling Table: Lexception1 ## @LPStart Encoding: omit ## @TType Encoding: indirect pcrel sdata4 ## @TType Base: 40 bytes ## @CallSite Encoding: udata4 ## @Action Table Size: 26 bytes ## Action 1: ## A throw between Ltmp7 and Ltmp812 jumps to Ltmp913 on an exception. ## For type(s): __ZTIi@GOTPCREL+4 __ZTIPKc@GOTPCREL+4 ## Action 2: ## A throw between Ltmp812 and Leh_func_end1 does not have a landing pad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133286 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ca93138e11f404a19553049a569f1fa6ad491b67 |
|
26-May-2011 |
Charles Davis <cdavis@mines.edu> |
Test .seh_startchained and .seh_endchained parsing. Rework how the MCWin64EHUnwindInfo instances are stored. Fix issues with chained unwind areas exposed by the test that were related to this. The ChainedParent field had the wrong address, because when the chained unwind info was added, the addresses shifted around. Now we store the pointers to the structures, which are now allocated from the MC heap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132106 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
410ef2b263e92d3de1b2acff7437059400daed7d |
|
25-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add tests for .seh_setframe and .seh_handlerdata parsing. Fix issues with them. I had to add a special SwitchSectionNoChange method to MCStreamer just for .seh_handlerdata. If this isn't OK, please let me know, and I'll find some other way to fix .seh_handlerdata streaming. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132084 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
fbc539ff37ddd08c2480be9185e7a40919ce8940 |
|
22-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add methods to parse the SEH directives to the COFFAsmParser. Implement some of them, particularly the ones that don't take arguments. Also implement .seh_proc and .seh_handler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131866 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
38ea9eecd7c810e11f96c8306b241f9db88fc62f |
|
22-May-2011 |
Charles Davis <cdavis@mines.edu> |
Implement emission of all Win64 exception tables. Make the COFF streamer emit these tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3185f5c35322cbd10040ab20f265042d477efe62 |
|
22-May-2011 |
Charles Davis <cdavis@mines.edu> |
Make the COFF streamer emit unwind info when processing a .seh_handlerdata directive. Implement emission of Win64 EH unwind info. Pull in <cassert> in MCWin64EH.h so it can use the assert() macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131832 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
a6f2678f08299f053feb58337fc4322131d99bf4 |
|
19-May-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Misc code refactorings: * Remove unnecessary arguments now that ForceExpAbs is a method. * Use ForceExpAbs in EmitAbsValue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131683 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c3b162857a587c9877e903f038471b882b213232 |
|
19-May-2011 |
Charles Davis <cdavis@mines.edu> |
Implement the Win64 EH prolog instruction methods on the base MCStreamer. I had to change the API slightly to avoid overloading issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131666 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
440596ffe5bb77a202acb36d5eadd158976ff39a |
|
19-May-2011 |
Charles Davis <cdavis@mines.edu> |
Turns out GAS does have Win64 EH directives. (It also supports WinCE EH.) Make ours compatible with GAS. In retrospect, I should have emailed binutils about this earlier. Thanks to Kai Tietz for pointing out that GAS already had SEH directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131652 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
91d9a1c0f7c598d51c50f80bc9e8dfc1494f78c1 |
|
19-May-2011 |
Charles Davis <cdavis@mines.edu> |
Implement the StartChained and EndChained Win64 EH methods on MCStreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
0855bc5b973320052c87bdcc2fa17b9711edc3de |
|
19-May-2011 |
Charles Davis <cdavis@mines.edu> |
Implement the StartProc and EndProc Win64 EH methods on the base MCStreamer. Based largely on Rafael Espindola's work on CFI. Other methods soon to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131623 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f07090134d06e0cf3508e8b8e87d775f0a7982c1 |
|
18-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add some more Win64 EH directives: - StartChained and EndChained delimit a chained unwind area, which can contain additional operations to be undone if an exception occurs inside of it. - UnwindOnly declares that this function doesn't handle any exceptions. If it has a handler, it's an unwind handler instead of an exception handler. - Lsda declares the location and size of the LSDA, which in the Win64 EH scheme is kept inside the UNWIND_INFO struct. Windows itself ignores the LSDA; it's used by the Language-Specific Handler (the "Personality Function" from DWARF). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131572 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
9c77398d1c89f615735d304cd7eda3c3e9b1504f |
|
18-May-2011 |
Charles Davis <cdavis@mines.edu> |
While thinking about how to know where the functions' boundaries are for the purposes of the Win64 EH tables, I realized we had no way to tell where the function ends. (MASM bounds functions with PROC and ENDP keywords.) Add a directive to delimit the end of the function, and rename the 'frame' directive to more accurately reflect its duality with the new directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131522 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
cacdc4fc41f035c149d5f1b92acd587d475ffd58 |
|
16-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add a method I forgot in the last commit. Don't worry, this one passed self-host :). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131421 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ff96a12db635daf4f88cfea899e63a885dfaa9ed |
|
15-May-2011 |
Charles Davis <cdavis@mines.edu> |
Add stub methods to MCStreamer for emitting Win64 exception-handling information. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131382 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c25dad8750083829d9a8935ce40d0734e5488f8e |
|
10-May-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Factor some code into a new EmitFrames method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131119 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f9efd83166401bca542c6702ea329f9901c4e04b |
|
10-May-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Parsing and plumbing for .cfi_sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131117 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
debd7e4e8bc5cfe61bfb71835ce2b1a3fbccc2be |
|
01-May-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Simplify the handling of pcrel relocations on ELF. Now we do the right thing for all symbol differences and can drop the old EmitPCRelSymbolValue method. This also make getExprForFDESymbol on ELF equal to the one on MachO, and it can be made non-virtual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f1a5c7ec04002769f1638e64f7439589f0f926e6 |
|
30-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add all the plumbing needed for MC to expand cfi to the old tables in the final assembly. It is the same technique used when targeting assemblers that don't support .loc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130587 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
a37bd1d02c0e3d93474fdf30352bf4a425cbe25b |
|
30-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement MCAsmStreamer::EmitDwarfAdvanceFrameAddr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130585 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
8bca4106dfc2945723251db10e340183f3e372dd |
|
28-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Mark the EH symbol global or weak if the corresponding function is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130397 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ed708f9c1facb9928ef2f79503e7030c8f25b00d |
|
27-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Factor a bit of code to MCStreamer::EmitLabel. Keep track of the last non private symbol. This will be use for handling foo: .cfi_startproc ... On OS X where we have to create a foo.eh symbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130305 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
e8cfbd843d737e1f95c3032c7670c2be3838a6f6 |
|
22-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove unused argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3f3bf9387b75f4c932e4c59bd7af719d26ae4b99 |
|
18-Apr-2011 |
Devang Patel <dpatel@apple.com> |
Reduce clutter in asm output. Do not emit source location as comment for each instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
066c2f495ae396ce5335e374c45b1e4ace4f2470 |
|
13-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Be consistent about being virtual and returning void in the cfi methods. Implement the ones that were missing in the asm streamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129413 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5d7dcd3335234d2a2bc16dc69f86fbb5dcaa8962 |
|
12-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove LastOffset from the asm parser. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129378 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
25f492e77858dc5a95fcd7180e73aff47925b668 |
|
12-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fix the case of a .cfi_rel_offset before any .cfi_def_cfa_offset. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129362 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c57543964d1382d3d3a5005f415b6c0f49671b3a |
|
12-Apr-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement .cfi_same_value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
57caad7a33ff145b71545f10dcfbbf2fd0f595d3 |
|
05-Mar-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Preliminary support for ARM frame save directives emission via MI flags. This is just very first approximation how the stuff should be done (e.g. ARM-only for now). More to follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127101 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
b5e16af9ea04cc1f94ca631104e5e6be96546aa1 |
|
05-Mar-2011 |
Anton Korobeynikov <asl@math.spbu.ru> |
Some first rudimentary support for ARM EHABI: print exception table in "text mode". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f754f50805fee2bb4d461a9b41107122a22cd6f6 |
|
25-Feb-2011 |
Cameron Zwarich <zwarich@apple.com> |
Roll out r126425 and r126450 to see if it fixes the failures on the buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126488 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f410608271b6318bfc9e26c0d199f185d5a89ccb |
|
24-Feb-2011 |
Devang Patel <dpatel@apple.com> |
Enable DebugInfo support for COFF object files. Patch by Nathan Jeffords! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
7d0805dcb82e9ba1d90ce8d702169683b9caded7 |
|
21-Feb-2011 |
Joerg Sonnenberger <joerg@bec.de> |
Use a vector of pairs to implement the section stack, not two independent vectors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126099 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
7768a9dce14431018133cd586f5c8ce3e057f069 |
|
16-Feb-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for pushsection and popsection. Patch by Joerg Sonnenberger. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125629 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
96aa78c8c5ef1a5f268539c9edc86569b436d573 |
|
23-Jan-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for the --noexecstack option. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
b40a71fda188f8ca564e606ac2cb051a44ada311 |
|
29-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement cfi_def_cfa. Also don't convert to dwarf reg numbers twice. Looks like 6 is a fixed point of that and so the previous tests were OK :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
fe024d0a624404ada11fb330e7360abc5f88742e |
|
28-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement .cfi_remember_state and .cfi_restore_state. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
245a1e20419aa5a3c833d7a8e89168e19d5f4d2c |
|
28-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Relax address updates in the eh_frame section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122591 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
bdc3167c086dd4358e24692075db5e7784140843 |
|
27-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for .cfi_lsda. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122584 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3a83c40ab61d5ca624f2bbadd70237c6adbdb304 |
|
27-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for the same encodings of the personality function that gnu as supports. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122577 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
d7c8ccae8e48dce3ab7c3e9b4d8a309998c47961 |
|
26-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add basic support for .cfi_personality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
745dacc91d7ee9531bfba76b21beb5d4eef93a7d |
|
16-Dec-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC: Make TargetAsmBackend available to the AsmStreamer. - Treaty talks on the non-proliferation of MC objects broke down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121949 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
89b9372605db2ce3b0085c84089e389f7bc1fbdd |
|
10-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fixed version of 121434 with no new memory leaks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121471 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f7fd4aa2610f46467369de07f3ec669561d79be0 |
|
10-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert my previous patch to make the valgrind bots happy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121461 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1c952b9cc98e84b28f68f0f6cf11197263f89863 |
|
10-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Initial support for the cfi directives. This is just enough to get f: .cfi_startproc nop .cfi_endproc assembled (on ELF). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121434 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
0bbe0b440ee2cef47dcb7b281825eb70341c16dd |
|
06-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Second try at making direct object emission produce the same results as llc + llvm-mc. This time ELF is not changed and I tested that llvm-gcc bootstrap on darwin10 using darwin9's assembler and linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121006 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6d86492f5ed0f9853ddd3b24e1aa037e305e1784 |
|
06-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert previous two patches while I try to find out how to make both linux and darwin assemblers happy :-( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
2303c9dd69476d045af7cee94e112dd77d22fd28 |
|
06-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add an EmitAbsValue helper method and use it in cases where we want to be sure that no relocations are used (on MochO). Fixes llc producing different output from llc + llvm-mc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5d4918dbd116b0b5e561c431b1ea527ee1b9302a |
|
04-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
There are two reasons why we might want to use foo = a - b .long foo instead of just .long a - b First, on darwin9 64 bits the assembler produces the wrong result. Second, if "a" is the end of the section all darwin assemblers (9, 10 and mc) will not consider a - b to be a constant but will if the dummy foo is created. Split how we handle these cases. The first one is something MC should take care of. The second one has to be handled by the caller. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120889 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
2df042cb32ecb8d2e1d499dfa27d5074c8b40e13 |
|
03-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make EmitIntValue more efficient and more like what we do for leb128. The difference is much smaller (about 0.3s) but significant. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120787 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
32a006e606742b1c5401e49607e33717bb5441f0 |
|
03-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Try to resolve symbol differences early, and if successful create a plain data fragment. This reduces the time to assemble the test in 8711 from 60s to 54s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ee4854faf3a4dc622dcb75fe352e33fb32385b3f |
|
02-Dec-2010 |
Devang Patel <dpatel@apple.com> |
Use set directive for StartMinusEndExpr. This is a fix for llvm-gcc-i386-darwin9 buildbot failure. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120742 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1f6efa3996dd1929fbc129203ce5009b620e6969 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120298 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ec0b428398c5fb91fdce5d3d003ab0e4b75b5d6a |
|
29-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make EmitIntValue non virtual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120271 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
175ccab75f3a355285cf4533c201cbcecfd5928d |
|
28-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make EmitSymbolValue non virtual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120244 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3e03211625bba5bbb70a193c140ebf4dd8388bb7 |
|
28-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Avoid code duplication in the many unsupported EmitGPRel32Value implementations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120243 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
71e7f9210d87fa29202d851c43b5e91bbbd2fa51 |
|
28-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Make EmitULEB128IntValue and EmitSLEB128IntValue non virtual. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120242 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
cdfecc8759941c2996214070478d30084b79d463 |
|
22-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add basic CFI methods to the streamer interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
195a0ce484cd12a5adae9184188f6d0fb52b84c0 |
|
19-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Change some methods in MCDwarf.cpp to be able to handle an arbitrary MCStreamer instead of just MCObjectStreamer. Address changes cannot be as efficient as we have to use DW_LNE_set_addres, but at least most of the logic is shared. This will be used so that, with CodeGen still using EmitDwarfLocDirective, llvm-gcc is able to produce debug_line sections without needing an assembler that supports .loc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119777 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
abc756216dbace87826398f8fa1e8e57e401cc86 |
|
17-Nov-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC-JIT: Stub out "pure" streamer. - No immediate use, but maybe someone feels like hacking on it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119510 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
af6b5808756d6ce335df9eb158efa33894b401c4 |
|
16-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add .loc methods to the streamer. Next: Add support for the !HasDotLocAndDotFile case to the MCAsmStreamer and then switch codegen to use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ce79299f78bb04e76e1860ab119b85d69f3a19c7 |
|
05-Nov-2010 |
Jim Grosbach <grosbach@apple.com> |
MC'ize the '.code 16' and '.thumb_func' ARM directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3ff57094a7d176a759ddb1e1668489d89064f56c |
|
02-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for expressions in .sleb/.uleb directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118023 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
484291c27319668ad99cb87def000254357736fb |
|
01-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement .weakref. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117911 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3bb435301a2b5c901a993b0e151d05b596697038 |
|
30-Sep-2010 |
Kevin Enderby <enderby@apple.com> |
Did my commit for the last patch for the .loc directory from the wrong place and missed a bunch of files. Here the rest. Sorry about that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
d80781b98b771d370730ab7c630018f23e202b57 |
|
15-Sep-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add a InitSections method to the streamer interface. The ELF implementation now creates text, data and bss to match the gnu as behavior. The text streamer still has the old MachO specific behavior since the testsuite checks that it will error when a directive is given before a setting the current section for example. A nice benefit is that -n is not required anymore when producing ELF files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114027 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
0dd2c9331887b9d0aa06b1e201c5eda4361365fc |
|
15-Sep-2010 |
Jim Grosbach <grosbach@apple.com> |
trailing whitespace and 80 column cleanup git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113977 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1674b0b0e4972b844833f253286cbf99a6e99d6e |
|
02-Sep-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add AsmParser support for the ELF .previous directive. Patch by Roman Divacky. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6b2e257e74b2c8e2f93bb244e0c80cb73005b74a |
|
16-Aug-2010 |
Matt Fleming <matt@console-pimps.org> |
Add ELF ObjectWriter and Streamer support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111172 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c257c669df0412606bfd06668367a0fc7f96df0a |
|
06-Aug-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC: Add default value for AddrSpace argument to EmitValue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110475 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
e2195d8b357d7081edb5eb09d1d6e9d7b4bfc308 |
|
31-Jul-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Add relax all support to the COFF object streamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1abcd06856df324eac98d4bf5ba673fb77ae6a11 |
|
29-Jul-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Plug the remaining MC leaks by giving MCObjectStreamer/MCAsmStreamer ownership of the TargetAsmBackend and the MCCodeEmitter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
eb72dcaef7423069cf8f9e802fa8de64dc8f8f30 |
|
12-Jul-2010 |
Chris Lattner <sabre@nondot.org> |
introduce WinCOFFStreamer.cpp, patch by Michael Spencer! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108102 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
4b1000d117f1b7cc5411bc251d141fe182a4ae1c |
|
01-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Don't call flush() at a library level which isn't checking for errors and doesn't know where the output is going. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105274 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
d86e6ac9892ee61742d85f9f14f1179216d2e47b |
|
01-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Fix a typo in a comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
fdb5a8617996a20370756962e34c2e80176d6e87 |
|
23-May-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC: Add an MCLoggingStreamer, for use in debugging integrated-as mismatches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
0df4a80e2063424929bbfaa61dd7973062218ad4 |
|
22-May-2010 |
Eric Christopher <echristo@apple.com> |
Fix comment and whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104392 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
4d01cbe93b0e1a349b5c2881f1b319963f9e0504 |
|
18-May-2010 |
Eric Christopher <echristo@apple.com> |
Make EmitTBSSSymbol take a section argument so that we can find it later. Fix up callers and users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
482eba054ab3543ee0e1f453d3d6441092f4b76d |
|
14-May-2010 |
Eric Christopher <echristo@apple.com> |
Add AsmParser support for darwin tbss directive. Nothing uses this yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103757 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
b54b9ddaaf2d258767d360583642ed1b91075fc9 |
|
08-May-2010 |
Chris Lattner <sabre@nondot.org> |
break coff symbol definition stuff out into proper MCStreamer callbacks, patch by Nathan Jeffords! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103346 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
58bc4dd4a91443ddd3120b0a2f1801ad4d6aae1c |
|
04-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
add a twine form of MCStreamer::EmitRawText, and mc'ize a few more things in AsmPrinter.cpp. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
91bead790518fcf5cb26019fb1ebf2372e8a5b3f |
|
03-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
add a new EmitInlineAsm function to asmprinter to handle inline asm. If we have an MCAsmStreamer, we continue to emit asm textually, otherwise we (currently) emit an error to errs and ignore it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100289 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ac2884a717daf3ad2aa8425320795d661e8a980b |
|
25-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Add a -mc-relax-all option, which relaxes every fixup. We always need exactly two passes in that case, and don't ever need to recompute any layout, so this is a nice baseline for relaxation performance. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99563 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6a4824c466bbfbcbe7dc4d95ec1e23a14ec73d87 |
|
25-Mar-2010 |
Dan Gohman <gohman@apple.com> |
Docuemntation corrections from John Myers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99454 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
4c42a6de9f5456cc1b28f2d37db589f580f2adc7 |
|
19-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
fix an MCInstPrinter leak that jyasskin pointed out: createAsmStreamer now takes ownership of the instprinter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98939 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
fdab14b10564283028e9bdb628d095feae7fa071 |
|
12-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
remove MAI argument from createAsmStreamer since it can get it from the context now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98361 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1f3e445184e5ca2aa4295c2a77f2a4e0b957fea1 |
|
11-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
MC: Provide MCAssembler with a TargetAsmBackend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98222 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6cde3e6e993126df756e3be5b9ef43540b904644 |
|
09-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
add a EmitSymbolValue convenience method to MCStreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98017 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6e72048add2a6464e038121c6c275da37528aa0a |
|
23-Feb-2010 |
Kevin Enderby <enderby@apple.com> |
This is the first patch to put the needed bits in place to eventually allow code to be aligned with optimal nops. This patch does not change any functionality and when the compiler is changed to use EmitCodeAlignment() it should also not change the resulting output. Once the compiler change is made and everything looks good the next patch with the table of optimal X86 nops will be added to WriteNopData() changing the output. There are many FIXMEs in this patch which will be removed when we have better target hooks (coming soon I hear). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96963 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
fb76fe09297ee292129e44d723127f2408602a3d |
|
22-Feb-2010 |
Dan Gohman <gohman@apple.com> |
Fix various doxygen warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96779 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5532cf44a012149ce3afce43dbd0651b4d87a505 |
|
10-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Remove --show-fixups and always show as part of --show-encoding. Also, fix a silly memory leak. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6b71653c82f86626f64356c308d7356a17b05834 |
|
10-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Add --show-fixups option, for displaying the instruction fixup information in the asm comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95710 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
9dee8e3009408fd08c656558397a8ac8604139ba |
|
03-Feb-2010 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Add --show-inst option, for showing the MCInst inline with the assembly output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ac7798e9062f9bc371709ed445e1b3153b581e9a |
|
03-Feb-2010 |
Chris Lattner <sabre@nondot.org> |
Hook up -filetype=obj through the MachO streamer. Here's a demo: $ cat t.ll @g = global i32 42 $ llc t.ll -o t.o -filetype=obj $ nm t.o 00000000 D _g There is still a ton of work left. Instructions are not being encoded yet apparently. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
56591ab218639d8a6e4c756ca37adaf20215c3b6 |
|
03-Feb-2010 |
Chris Lattner <sabre@nondot.org> |
refactor code so that LLVMTargetMachine creates the asmstreamer and mccontext instead of having AsmPrinter do it. This allows other types of MCStreamer's to be passed in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95155 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
718fb59801320b8cb22363d115b5fc5ec40dc1f5 |
|
25-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
mcstreamerize gprel32 emission. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94452 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
a6594fc7156c0afbe6fd5a6aab9b099aaf950c53 |
|
25-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
mcstreamerize .file and .file. This also fixes an issue where the normal form of .file would fail if the filename had a weird character in it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94437 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
99328add833807f12a4950c7de29fb2a5df04703 |
|
25-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
emit the .size directive for global variables on ELF through mcstreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94416 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
9eb158d5b4cd4f6fc80912e2dd77bdf13c3ca0e7 |
|
23-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
mcize lcomm, simplify .comm, extend both to support 64-bit sizes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94299 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
a5ad93a10a5435f21090b09edb6b3a7e44967648 |
|
23-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
move the various directive enums out of the MCStreamer class into a new MCDirectives.h file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
3924868a957d5a6d468b61741cbb7db77324d1f6 |
|
23-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
mcize jump table and constant pool entry labels, .local on elf, and some .weak directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94284 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
0fd90fd8d1c2143a763dee509c66a5b3c74088b1 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
Convert some more random-comment-printing stuff to use AddComment and GetCommentOS. Add a blank line between globals (even in non-verbose mode) to make the assembly more readable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94202 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
d79d9dce47d505369662ae5111dba24f9ccdef68 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
add a new MCAsmStreamer::GetCommentOS method to simplify stuff that doesn't want to use twines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94199 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
d32c7cfa248f685e6e3064c0958dc2f0c31a4df6 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
rename addComment -> AddComment for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94190 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
86e2211d0a496f470ea1d320161c8dc43593c5c6 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
Add the ability for MCStreamer to emit comments on the same line as directives. Switch over the asm-verbose comment for double values to use it. We now get: _x: .long 343597384 ## double 1.231200e+02 .long 1079953326 For example, note that the comment is on the same line as the .long. Woo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94166 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
07404415ab97883b80d0dd87f1c5308e4eccbfd4 |
|
22-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
pass "-fasm-verbose" into createAsmStreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94165 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1658202529cf371e7e5f1a46d9ef80def5b3c3e0 |
|
20-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
give createAsmStreamer an 'isLittleEndian' argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93986 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
32ae3fe0ba469240753e2342e36485f7c9acfb5c |
|
19-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
add a new EmitIntValue method that MCStreamer impls can optionally define and that clients can use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93923 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6449abfbc86310edbbe0b5ffb3fad5c14301307f |
|
19-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
eliminate AsmPrinter::EmitZeros: just use MCStreamer directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
aaec205b87637cd0d59d4f11630db603686eb73d |
|
19-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
Generalize mcasmstreamer data emission APIs to take an address space identifier. There is no way to work around it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93896 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ddf6bdde44287b5b559bc403a02ff971e15e8303 |
|
19-Jan-2010 |
Chris Lattner <sabre@nondot.org> |
add a "MCStreamer::EmitFill" method, and move the default implementation (which just iteratively emits bytes) to MCStreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
2928c83b010f7cfdb0f819199d806f6942a7d995 |
|
06-Nov-2009 |
Daniel Dunbar <daniel@zuster.org> |
Pass StringRef by value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
8b67f774e9c38b7718b2b300b628388f966df4e0 |
|
26-Oct-2009 |
Chandler Carruth <chandlerc@gmail.com> |
Move DataTypes.h to include/llvm/System, update all users. This breaks the last direct inclusion edge from System to Support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85086 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
90edac0e8b35f766599362b6301863229f0ddcdb |
|
14-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
Change MCAsmStreamer to take an MCInstPrinter instead of a full AsmPrinter, and change TargetRegistry to keep track of registered MCInstPrinters. llvm-mc is still linking in the entire target foo to get the code emitter stuff, but this is an important step in the right direction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
821e3334ed3390d931f497300e6a5f1dc21bcfb3 |
|
31-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Pass values to MCStreamer as MCExprs, not MCValues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80578 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
e2ace509fc1205bed97a5114b13534610d4dbf5e |
|
31-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Simplify EmitAssignment ('.set' is identical to '='). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80577 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
4a1fadaf5207e46d19c64e5773ff8d9e65e607d7 |
|
30-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Tweak comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
7092c7e1dcf9d05741b400dd54bbd7d3419773b2 |
|
30-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: MCStreamer cleanups. - Remove EmitLocalSymbol, this is unsupported for now. - Switch Emit{CommonSymbol,Zerofill} to take alignment in bytes (for consistency). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80484 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
e6cdbf2f92a753ad547e3287e279bf47585b228d |
|
28-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Emit .lcomm as .zerofill. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80343 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
8751b94ffbd9c49df8949a37f78d6bd0be87b256 |
|
28-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Add const to EmitZeroFill section argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
4fac74950a1ff08b995b366bfb84369c1507faef |
|
27-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc/Mach-O: Add MCCodeEmitter support, for encoding instructions. - No relocations yet, of course. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80235 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
4a0abd80f18f9c2a10bf5b14cd6731d51972a426 |
|
27-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Sketch TargetRegistry support for MCCodeEmitter abstract interface. - Of course, nothing actually can provide this interface yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80188 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
33adcfb4d217f5f23d9bde8ba02b8e48f9605fc5 |
|
22-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
rename TAI -> MAI, being careful not to make MAILJMP instructions :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79777 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
af76e592c7f9deff0e55c13dbb4a34f07f1c7f64 |
|
22-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79763 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
dabf07c70a5e13a4560d75667fa5c7db28921a92 |
|
18-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
Make AsmStreamer maintain a notion of the current section, pushing it up from the MCAsmStreamer. Based on this, eliminate the current section from AsmPrinter. While I'm at it, clean up the last of the horrible "switch to null section" stuff and add an assert. This change is in preparation for completely eliminating asmprinter::switchtosection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79324 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
975780bb595b57a45a8e6d72d8151b436314ce22 |
|
17-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
change AsmPrinter to switch sections using AsmStreamer instead of doing it directly. This requires const'izing a bunch of stuff that took sections, but this seems like the right semantic thing to do: emitting a label to a section shouldn't mutate the MCSection object itself, for example. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f3ce009fcb0a04a245c437d86657e9bd61ecc18f |
|
17-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
give MCAsmStreamer a TargetAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79222 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c22e0b2443afdedb6d9b225b938ad404d63cdbe6 |
|
14-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update llvm-mc / MCAsmStreamer to print the instruction using the actual target specific printer (this only works on x86, for now). - This makes it possible to do some correctness checking of the parsing and matching, since we can compare the results of 'as' on the original input, to those of 'as' on the output from llvm-mc. - In theory, we could now have an easy ATT -> Intel syntax converter. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78986 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
011e4db845b5c4166142338c77adc8ac03e5e041 |
|
14-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Add dummy MCStreamer implementation, (eventually) for use in profiling. - Currently unused. - A few other random comment fixes lumped in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78960 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f9507ffa5b1c8697009e86bbedaacb51e4c6735d |
|
28-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Implement .abort fully in the front end git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77272 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
9a7e2ccf574368b60455f8c8975030475a1f3ce0 |
|
27-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Move AsmLexer::getCurStrVal to StringRef based API. - My DFS traversal of LLVM is, at least for now, nearly complete! :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77258 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5026ae4514caf5bb88d6c09fbf56a9db2753ed43 |
|
20-Jul-2009 |
Kevin Enderby <enderby@apple.com> |
Removed the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API as the parsing of the .dump and .load should be done in the assembly parser and not have any need for an MCStreamer API. Changed the code for now so these just produce an error saying these specific directives are not yet implemented since they are likely no longer used and may never need to be implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76462 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f96db468fcf62d671cda99b68b6cfd3f2dc0b839 |
|
16-Jul-2009 |
Kevin Enderby <enderby@apple.com> |
Removed the SubsectionsViaSymbols MCStreamer API and replaced it with a generic EmitAssemblerFlag API which takes a value from the added AssemblerFlag enumerated constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
8e25e2d801bb1119cea080c7c860adcfbf85d65d |
|
16-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
implement .include in the lexer/parser instead of passing it into the streamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75896 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
6e68cd96b2c76c80bfff07e8121ba19691ec1276 |
|
15-Jul-2009 |
Kevin Enderby <enderby@apple.com> |
Added llvm-mc support for parsing the .dump and .load directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75786 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1f049b24c7e520ecfd2291b7d30eb5abc3aee852 |
|
15-Jul-2009 |
Kevin Enderby <enderby@apple.com> |
Added llvm-mc support for parsing the .include directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75711 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
711482476c55f99c34c516f9e035b7c59b00ef42 |
|
14-Jul-2009 |
Kevin Enderby <enderby@apple.com> |
Added llvm-mc support for parsing the .lsym directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75685 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
95cf30c444707634bbd950f13405b6c8bcfe496b |
|
14-Jul-2009 |
Kevin Enderby <enderby@apple.com> |
Added llvm-mc support for parsing the .desc directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
5f1f0b8f7e7087d456ddc3efdb4bed21a4ae359c |
|
14-Jul-2009 |
Kevin Enderby <enderby@apple.com> |
Added llvm-mc support for parsing the .abort directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
a5c783280f83df5c60a8ed9e32c61b05a11048e3 |
|
13-Jul-2009 |
Kevin Enderby <enderby@apple.com> |
add llvm-mc support for parsing the .subsections_via_symbols directive. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
9be3fee2bdc3126fb87e4e1b31935905f4bcc4d0 |
|
11-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
add support for .zerofill, patch by Kevin Enderby! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75301 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
1fc3d7558139eb6081a7ee5a8f88506d44c8dd7f |
|
09-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
add llvm-mc support for parsing the .lcomm directive, patch by Kevin Enderby! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75148 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
4e4db7adfc9858a8f77f841c7467bc6fcbb8110e |
|
07-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
Implement parsing support for the .comm directive. Patch by Kevin Enderby! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74944 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
e18e0c58dcd740c64e962fefde44249d685d0568 |
|
01-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
improve comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74589 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
c29dfa786a23c9ff0827ce4a56b5b178e4087aaa |
|
30-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Parse .{,b,p2}align{,w,l} directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
84a2926fb7ab388d688a133b0b375a26e669fd55 |
|
24-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Sketch streamer support for .align, .org functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74109 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
71d259bc4be4f5c7a8a30c6be8da105074ff805a |
|
24-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
We decided to not worry about Atoms for now, it should be straightforward to reintroduce them later. Also, don't require MCSection* when creating a symbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74081 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
d814b2150950114a44b607c90ea7a0725c40a8e6 |
|
24-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
MCStreamer: Add a few more "symbol attributes". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
a11af531ec48ad84f790b9511f003ac5c934a999 |
|
24-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Start MCAsmStreamer implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74044 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
f4a9061b6b224da1b671673a606cda2627d946b7 |
|
24-Jun-2009 |
Chris Lattner <sabre@nondot.org> |
stub out a trivial constructor method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74038 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
ba1da8a7b10b8a7df04f3ca47ca36ad18adad80e |
|
24-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Update for MCImm -> MCValue rename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74024 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
381e92c66a98ee766ea53039b0cd8ce3bde7be2d |
|
24-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Add comments for the MCStreamer interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74019 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|
25e0d8f755736b0a17400adbdd367aee89fbecfc |
|
23-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Start sketching MCStreamer interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73994 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/MC/MCStreamer.h
|