aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Debugger/ProgramInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-07-07 07:02:20 +0000
committerChris Lattner <sabre@nondot.org>2005-07-07 07:02:20 +0000
commit1932f5c9be0903cd1bd7b1a3e2e6ffde1f042617 (patch)
tree1e75a1cab75a6312b2abeefede61fe4d2b119445 /llvm/lib/Debugger/ProgramInfo.cpp
parent92a139dd0bc2661a8210ef661a8adbea001214de (diff)
downloadllvm-1932f5c9be0903cd1bd7b1a3e2e6ffde1f042617.zip
llvm-1932f5c9be0903cd1bd7b1a3e2e6ffde1f042617.tar.gz
llvm-1932f5c9be0903cd1bd7b1a3e2e6ffde1f042617.tar.bz2
Add support for emitting the symbol table (and its string table) of the
module to the ELF file. Test it by adding support for emitting common symbols. This allows us to compile this: %X = weak global int 0 %Y = weak global int 0 %Z = weak global int 0 to an elf file that 'readelf's this: Symbol table '.symtab' contains 4 entries: Num: Value Size Type Bind Vis Ndx Name 0: 00000000 0 NOTYPE LOCAL DEFAULT UND 1: 00000004 4 OBJECT GLOBAL DEFAULT COM X 2: 00000004 4 OBJECT GLOBAL DEFAULT COM Y 3: 00000004 4 OBJECT GLOBAL DEFAULT COM Z llvm-svn: 22343
Diffstat (limited to 'llvm/lib/Debugger/ProgramInfo.cpp')
0 files changed, 0 insertions, 0 deletions