History log of /llvm-project/llvm/lib/MC/MCContext.cpp (Results 276 – 300 of 360)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.3.1-rc1
# a37acf70 06-Jul-2013 Nico Rieck <nico.rieck@gmail.com>

MC: Implement COFF .linkonce directive

llvm-svn: 185753


# bc07a890 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.

llvm-svn: 184175


# e9d5fb09 16-Jun-2013 Benjamin Kramer <benny.kra@googlemail.com>

Silence warning in Release builds.

llvm-svn: 184059


# ef03b9fc 14-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

Replace use of PathV1.h in MCContext.cpp.

GetCurrentDirectory is now unused. Remove it.

llvm-svn: 184003


# 4f35da77 13-Jun-2013 Rafael Espindola <rafael.espindola@gmail.com>

Don't use PathV1.h in Signals.h.

llvm-svn: 183947


Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1
# 5ce24ffc 12-Mar-2013 Manman Ren <mren@apple.com>

Debug Info: use SmallVector instead of std::vector in MCDwarfDirsCUMap and MCDwarfFilesCUMap

llvm-svn: 176893


# 1e427208 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 e

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

llvm-svn: 176605

show more ...


# 7ba2edc0 20-Feb-2013 Pedro Artigas <partigas@apple.com>

clear new map and initialize new variable

llvm-svn: 175578


# 4e042a6b 05-Feb-2013 Manman Ren <mren@apple.com>

Dwarf: support for LTO where a single object file can have multiple line tables

We generate one line table for each compilation unit in the object file.
Reviewed by Eric and Kevin.

rdar://problem/1

Dwarf: support for LTO where a single object file can have multiple line tables

We generate one line table for each compilation unit in the object file.
Reviewed by Eric and Kevin.

rdar://problem/13067005

llvm-svn: 174445

show more ...


Revision tags: llvmorg-3.2.0
# 79f16569 18-Dec-2012 Eric Christopher <echristo@gmail.com>

Formatting.

llvm-svn: 170394


# 906da232 18-Dec-2012 Eric Christopher <echristo@gmail.com>

Add support for passing -main-file-name all the way through to
the assembler.

Part of PR14624

llvm-svn: 170390


# 10700aad 17-Dec-2012 Chandler Carruth <chandlerc@gmail.com>

Prepare LLVM to fix PR14625, exposing a hook in MCContext to manage the
compilation directory.

This defaults to the current working directory, just as it always has,
but now an assembler can choose

Prepare LLVM to fix PR14625, exposing a hook in MCContext to manage the
compilation directory.

This defaults to the current working directory, just as it always has,
but now an assembler can choose to override it with a custom directory.
I've taught llvm-mc about this option and added a test case.

llvm-svn: 170371

show more ...


# 7212ee45 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

llvm-svn: 1

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

llvm-svn: 170041

show more ...


# e84b13f0 06-Dec-2012 Pedro Artigas <partigas@apple.com>

fixed valgrind issues of prior commit, this change applies r169456 changes back to the tree with fixes. on darwin no valgrind issues exist in the tests that used to fail.

original change description

fixed valgrind issues of prior commit, this change applies r169456 changes back to the tree with fixes. on darwin no valgrind issues exist in the tests that used to fail.

original change description:

change MCContext to work on the doInitialization/doFinalization model

reviewed by Evan Cheng <evan.cheng@apple.com>

llvm-svn: 169553

show more ...


Revision tags: llvmorg-3.2.0-rc3
# d985d760 06-Dec-2012 NAKAMURA Takumi <geek4civic@gmail.com>

Revert r169456, "change MCContext to work on the doInitialization/doFinalization model"

It broke many builders.

llvm-svn: 169462


# bf7d3bab 06-Dec-2012 Pedro Artigas <partigas@apple.com>

change MCContext to work on the doInitialization/doFinalization model

reviewed by Evan Cheng <evan.cheng@apple.com>

llvm-svn: 169456


# ed0881b2 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

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. =]

llvm-svn: 169131

show more ...


Revision tags: llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1
# 0be33598 18-Sep-2012 Roman Divacky <rdivacky@freebsd.org>

Avoid symbol name clash when filling TOC.

Patch by Adhemerval Zanella.

llvm-svn: 164141


# 09e3510e 03-Jul-2012 NAKAMURA Takumi <geek4civic@gmail.com>

MCContext.cpp: Fixup for my odd previous commit. No functional changes.

llvm-svn: 159645


# 30396ba4 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.

llvm-svn: 159640


Revision tags: llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1
# b18b4092 26-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.

llvm-svn: 149092


# dfc5b555 26-Jan-2012 Jim Grosbach <grosbach@apple.com>

Add SourceMgr to MCContext for backend diagnostics.

llvm-svn: 149090


Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3
# 82ed3be1 01-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

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

llvm-svn: 143521

show more ...


# 6469fc27 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

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

llvm-svn: 143509

show more ...


Revision tags: llvmorg-3.0.0-rc2
# 40f8f2ff 17-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 i

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.

llvm-svn: 142300

show more ...


1...<<1112131415