mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[NFCI] Explicitly provide user-defined constructor for SectionRef
I am changing this to work around an issue that is being hit when building with clang 3.8. Specifically, clang 3.8 requires that we have a user defined default constructor for SectionRef for the default initialization of a const SectionRef. llvm-svn: 368758
This commit is contained in:
parent
582c860a72
commit
88fae211c4
@ -4713,7 +4713,7 @@ void DumpStyle<ELFT>::printRelocatableStackSizes(
|
||||
// Build a map between stack size sections and their corresponding relocation
|
||||
// sections.
|
||||
llvm::MapVector<SectionRef, SectionRef> StackSizeRelocMap;
|
||||
const SectionRef NullSection;
|
||||
const SectionRef NullSection{};
|
||||
|
||||
for (const SectionRef &Sec : Obj->sections()) {
|
||||
StringRef SectionName;
|
||||
|
Loading…
x
Reference in New Issue
Block a user