mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 00:21:03 +00:00
Revert 170545 while I debug the ppc failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170547 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -334,15 +334,9 @@ void llvm::DisassembleInputMachO(StringRef Filename) {
|
||||
for (unsigned SectIdx = 0; SectIdx != Sections.size(); SectIdx++) {
|
||||
StringRef SectName;
|
||||
if (Sections[SectIdx].getName(SectName) ||
|
||||
SectName != "__text")
|
||||
SectName.compare("__TEXT,__text"))
|
||||
continue; // Skip non-text sections
|
||||
|
||||
StringRef SegmentName;
|
||||
DataRefImpl DR = Sections[SectIdx].getRawDataRefImpl();
|
||||
if (MachOOF->getSectionFinalSegmentName(DR, SegmentName) ||
|
||||
SegmentName != "__TEXT")
|
||||
continue;
|
||||
|
||||
// Insert the functions from the function starts segment into our map.
|
||||
uint64_t VMAddr;
|
||||
Sections[SectIdx].getAddress(VMAddr);
|
||||
|
Reference in New Issue
Block a user