aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-06-20 20:59:34 +0000
committerSean Silva <silvas@purdue.edu>2013-06-20 20:59:34 +0000
commitc1c290b25eed4815207bc94645409281eca8760d (patch)
tree38737639de4070ab213015e277fbe891b3340aca /clang/lib/Lex/ModuleMap.cpp
parent600bc24ef083f068c4c5f435a6692fefa88ab25a (diff)
downloadllvm-c1c290b25eed4815207bc94645409281eca8760d.zip
llvm-c1c290b25eed4815207bc94645409281eca8760d.tar.gz
llvm-c1c290b25eed4815207bc94645409281eca8760d.tar.bz2
[yaml2obj][ELF] Add the section name -> section index map to State.
One of the key things that the YAML format abstracts over is the use of section numbers for referencing sections. Instead, textual section names are used, which yaml2obj then translates into appropriate section numbers. (Technically ELF doesn't care about section names (only section numbers), but since this is a testing tool, readability counts). This simplifies using section names as symbolic references in various parts of the code. An upcoming commit will use this to allow symbols to reference sections. llvm-svn: 184467
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions