[PATCH] D17256: [ELF] - Minor refactor of LinkerScript file.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 01:15:19 PST 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

A minor cleanup for LinkerScript:
1) Moves allocator from LinkerScript to elf2::ScriptParser
2) Removes few redundant !Error flag checks.
3) Removes lots of else-ifs from ScriptParser::run();
4) Regroups ScriptParser class members.

http://reviews.llvm.org/D17256

Files:
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17256.47958.patch
Type: text/x-patch
Size: 3502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160215/cc16ee5b/attachment.bin>


More information about the llvm-commits mailing list