mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-09 13:41:47 +00:00
0eba49c22e
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249303 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
LLVMBuild.txt | ||
Makefile | ||
SparcAsmBackend.cpp | ||
SparcELFObjectWriter.cpp | ||
SparcFixupKinds.h | ||
SparcMCAsmInfo.cpp | ||
SparcMCAsmInfo.h | ||
SparcMCCodeEmitter.cpp | ||
SparcMCExpr.cpp | ||
SparcMCExpr.h | ||
SparcMCTargetDesc.cpp | ||
SparcMCTargetDesc.h | ||
SparcTargetStreamer.cpp |