LLVM backend for 6502
Go to file
Bob Wilson 812209a58c Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use this
to emit target-specific things at the beginning of the asm output.  This
fixes a problem for PPC, where the text sections are not being kept together
as expected.  The base class doInitialization code calls DW->BeginModule()
which emits a bunch of DWARF section directives.  The PPC doInitialization
code then emits all the TEXT section directives, with the intention that they
will be kept together. But as I understand it, the Darwin assembler treats
the default TEXT section as a special case and moves it to the beginning of
the file, which means that all those DWARF sections are in the middle of
the text.  With this change, the EmitStartOfAsmFile hook is called before
the DWARF section directives are emitted, so that all the PPC text section
directives come out right at the beginning of the file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83176 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-30 22:06:26 +00:00
autoconf Fix configure bug that only shows up in a clean build. Don't try to invoke gcc 2009-09-29 06:18:00 +00:00
bindings Expose the rest of the attribute settings. 2009-09-28 04:42:47 +00:00
cmake Fix a compile failure introduced by r82675 on MinGW which doesn't have 2009-09-25 21:07:20 +00:00
docs add macruby, fix a validation problem. 2009-09-30 06:27:22 +00:00
examples
include Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use this 2009-09-30 22:06:26 +00:00
lib Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use this 2009-09-30 22:06:26 +00:00
projects
runtime
test Forgot this test earlier. 2009-09-30 08:41:27 +00:00
tools Add a way to query the number of input files. 2009-09-28 01:16:42 +00:00
unittests New unit test for the cloning module, which so far only covers cloning of 2009-09-27 21:39:46 +00:00
utils B&I's buildit forces a PATH that omits /Developer. Temporarily add 2009-09-28 23:42:38 +00:00
website
win32
Xcode
build-for-llvm-top.sh
CMakeLists.txt
configure Regenerate. 2009-09-29 06:18:23 +00:00
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
Makefile Speed up clang-only link, by really linking only clang, and not the unittests 2009-09-26 20:18:58 +00:00
Makefile.common
Makefile.config.in Enable -g with DEBUG_SYMBOLS and --enable-debug-symbols instead of 2009-09-27 17:47:29 +00:00
Makefile.rules Enable -g with DEBUG_SYMBOLS and --enable-debug-symbols instead of 2009-09-27 17:47:29 +00:00
ModuleInfo.txt
README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level 
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments. 

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.