diff options
author | Rui Ueyama <ruiu@google.com> | 2015-04-14 21:20:37 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-04-14 21:20:37 +0000 |
commit | 5ec40d6e7398d7ddbffccc0bf635554d0ae252d1 (patch) | |
tree | 9115dd2b65d8126549cef54b7e5b0ea32d4657c6 /lldb/source/Core/Error.cpp | |
parent | b60453fe2975d7b3b7cf764ffa48b7cbedd4f47e (diff) | |
download | bcm5719-llvm-5ec40d6e7398d7ddbffccc0bf635554d0ae252d1.tar.gz bcm5719-llvm-5ec40d6e7398d7ddbffccc0bf635554d0ae252d1.zip |
ELF: Attempt to simplify Segment::assignVirtualAddress().
This function is too long and complicated. Looks like new code was
added incrementaly without any refactoring. Maybe no one can describe
its exact semantics any more? It even contains copy-pastes inside it.
This patch is an (incomplete) attempt to simplify the function.
I tried to mechanically translate code to another form more intelligible.
I don't still understand the whole picture, but this patch shouldn't
change the linker's functionality.
llvm-svn: 234944
Diffstat (limited to 'lldb/source/Core/Error.cpp')
0 files changed, 0 insertions, 0 deletions