de2d8694e25a814696358e95141f4b1aa4d8847e |
|
20-Sep-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master LLVM for rebase to r275480 Bug: http://b/31320715 This merges commit 7dcf7f03e005379ef2f06db96aa93f06186b66d5 from aosp/dev. Test: Build AOSP and run RenderScript tests (host tests for slang and libbcc, RsTest, CTS) Change-Id: Iaf3738f74312d875e69f61d604ac058f381a2a1a
/external/llvm/lib/MC/MCStreamer.cpp
|
f3ef5332fa3f4d5ec72c178a2b19dac363a19383 |
|
04-Mar-2016 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master LLVM for rebase to r256229 http://b/26987366 Change-Id: I1f29c4676a8abe633ab5707dded58d846c973d50
/external/llvm/lib/MC/MCStreamer.cpp
|
6948897e478cbd66626159776a8017b3c18579b9 |
|
01-Jul-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master LLVM for rebase to r239765 Bug: 20140355: This rebase pulls the upstream fix for the spurious warnings mentioned in the bug. Change-Id: I7fd24253c50f4d48d900875dcf43ce3f1721a3da
/external/llvm/lib/MC/MCStreamer.cpp
|
4c5e43da7792f75567b693105cc53e3f1992ad98 |
|
08-Apr-2015 |
Pirama Arumuga Nainar <pirama@google.com> |
Update aosp/master llvm for rebase to r233350 Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
/external/llvm/lib/MC/MCStreamer.cpp
|
37ed9c199ca639565f6ce88105f9e39e898d82d0 |
|
01-Dec-2014 |
Stephen Hines <srhines@google.com> |
Update aosp/master LLVM for rebase to r222494. Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/lib/MC/MCStreamer.cpp
|
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 |
|
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/lib/MC/MCStreamer.cpp
|
dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/MC/MCStreamer.cpp
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
1d5ad97531a0213f06cc526a0c8ea7b2150f6acc |
|
09-Sep-2013 |
Bill Wendling <isanbard@gmail.com> |
Set the encoding to '0' if we don't have an MAB. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
f0a0d578089572be37063bbe37063edb28148159 |
|
27-Aug-2013 |
Kai Nacke <kai.nacke@redstar.de> |
Fix wrong code offset for unwind code SET_FPREG. The code offset for unwind code SET_FPREG is wrong because it is set to constant 0. The fix is to do the same as for the other unwind codes: emit a label and later the absolute difference between the label and the begin of the prologue. Also enables the failing test case MC/COFF/seh.s Reviewed by Jim Grosbach, Charles Davis and Nico Rieck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189309 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
5310cdbcc909a7c35d4c7df0fd5703850a9db2a5 |
|
08-Jul-2013 |
Kai Nacke <kai.nacke@redstar.de> |
Revert: Fix wrong code offset for unwind code SET_FPREG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185793 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
ea434e4bca15383418ac65788fdb8bc3b5725fe2 |
|
06-Jul-2013 |
Kai Nacke <kai.nacke@redstar.de> |
Fix wrong code offset for unwind code SET_FPREG. The code offset for unwind code SET_FPREG is wrong because it is set to constant 0. The fix is to do the same as for the other unwind codes: emit a label and later the absolute difference between the label and the begin of the prologue. Also enables the failing test case MC/COFF/seh.s Reviewed by Charles Davis and Nico Rieck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185758 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
99cb622041a0839c7dfcf0263c5102a305a0fdb5 |
|
18-Jun-2013 |
Bill Wendling <isanbard@gmail.com> |
Use pointers to the MCAsmInfo and MCRegInfo. Someone may want to do something crazy, like replace these objects if they change or something. No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
8cb6b971601d42a27e40f0f1d4828671441989f5 |
|
07-May-2013 |
Charles Davis <cdavis5x@gmail.com> |
MCStreamer: Also clear vector of W64UnwindInfos on reset(). Patch by Kai Nacke! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
242cec5be3b3a715de0535d1a074bb4dff94772f |
|
19-Mar-2013 |
Jakub Staszak <kubastaszak@gmail.com> |
Change NULL to 0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177342 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
b9d1005e96681b5c8cc1ed959fa129de62933020 |
|
04-Jan-2013 |
Pedro Artigas <partigas@apple.com> |
small fixes to enable the reuse of the pass manager across multiple modules git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171475 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
d04a8d4b33ff316ca4cf961e06c9e312eff8e64f |
|
03-Dec-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Use the new script to sort the includes of every file under lib. Sooooo many of these had incorrect or strange main module includes. I have manually inspected all of these, and fixed the main module include to be the nearest plausible thing I could find. If you own or care about any of these source files, I encourage you to take some time and check that these edits were sensible. I can't have broken anything (I strictly added headers, and reordered them, never removed), but they may not be the headers you'd really like to identify as containing the API being implemented. Many forward declarations and missing includes were added to a header files to allow them to parse cleanly when included first. The main module rule does in fact have its merits. =] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169131 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
7f74d2c2c197eec76ae2b41fed9c227c0dcc04cb |
|
24-Nov-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Give each MCCFIInstruction its own opcode. This untangles the switch cases of the old Move and RelMove opcodes a bit and makes it clear how to add new instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168534 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
28c9ea3c13dfb8f6bb3226ba511d189135fcb140 |
|
24-Nov-2012 |
Rafael Espindola <rafael.espindola@gmail.com> |
Refactor how MCCFIInstructions are created. Give MCCFIInstruction a single, private constructor and add helper static methods that create each type of cfi instruction. This is is preparation for changing its representation. The representation with a pair MachineLocations older than MC and has been abused quiet a bit to support more cfi instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168532 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
2d39a0e52df9ce050bd4e2de3a2ecca8fd9a87c3 |
|
09-Aug-2012 |
Jim Grosbach <grosbach@apple.com> |
Move [SU]LEB128 encoding to a utility header. These functions are very generic. There's no reason for them to be tied to MCObjectWriter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
b601ab5cce6c560dff365cd87f6854ea95f76f54 |
|
23-Feb-2012 |
Benjamin Kramer <benny.kra@googlemail.com> |
Bump SmallString to the minimum required amount for raw_ostream to avoid allocation. It's is a bit annoying, we should hide this implementation detail better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151284 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
858143816d43e58b17bfd11cb1b57afbd7f0f893 |
|
07-Feb-2012 |
Craig Topper <craig.topper@gmail.com> |
Convert assert(0) to llvm_unreachable git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149967 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
c25680f728f89dd43939b00049ee524fbf59b7be |
|
29-Dec-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Rename Remember and Restore to RememberState and RestoreState for consistency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
3f4c979e1b1e02e51443cf88f4b7ec47a6865aae |
|
05-Nov-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Twinify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143811 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
2df9f8df9541e7650876413cde555eb3d285be4b |
|
25-Aug-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Initialize member variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138548 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
5fbe5e783ee0c5ae27c17490a752d7e603e84ed2 |
|
25-Aug-2011 |
Evan Cheng <evan.cheng@apple.com> |
Some autoconf tests use module level inline asm to test compiler's handling of .cfi_startproc. e.g. libffi: $ cat confopt.c asm (".cfi_startproc\n\t.cfi_endproc"); int main () { return 0; } Teach MC / dwarf emission to handle these cfi directives which essentially create an empty frame. rdar://10017184 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
1be0e271a07925b928ba89848934f1ea6f1854e2 |
|
15-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Move some parts of TargetAsmInfo down to MCAsmInfo. This is not the greatest solution but it is a small step towards removing the horror that is TargetAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135237 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
65891533a3b35d7fc8fa807a96b7ee2f09ff22b5 |
|
07-Jun-2011 |
Roman Divacky <rdivacky@freebsd.org> |
Make EmitIntValue() work properly on big-endian targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
c4cbf9b6aa95cf861a5a80bfccf615ff5c53e4ef |
|
27-May-2011 |
Charles Davis <cdavis@mines.edu> |
Start keeping track of where the various unwind instructions are in the prolog. Use them to calculate the offset inside the prolog. Emit this value when emitting the unwind codes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132177 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
4eeb7b662b78f5c520fb258b3f9df18b1227cde5 |
|
27-May-2011 |
Charles Davis <cdavis@mines.edu> |
My attempt at fixing the leak reported by the valgrind buildbots. Valgrind will still report leaks, but they're spurious now. Valgrind cannot peer into std::vector objects--or any dynamic array, for that matter--because it doesn't know how big the array is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
c2d3022aa6104a21f4368c522ccbf9a4d282b7c6 |
|
27-May-2011 |
Charles Davis <cdavis@mines.edu> |
Fix inverted conditional in SaveReg and SaveXMM. Err when the frame pointer is already defined, and err when the PushMachFrame operation isn't the first operation (if specified at all). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
40de0e013a456971697491b428fb903570e8766e |
|
24-May-2011 |
Charles Davis <cdavis@mines.edu> |
Test basic SEH directive-parsing functionality. Fix a latent bug exposed by this test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132004 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
edeecbff0e231c04b7222a79a26017a48668f0e2 |
|
22-May-2011 |
Charles Davis <cdavis@mines.edu> |
Don't allow unaligned offsets and sizes in the Win64 EH directives. Also, fix threshold for 'Big' register saves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131830 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
81f3830f2ed0b26e8bd7ae62e127db427f9f350d |
|
21-May-2011 |
Charles Davis <cdavis@mines.edu> |
Don't allow .seh_handler and .seh_handlerdata directives inside chained unwind areas. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131795 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
321fe74b2d40d7762175fbd3054fda00b5e70833 |
|
21-May-2011 |
Charles Davis <cdavis@mines.edu> |
A handler for a function in the Win64 EH scheme can be both an unwind handler and an exception handler. Handle that case. Also, add an 'Emitted' member to the MCWin64EHUnwindInfo struct. It will be needed later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
5c2256a5719172273eaef198f92d8af924ff8623 |
|
21-May-2011 |
Charles Davis <cdavis@mines.edu> |
Set the "LastFrameInst" field when streaming a .seh_setframe directive. This is needed for an upcoming patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131772 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
d0b76d00048352affac4fad0ef005e28f5340b76 |
|
20-May-2011 |
Charles Davis <cdavis@mines.edu> |
"Implement" the HandlerData Win64 EH method in the base MCStreamer. There's really nothing to implement. All this really does is swap to a pseudo-section that later gets written to the unwind info struct. That needs to be implemented in the object streamers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131734 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
78ff647e4471c88c3a3826e7ac24adcd8a9a2073 |
|
20-May-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Looks like OS X assemblers (including MC) don't like foo: bar = foo .quad bar Avoid producing it. Fixes PR9951. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
61558aaf4f924fd44fd2f275fcb7ab7199ede304 |
|
19-May-2011 |
Charles Davis <cdavis@mines.edu> |
Implement the EndProlog Win64 EH method on the base MCStreamer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131679 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
baaa3201681d58434a54f9cedfd600c248dc10e9 |
|
15-May-2011 |
Charles Davis <cdavis@mines.edu> |
Fix copy-pasto. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131384 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
713c4bfc36260bfc9273d414b14757bd7819f9b1 |
|
10-May-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add CFIStartSections to the asm printer. Add an assert that at least one of the sections is created. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131124 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
40a7dbbeff44c4cbd8c7e4f07f28dd614f8a5d08 |
|
10-May-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Add support for producing .deubg_frame sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131121 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
9c54c14cad22a178553d4e9c73abe10fa6038d70 |
|
29-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove second return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
b4601bd2ffdde372f1323f6b6ec98acd433501ce |
|
29-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Implement cfi_def_cfa_register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122612 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
b790a17efba26f4365b5ffb847dd53fde063c48d |
|
29-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Initial .cfi_offset implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
5bba08425374ca36fe5fbc7423ce1a09858e4097 |
|
28-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Start adding basic support for emitting the call frame instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122590 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
90a5a0cd7c353651c953020b1e41b4c6e2f21883 |
|
22-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Rename NeedsSetToChangeDiffSize to HasAggressiveSymbolFolding which is a much better name and matches what is used in the MachO writer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122443 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
818b5f5dd7979b097564f829896353df286127ff |
|
16-Dec-2010 |
Matt Beaumont-Gay <matthewbg@google.com> |
Better fix for opt build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121910 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
e194b26ffd23aa464324429323647af4fcb7df7b |
|
15-Dec-2010 |
Matt Beaumont-Gay <matthewbg@google.com> |
Fix opt -Werror build git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
b35d56c2fe39064a33d0e4e7faf5464b6d8a7352 |
|
15-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Generalize an assert. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121851 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
dea914bed9fb1d5c08e944557989ccddb6849000 |
|
09-Dec-2010 |
Devang Patel <dpatel@apple.com> |
Add assert to catch an attempt to emit .byte 256 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121402 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
660b5fc4d019bf22fbe14dfb81c5b59444fa3506 |
|
03-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Do with uleb the same trick we now do with dwarf line/address advances. This avoids creating leb128 fragments and speeds up the test in PR8711 to 33s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
c095793b4ab027181605c79c9808df12afe45d63 |
|
30-Sep-2010 |
Kevin Enderby <enderby@apple.com> |
This is the last major patch to implement support for the .loc directive and output the dwarf line number tables. This contains the code to emit and encode the dwarf line tables from the previously gathered information in the MCLineSection objects. This contains all the details to encode the line and address deltas into the dwarf line table. To do this an MCDwarfLineAddrFragment has been added. Also this moves the interface code out of Mach-O streamer into MCDwarf so it should be useable by other object file formats. There is now one call to be made from an MCObjectStreamer EmitInstruction() method: MCLineEntry::Make(this, getCurrentSection()); to create a line entry after each instruction is assembled. And one call call to be made from an MCObjectStreamer Finish() method: MCDwarfFileTable::Emit(this, DwarfLineSection); when getContext().hasDwarfFiles() is true and is passed a object file specific MCSection where to emit the dwarf file and the line tables. This appears to now be correct for 32-bit targets, at least x86. But the relocation entries for 64-bit Darwin needs some further work which is next up to work on. So for now the 64-bit Mach-O target does not output the dwarf file and line tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
e5c8d95f1a1facbaeb88f5d1a406b19d0df06f93 |
|
19-Jul-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
_[A-Z] identifiers are reserved for the implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108682 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
ab3b3651add0915a5a051b177029ad117a877f52 |
|
20-May-2010 |
Matt Fleming <matt@console-pimps.org> |
Grammar fix. This is a test commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104264 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
3580dea910d622f2a6dbb72e97f5f7d0ef979542 |
|
03-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
add <cstdlib> header for abort() on linux builders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100290 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|
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/lib/MC/MCStreamer.cpp
|