llvm-6502/lib/ExecutionEngine
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
..
IntelJITEvents Updates in IntelJITEventListener.cpp - by Arch Robison. 2014-06-01 08:45:11 +00:00
Interpreter [C++] Use 'nullptr'. 2014-04-28 04:05:08 +00:00
JIT Allow alias to point to an arbitrary ConstantExpr. 2014-06-03 02:41:57 +00:00
MCJIT Use error_code() instead of error_code::succes() 2014-05-31 01:37:45 +00:00
OProfileJIT [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 03:04:17 +00:00
RuntimeDyld AArch64/ARM64: move ARM64 into AArch64's place 2014-05-24 12:50:23 +00:00
CMakeLists.txt
EventListenerCommon.h [Layering] Move DebugInfo.h into the IR library where its implementation 2014-03-06 00:46:21 +00:00
ExecutionEngine.cpp ExecutionEngine: avoid NDEBUG in headers 2014-05-31 21:26:17 +00:00
ExecutionEngineBindings.cpp [un]wrap extracted from lib/Target/Target[MachineC].cpp, lib/ExecutionEngine/ExecutionEngineBindings.cpp into include/llvm/IR/DataLayout.h 2014-05-13 09:45:26 +00:00
LLVMBuild.txt
Makefile
RTDyldMemoryManager.cpp
TargetSelect.cpp [C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. 2014-04-15 06:32:26 +00:00