diff options
author | Frederic Riss <friss@apple.com> | 2015-03-07 01:25:09 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2015-03-07 01:25:09 +0000 |
commit | 23e20e95e9418c346cbe19b4733f22698c6d9e85 (patch) | |
tree | a9a8e442b4a977316a9bd8b2e42c8ff86411e0d5 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | d4dc7d57392d7649b71a5eda904f198755460bbb (diff) | |
download | llvm-23e20e95e9418c346cbe19b4733f22698c6d9e85.zip llvm-23e20e95e9418c346cbe19b4733f22698c6d9e85.tar.gz llvm-23e20e95e9418c346cbe19b4733f22698c6d9e85.tar.bz2 |
[dsymutil] Apply relocations to DIE data before cloning.
Doing this gets function's low_pc and global variable's locations right
in the output debug info. It also could get right other attributes
that need to be relocated (in linker terms), but I don't know of any
other than the address attributes.
This doesn't fixup low_pc attributes in compile_unit, lexical_block
or inlined subroutine, nor does it get right high_pc attributes
for function. This will come in a subsequent commit.
llvm-svn: 231544
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions