a6f14537cac086be31832b255906bfb872894e3c |
|
03-Jul-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
MCContext.cpp: Fixup for my odd previous commit. No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
4c215c08e3e79c5fc221dd0f6e6ce0c1624f895a |
|
03-Jul-2012 |
NAKAMURA Takumi <geek4civic@gmail.com> |
MCContext::GetDwarfFile(): Make FileName parsing tolerant of DOSish pathsep with PathV2. It fixes failure in test/MC/MachO/gen-dwarf.s on Win32 w/o bash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
82f4ce5081fc9cfbf34bbe61eb0412e7ca4dc3df |
|
27-Jan-2012 |
Jim Grosbach <grosbach@apple.com> |
Add simple support for keeping MCFixup source information. Can be used to issue more user friendly diagnostics for faulty relocation constructs and such. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149092 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
3662e5ce709814f6b7cb3871be71ebc5e1ada16f |
|
27-Jan-2012 |
Jim Grosbach <grosbach@apple.com> |
Add SourceMgr to MCContext for backend diagnostics. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149090 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
064e48a3dce1fd29a35b4b1b01a8c4b67e29c74a |
|
02-Nov-2011 |
Kevin Enderby <enderby@apple.com> |
Fixed a bug in the code to create a dwarf file and directory table entires when it is separating the directory part from the basename of the FileName. Noticed that this: .file 1 "dir/foo" when assembled got the two parts switched. Using the Mac OS X dwarfdump tool it can be seen easily: % dwarfdump -a a.out include_directories[ 1] = 'foo' Dir Mod Time File Len File Name ---- ---------- ---------- --------------------------- file_names[ 1] 1 0x00000000 0x00000000 dir ... Which should be: ... include_directories[ 1] = 'dir' Dir Mod Time File Len File Name ---- ---------- ---------- --------------------------- file_names[ 1] 1 0x00000000 0x00000000 foo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143521 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
613b7576896fbd03fe495f4ee27b404f81386774 |
|
01-Nov-2011 |
Kevin Enderby <enderby@apple.com> |
First part of support for generating dwarf for assembly source files with the -g flag. In this part we generate the .file for the source being assembled and the .loc's for the assembled instructions. The next part will be to generate the dwarf Compile Unit DIE and a dwarf subprogram DIE for each non-temporary label. Once the next part is done test cases will be added. rdar://9275556 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143509 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.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/MCContext.cpp
|
18ad76bb9aa1970958c52887eb4a648d1bac0a0e |
|
12-Oct-2011 |
Nick Lewycky <nicholas@mxc.ca> |
Hoist vector.size() computation out of the loop. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
203576aa0cb9d8bf2d2e4d910ebab4b7a63262ae |
|
20-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Goodbye TargetAsmInfo. This eliminate last bit of CodeGen and Target in llvm-mc. There is still a bit more refactoring left to do in Targets. But we are now very close to fixing all the layering issues in MC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
e76a33b9567d78a5744dc52fcec3a6056d6fb576 |
|
20-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Add MCObjectFileInfo and sink the MCSections initialization code from TargetLoweringObjectFileImpl down to MCObjectFileInfo. TargetAsmInfo is done to one last method. It's *almost* gone! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135569 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
0e6a052331f674dd70e28af41f654a7874405eab |
|
18-Jul-2011 |
Evan Cheng <evan.cheng@apple.com> |
Sink getDwarfRegNum, getLLVMRegNum, getSEHRegNum from TargetRegisterInfo down to MCRegisterInfo. Also initialize the mapping at construction time. This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step towards fixing the layering violation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135424 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
f4387d9afb9100e181b96b3bca879b940715033d |
|
18-Apr-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Make the StringMaps attached to MCContext use the MCContext's allocator; reduces the number of calls to malloc(). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
c18214a6e0a22ffa6886c70dbd6176ac9e91c847 |
|
09-Apr-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Don't store Twine temporaries, it's not safe. And don't append the name over and over again in the loop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
c6cf43d25853efb4a6765954eda52a45998a47f2 |
|
29-Mar-2011 |
Daniel Dunbar <daniel@zuster.org> |
MC: Add support for disabling "temporary label" behavior. Useful for debugging on Darwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
c85dca66e68c9fa6ffa8471c64113b12d8d94fb1 |
|
23-Jan-2011 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove duplicated code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124054 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.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/MCContext.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/MCContext.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/MCContext.cpp
|
9f44724be058d17944dcd9ef6a6b57734b3744b8 |
|
01-Dec-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Rename temporary symbols if they conflict with artificial symbols created by the assembler. This was blocking parsing any large .s produced by clang for example. Fixes PR8596. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120603 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
326990f1eb7ff005adabe46a1f982eff8835813e |
|
26-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Fix Whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120166 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.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/MCContext.cpp
|
c50a0fd7cb6da0e674e154205da65241f9c90e1d |
|
13-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Parse and remember discriminators in .loc line. I try to output them with another patch. This lets us parse a bit more of the gcc 4.5 output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118975 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
2ff9e83a826c1c2ee0f1c6072d3d97d5b10678ee |
|
11-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Initial comdat implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118805 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
4283f4b81e8c1cbf5c7a7b51e949e109ae25ff8c |
|
10-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Use MCSectionELF in places we know we have an ELF section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118699 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
34be396a12b00a95a1353c356d64868798ea3098 |
|
10-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Fixed version of 118639 with an extra assert to catch similar problems earlier. Implicit bool -> int conversions are evil! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118651 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
037b5be15a421b99066bb284027750a16ddd0fae |
|
09-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Revert previous patch. Missed a case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118645 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
e61a1ac595deddd291912930efac3616f7c61d08 |
|
09-Nov-2010 |
Rafael Espindola <rafael.espindola@gmail.com> |
Remove IsExplicit. It was always false. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118639 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
3f55c24df9527de345f6cc960944840a7a101c6a |
|
04-Oct-2010 |
Kevin Enderby <enderby@apple.com> |
Incorporate suggestions by Daniel Dunbar after his review. Thanks Daniel! 1) Changed ValidateDwarfFileNumber() to isValidDwarfFileNumber() to be better named. Since it is just a predicate and isn't actually changing any state. 2) Added a missing return in the comments for setCurrentDwarfLoc() in include/llvm/MC/MCContext.h for fix formatting. 3) Changed clearDwarfLocSeen() to ClearDwarfLocSeen() since it does change state. 4) Simplified the last test in isValidDwarfFileNumber() to just a one line boolean test of MCDwarfFiles[FileNumber] != 0 for the final return statement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115551 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
186e7a0fb1b2028e4fa9c3efe29d9433c91b3f66 |
|
30-Sep-2010 |
Jan Wen Voung <jvoung@google.com> |
Move logic of determining ELF entsize from the .s printer to initialization time. That way, the EntrySize field is initialized for other code paths, namely, the .ll -> .o code path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115141 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
232ab949d5ed04c4ab45c763e0597fc3fc3fa5bc |
|
01-Sep-2010 |
Kevin Enderby <enderby@apple.com> |
This is the second of three patches to implement support for the .loc directive and output the dwarf line number tables. This takes the current loc info after an instruction is assembled and saves the needed info into an object that has vector and for each section. These objects will be used for the final patch to build and emit the encoded dwarf line number tables. Again for now this is only in the Mach-O streamer but at some point will move to a more generic place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112668 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
c1840b3da25222680b51f853697a871fedda51d5 |
|
24-Aug-2010 |
Kevin Enderby <enderby@apple.com> |
First bit of support for the dwarf .loc directive. This patch updates the needed parsing for the .loc directive and saves the current info from that into the context. The next patch will take the current loc info after an instruction is assembled and save that info into a vector for each section for use to build the line number tables. The patch after that will encode the info from those vectors into the output file as the dwarf line tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111956 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
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/lib/MC/MCContext.cpp
|
b07ce60981368f816af4caa3257e1e4ebf059133 |
|
10-Aug-2010 |
Kevin Enderby <enderby@apple.com> |
Next bit of support for the dwarf .file directive. This patch takes the previously collected info from the .file directives and outputs the encoded bytes for it. For now this is only in the Mach-O streamer but at some point will move to a more generic place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110617 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
3bce5adb32fbbe5c5549b902f4d65737f40c1499 |
|
29-Jul-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Stop leaking std::strings in GetDwarfFile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109746 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
7cbf73a73f296167b6e978dbd919ed249e88eeb5 |
|
28-Jul-2010 |
Kevin Enderby <enderby@apple.com> |
Added first bit of support for the dwarf .file directive. This patch collects the info from the .file directive and makes file and directory tables that will eventually be put out as part of the dwarf info in the output file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109651 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
3472766f9eb7d66f234c390ce1b3a8b76f0ee9ce |
|
12-Jul-2010 |
Duncan Sands <baldrick@free.fr> |
Convert some tab stops into spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108130 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
f187ac5a23213f85c3c1f0f80b3592295ee6441d |
|
28-Jun-2010 |
Kevin Enderby <enderby@apple.com> |
Added the darwin .secure_log_unique and .secure_log_reset directives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107077 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
47f9a49560cbf629ff36f3efb591d70b29471320 |
|
18-May-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Simplify MCContext::(Next|Get)Instance - Allocate MCLabels in the context so they don't leak. - Avoid duplicated densemap lookup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
ebe7fcd041e1e9c3a0c535b26d8cdb45805bbeb8 |
|
18-May-2010 |
Kevin Enderby <enderby@apple.com> |
Added support in MC for Directional Local Labels. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
6e5ce287b0e53c264af0ba37169ad964e19b5bb7 |
|
07-May-2010 |
Chris Lattner <sabre@nondot.org> |
add COFF support for COMDAT sections, patch by Nathan Jeffords! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103304 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
eb40a0fd98c44ecc6360e7fab33cf9e9911bed4f |
|
07-May-2010 |
Chris Lattner <sabre@nondot.org> |
switch MCSectionCOFF from a syntactic to semantic representation, patch by Peter Housel! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103267 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
74aae4726a66733c5872588287535a984f9a94c7 |
|
08-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
move elf section uniquing to MCContext. Along the way merge XCore's section into MCSectionELF git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100812 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
f0559e4b242e85d4b9d1dd08758814c599bdce13 |
|
08-Apr-2010 |
Chris Lattner <sabre@nondot.org> |
move macho section uniquing from MCParser and TLOF to MCContext where the compiler and asmparser now unique to the same sections. This fixes rdar://7835021. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100807 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
9b97a73dedf736e14b04a3d1a153f10d25b2507b |
|
30-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
Rip out the 'is temporary' nonsense from the MCContext interface to create symbols. It is extremely error prone and a source of a lot of the remaining integrated assembler bugs on x86-64. This fixes rdar://7807601. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99902 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
77e76940269b1bed36bc31ee5139b5c90fd13836 |
|
17-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
fix GetOrCreateTemporarySymbol to require a name, clients should use CreateTempSymbol() if they don't care about the name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
c28cc093e3b5b8601cb5024a5365a6f31f49839a |
|
15-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
fix a memory leak yjasskin pointed out: MCSymbol is bump pointer allocated and thus not freed. This is cool except that it contains and std::string so the string data didn't get freed. In any case there is no reason to redundantly store the string data in the MCSymbol anyway, just make the MCSymbol ref the string data in the MCContext StringMap. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98536 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
1d72a7661611395a1c4fd3a88a2151921180e510 |
|
14-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
add a new CreateTempSymbol method, the use case for CreateTempSymbol vs GetOrCreateTemporarySymbol are completely different. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
1a5c28f4715d84d0302581a67e193d7a358bba17 |
|
11-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
enhance MCContext::GetOrCreateTemporarySymbol() to create a new symbol with an arbitrary unique name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
c18409aed80ba1c6c5998befd3c3c8edc865c423 |
|
11-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
change MCContext to always have an MCAsmInfo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98293 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
19a994766f6c1c62f5a0b973c387c4d303f103f1 |
|
11-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
empty symbols aren't possible, the mcsymbol ctor aborts on them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
0965200ac21fb481557f256c86d057df13bbb55e |
|
10-Mar-2010 |
Daniel Dunbar <daniel@zuster.org> |
Remove unneeded includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
00685bb5cf791fcda9fa0ceb42a6a62a07478461 |
|
10-Mar-2010 |
Chris Lattner <sabre@nondot.org> |
eliminate MCContext::CreateSymbol and CreateTemporarySymbol. Add a new GetOrCreateTemporarySymbol method and a version that takes a twine. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98118 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
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/lib/MC/MCContext.cpp
|
7c5b021793e8c8184c655040ea5e169b55c55063 |
|
20-Oct-2009 |
Chris Lattner <sabre@nondot.org> |
add a twine version of MCContext::GetOrCreateSymbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84561 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
e579849652f2ba062e6c91a3af4d9a3843411b44 |
|
16-Oct-2009 |
Daniel Dunbar <daniel@zuster.org> |
MC: Switch MCContext value table to storing MCExprs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84228 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
959fd883346384e742fff049327a6815e36017e0 |
|
27-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc/Mach-O: Don't put assembler temporary labels in the symbol table. - I moved section creation back into AsmParser. I think policy decisions like this should be pushed higher, not lower, when possible (in addition the assembler has flags which change this behavior, for example). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80162 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
383cbff0311237bfd60daaa77d07bc9785a07ee8 |
|
26-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
llvm-mc: Change MCContext value table to take const MCSymbol*s. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
38cff389af1d78bd80df0479ef258493e0c5897e |
|
13-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
sink uniquing of sections out of MCContext into the ELF and PECOFF TLOF implementations. MCContext no longer maintains a string -> section map. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78874 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
c9d31524eec562f719d6818508b722b55a787d67 |
|
13-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
add some comments: MCContext owns the MCSections, but it bump pointer allocates them, so it doesn't have to explicitly free them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
ed47a0409b187d5dcd2bddfd054326fc809d00ae |
|
31-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
split MCSection stuff out to its own .cpp file, add a new MCSectionWithKind subclass of MCSection. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
fcdbf4ecc33d6d9a197c88ac06218741a9228375 |
|
31-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
create sections with MCSection::Create instead of Context->getOrCreateSection. This is needed to allow polymorphic sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77680 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
b5261ebabb215330d6549048b825d236fb3c9b6b |
|
27-Jul-2009 |
Daniel Dunbar <daniel@zuster.org> |
Move MCContext and friends to StringRef based APIs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|
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/lib/MC/MCContext.cpp
|
c69485e34d57e17fe2c3acab64e519d6a6945197 |
|
24-Jun-2009 |
Chris Lattner <sabre@nondot.org> |
add trivial support for passing label definitions through the MCStreamer. This is suboptimal in several aspects, see the commented out assertion. I need to talk to Daniel about this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74057 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.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/MCContext.cpp
|
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/lib/MC/MCContext.cpp
|
ecc63f8687c4eb746b69336316685fe9b224adfb |
|
24-Jun-2009 |
Daniel Dunbar <daniel@zuster.org> |
Start flushing out MCContext. - Lives inside new library lib/MC (LLVMMC.a) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74013 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/MC/MCContext.cpp
|