Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment