forked from OSchip/llvm-project
e3a20f57d9
This extends the work done in r233995 so that now getFragment (in addition to getSection) also works for variable symbols. With that the existing logic to decide if a-b can be computed works even if a or b are variables. Given that, the expression evaluation can avoid expanding variables as aggressively and that in turn lets the relocation code see the original variable. In order for this to work with the asm streamer, there is now a dummy fragment per section. It is used to assign a section to a symbol when no other fragment exists. This patch is a joint work by Maxim Ostapenko andy myself. llvm-svn: 249303 |
||
---|---|---|
.. | ||
AArch64AddressingModes.h | ||
AArch64AsmBackend.cpp | ||
AArch64ELFObjectWriter.cpp | ||
AArch64ELFStreamer.cpp | ||
AArch64ELFStreamer.h | ||
AArch64FixupKinds.h | ||
AArch64MCAsmInfo.cpp | ||
AArch64MCAsmInfo.h | ||
AArch64MCCodeEmitter.cpp | ||
AArch64MCExpr.cpp | ||
AArch64MCExpr.h | ||
AArch64MCTargetDesc.cpp | ||
AArch64MCTargetDesc.h | ||
AArch64MachObjectWriter.cpp | ||
AArch64TargetStreamer.cpp | ||
AArch64TargetStreamer.h | ||
CMakeLists.txt | ||
LLVMBuild.txt | ||
Makefile |