Commit 9bfcf776 authored by NAKAMURA Takumi's avatar NAKAMURA Takumi
Browse files

lib/Object/ELFObjectFile.cpp: Fix undefined behavior for MC/ELF/many-section.s...

lib/Object/ELFObjectFile.cpp: Fix undefined behavior for MC/ELF/many-section.s not to fail (on msvc).

DenseMap::lookup(k) would return "default constructor value" when k was not met. It would be useless when value type were POD.

llvm-svn: 141774
parent 5a793d37
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment