mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-29 13:24:25 +00:00
Convert DOUT to DEBUG(errs()...).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79749 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -50,11 +50,10 @@
|
|||||||
#include "llvm/Target/TargetLowering.h"
|
#include "llvm/Target/TargetLowering.h"
|
||||||
#include "llvm/Target/TargetLoweringObjectFile.h"
|
#include "llvm/Target/TargetLoweringObjectFile.h"
|
||||||
#include "llvm/Target/TargetMachine.h"
|
#include "llvm/Target/TargetMachine.h"
|
||||||
#include "llvm/Support/Mangler.h"
|
|
||||||
#include "llvm/Support/Streams.h"
|
|
||||||
#include "llvm/Support/raw_ostream.h"
|
|
||||||
#include "llvm/Support/Debug.h"
|
#include "llvm/Support/Debug.h"
|
||||||
#include "llvm/Support/ErrorHandling.h"
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
|
#include "llvm/Support/Mangler.h"
|
||||||
|
#include "llvm/Support/raw_ostream.h"
|
||||||
|
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
@ -1067,9 +1066,9 @@ void ELFWriter::OutputSectionsAndSectionTable() {
|
|||||||
// Emit all of sections to the file and build the section header table.
|
// Emit all of sections to the file and build the section header table.
|
||||||
for (ELFSectionIter I=SectionList.begin(), E=SectionList.end(); I != E; ++I) {
|
for (ELFSectionIter I=SectionList.begin(), E=SectionList.end(); I != E; ++I) {
|
||||||
ELFSection &S = *(*I);
|
ELFSection &S = *(*I);
|
||||||
DOUT << "SectionIdx: " << S.SectionIdx << ", Name: " << S.getName()
|
DEBUG(errs() << "SectionIdx: " << S.SectionIdx << ", Name: " << S.getName()
|
||||||
<< ", Size: " << S.Size << ", Offset: " << S.Offset
|
<< ", Size: " << S.Size << ", Offset: " << S.Offset
|
||||||
<< ", SectionData Size: " << S.size() << "\n";
|
<< ", SectionData Size: " << S.size() << "\n");
|
||||||
|
|
||||||
// Align FileOff to whatever the alignment restrictions of the section are.
|
// Align FileOff to whatever the alignment restrictions of the section are.
|
||||||
if (S.size()) {
|
if (S.size()) {
|
||||||
|
Reference in New Issue
Block a user