forked from OSchip/llvm-project
The fix itself is fairly simple: move getAccessVariant to MCValue so that we replace the old weak expression evaluation with the far more general EvaluateAsRelocatable. This then requires that EvaluateAsRelocatable stop when it finds a non trivial reference kind. And that in turn requires the ELF writer to look harder for weak references. Last but not least, this found a case where we were being bug by bug compatible with gas and accepting an invalid input. I reported pr19647 to track it. llvm-svn: 207920 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| LLVMBuild.txt | ||
| Makefile | ||
| SystemZMCAsmBackend.cpp | ||
| SystemZMCAsmInfo.cpp | ||
| SystemZMCAsmInfo.h | ||
| SystemZMCCodeEmitter.cpp | ||
| SystemZMCFixups.h | ||
| SystemZMCObjectWriter.cpp | ||
| SystemZMCTargetDesc.cpp | ||
| SystemZMCTargetDesc.h | ||