llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc
Rafael Espindola 3d082fa507 Fix pr19645.
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
2014-05-03 19:57:04 +00:00
..
CMakeLists.txt [CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen. 2013-11-28 17:04:04 +00:00
LLVMBuild.txt LLVMBuild.txt: Reformat. 2014-04-10 11:16:17 +00:00
Makefile
SystemZMCAsmBackend.cpp Completely rewrite ELFObjectWriter::RecordRelocation. 2014-03-29 06:26:49 +00:00
SystemZMCAsmInfo.cpp Refactor the setting of PrivateGlobalPrefix. 2013-12-02 23:39:26 +00:00
SystemZMCAsmInfo.h [SystemZ] Remove "virtual" from override methods 2014-03-06 12:03:36 +00:00
SystemZMCCodeEmitter.cpp [Modules] Fix potential ODR violations by sinking the DEBUG_TYPE 2014-04-22 02:41:26 +00:00
SystemZMCFixups.h [SystemZ] Update namespace formatting to match current guidelines 2014-03-06 10:38:30 +00:00
SystemZMCObjectWriter.cpp Fix pr19645. 2014-05-03 19:57:04 +00:00
SystemZMCTargetDesc.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
SystemZMCTargetDesc.h [SystemZ] Update namespace formatting to match current guidelines 2014-03-06 10:38:30 +00:00