LLVM backend for 6502
Go to file
Rafael Espindola 2d21b25393 Allow alias to point to an arbitrary ConstantExpr.
This  patch changes GlobalAlias to point to an arbitrary ConstantExpr and it is
up to MC (or the system assembler) to decide if that expression is valid or not.

This reduces our ability to diagnose invalid uses and how early we can spot
them, but it also lets us do things like

@test5 = alias inttoptr(i32 sub (i32 ptrtoint (i32* @test2 to i32),
                                 i32 ptrtoint (i32* @bar to i32)) to i32*)

An important implication of this patch is that the notion of aliased global
doesn't exist any more. The alias has to encode the information needed to
access it in its metadata (linkage, visibility, type, etc).

Another consequence to notice is that getSection has to return a "const char *".
It could return a NullTerminatedStringRef if there was such a thing, but when
that was proposed the decision was to just uses "const char*" for that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210062 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-03 02:41:57 +00:00
autoconf Remove path_tclsh.m4. 2014-06-02 12:54:32 +00:00
bindings [OCaml] Add an ocamlfind package llvm.all_backends. 2014-05-01 21:00:52 +00:00
cmake GraphWriter: detect graph viewer programs at runtime 2014-06-02 01:40:04 +00:00
docs Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
examples Try to fix the msvc build. 2014-04-29 23:37:02 +00:00
include Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
lib Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
projects
test Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
tools Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
unittests Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
utils really fix the windows build. 2014-05-31 03:40:00 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
CODE_OWNERS.TXT
configure Don't hard-code ld when extracting host linker version, use ${LD} if 2014-05-28 15:12:55 +00:00
CREDITS.TXT Update Credits. 2014-05-29 19:59:58 +00:00
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
Makefile
Makefile.common
Makefile.config.in
Makefile.rules autoconf: Fix libLLVM-Major-Minor-Patch.so symlink 2014-05-15 19:50:25 +00:00
README.txt Trivial test commit. 2014-04-26 19:05:45 +00:00

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 documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.