aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-06-03 23:36:50 +0000
committerNick Kledzik <kledzik@apple.com>2014-06-03 23:36:50 +0000
commitcb9f890b7710bb49c4eae1362374b6a1d184980f (patch)
treea7523c9e0a7ffa08f821ec25b49c18e2ad7f41f1 /clang/lib/Frontend/CompilerInstance.cpp
parent760520bcb78d9b91b3bbf74704d9cb3ba6b5c5b6 (diff)
downloadllvm-cb9f890b7710bb49c4eae1362374b6a1d184980f.zip
llvm-cb9f890b7710bb49c4eae1362374b6a1d184980f.tar.gz
llvm-cb9f890b7710bb49c4eae1362374b6a1d184980f.tar.bz2
[mach-o] Refactor sections -> atoms to be table driven.
Previously each section kind had its own code to loop over the section and parse it into atoms. This refactoring has two tables. The first maps sections to ContentType. The second maps ContentType to information on how to find the atom boundaries. A few bugs in test cases were discovered as part of the refactoring. No change in functionality intended. llvm-svn: 210138
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions