forked from OSchip/llvm-project
DebugInfo: Avoid truncating addr_base to 32 bits
I'm /guessing/ this isn't terribly testable without a very large input
file. Even generated from a more compact assembly file, it's probably
best not to generate a giant temporary test file - if I'm wrong about
that/anyone has good suggestions for testing, I'm all ears!
Based on post-commit review feedback from Igor Kudrin on
eed0242330
This commit is contained in:
parent
067dd9c6b1
commit
7b72c5835c
|
@ -296,7 +296,7 @@ public:
|
|||
return StringOffsetSection;
|
||||
}
|
||||
|
||||
void setAddrOffsetSection(const DWARFSection *AOS, uint32_t Base) {
|
||||
void setAddrOffsetSection(const DWARFSection *AOS, uint64_t Base) {
|
||||
AddrOffsetSection = AOS;
|
||||
AddrOffsetSectionBase = Base;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue