mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
faac033f73
This change replaces the brittle if/else chain of string comparisons with a switch statement on the detected target triple, removing the need for testing arbitrary architecture names returned from getFileFormatName, whose primary purpose seems to be for display (user-interface) purposes. The visitor now takes a reference to the object file, rather than its arbitrary file format name to figure out whether the file is a 32 or 64-bit object file and what the detected target triple is. A set of tests have been added to help show that the refactoring processes relocations for the same targets as the original code. Patch by Charlie Turner. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218388 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DIContext.cpp | ||
DWARFAbbreviationDeclaration.cpp | ||
DWARFAbbreviationDeclaration.h | ||
DWARFCompileUnit.cpp | ||
DWARFCompileUnit.h | ||
DWARFContext.cpp | ||
DWARFContext.h | ||
DWARFDebugAbbrev.cpp | ||
DWARFDebugAbbrev.h | ||
DWARFDebugAranges.cpp | ||
DWARFDebugAranges.h | ||
DWARFDebugArangeSet.cpp | ||
DWARFDebugArangeSet.h | ||
DWARFDebugFrame.cpp | ||
DWARFDebugFrame.h | ||
DWARFDebugInfoEntry.cpp | ||
DWARFDebugInfoEntry.h | ||
DWARFDebugLine.cpp | ||
DWARFDebugLine.h | ||
DWARFDebugLoc.cpp | ||
DWARFDebugLoc.h | ||
DWARFDebugRangeList.cpp | ||
DWARFDebugRangeList.h | ||
DWARFFormValue.cpp | ||
DWARFRelocMap.h | ||
DWARFTypeUnit.cpp | ||
DWARFTypeUnit.h | ||
DWARFUnit.cpp | ||
DWARFUnit.h | ||
LLVMBuild.txt | ||
Makefile | ||
module.modulemap |