diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-08-06 10:44:17 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-08-06 10:44:17 +0000 |
commit | e0ff432a480e14453e24309e76cd59b32ed177fc (patch) | |
tree | 73b40195444b794ad605861d03081c01059cf17c /llvm/lib/Support/APInt.cpp | |
parent | c3cc1ec6b127f52dde37f77409209716b11b8fc9 (diff) | |
download | llvm-e0ff432a480e14453e24309e76cd59b32ed177fc.zip llvm-e0ff432a480e14453e24309e76cd59b32ed177fc.tar.gz llvm-e0ff432a480e14453e24309e76cd59b32ed177fc.tar.bz2 |
[ELF] - Remove dead code from LinkerScript::assignOffsets(). NFC-ihope.
Some parts of the code changed are a bit old. I found traces in 2016.
Initiall commits has test cases and perhaps reasonable comments.
For example, we had segfaults earlier and had the code to fix them.
Now, in 2018, I think it is excessive to have these parts, because
we do not have segfaults and our code was changed a lot (softly saying).
I reviewed the current sources and I think that at this point of the
execution flow, we should never face with
the conditions checked and so I removing them in this patch.
This helps to cleanup the code.
llvm-svn: 339003
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions