llvm-6502/tools
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
..
bugpoint
bugpoint-passes
gold
llc Move MCOptions that aren't shared between programs into their specific 2014-05-21 21:05:09 +00:00
lli
llvm-ar Turn errc and windows_error into enum classes. 2014-05-31 02:29:28 +00:00
llvm-as raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-bcanalyzer
llvm-c-test
llvm-config
llvm-cov llvm-cov: Implement --no-output 2014-05-07 02:11:18 +00:00
llvm-diff
llvm-dis raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-dwarfdump Kill symbolization functionality in llvm-dwarfdump. We have llvm-symbolizer for that. 2014-05-19 18:45:32 +00:00
llvm-extract Use range loops. 2014-05-08 19:30:17 +00:00
llvm-jitlistener
llvm-link raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-lto raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-mc Move MCOptions that aren't shared between programs into their specific 2014-05-21 21:05:09 +00:00
llvm-mcmarkup
llvm-nm Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
llvm-objdump
llvm-profdata raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-readobj There is no std::errc::success, remove the llvm one. 2014-05-31 03:21:04 +00:00
llvm-rtdyld [tools][llvm-rtdyld] Add a '-dylib <file>' option to llvm-rtdyld to load shared 2014-05-13 22:37:41 +00:00
llvm-shlib autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try) 2014-05-13 19:37:03 +00:00
llvm-size
llvm-stress raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
llvm-symbolizer [DWARF parser] Teach DIContext to fetch short (non-linkage) function names for a given address. 2014-05-17 00:07:48 +00:00
lto Fix gcc -pedantic warning in lto.cpp. 2014-05-05 12:24:08 +00:00
macho-dump
msbuild
obj2yaml There is no std::errc::success, remove the llvm one. 2014-05-31 03:21:04 +00:00
opt raw_ostream: Forward declare OpenFlags and include FileSystem.h only where necessary. 2014-04-29 23:26:49 +00:00
yaml2obj [yaml2obj] Add new command line option -docnum. 2014-05-31 04:51:07 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile