aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2014-11-06 01:03:23 +0000
committerRui Ueyama <ruiu@google.com>2014-11-06 01:03:23 +0000
commit30804c42207801541c84346fcc8ec6e5333def34 (patch)
tree8fcdbd52837c249804e5572b3ecaf0694a059104 /llvm/lib/Support/SourceMgr.cpp
parentaa0f6734136338b0ceb7e782acc289d529e66f23 (diff)
downloadllvm-30804c42207801541c84346fcc8ec6e5333def34.zip
llvm-30804c42207801541c84346fcc8ec6e5333def34.tar.gz
llvm-30804c42207801541c84346fcc8ec6e5333def34.tar.bz2
[PECOFF] Fix SECREL relocations.
SECREL relocation's value is the offset to the beginning of the section. Because of the off-by-one error, if a SECREL relocation target is at the beginning of a section, it got wrong value. Added a test that would have caught this. llvm-svn: 221420
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions