diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-10-07 20:42:47 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-10-07 20:42:47 +0000 |
commit | a92608657f7568ace836877c7f07883f4d7f9167 (patch) | |
tree | 08c28e57d3556d28879dfc83d85d8d4f57697398 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 5cbeb850fb8180ede6c098ce7f92a0a09951c32a (diff) | |
download | llvm-a92608657f7568ace836877c7f07883f4d7f9167.zip llvm-a92608657f7568ace836877c7f07883f4d7f9167.tar.gz llvm-a92608657f7568ace836877c7f07883f4d7f9167.tar.bz2 |
Optimize COFFObjectFile::sectionContainsSymbol a bit.
There is no need to compute the coff_section of the symbol just to compare the
pointer.
Inspired by the ELF implementation.
llvm-svn: 219233
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions