[PATCH] Initial commit for the llvm-dsymutil tool.

Frederic Riss friss at apple.com
Thu Dec 11 01:26:05 PST 2014


- Initial dsymutil tool commit.
- Add llvm-dsymutil to the test config files.
- Fix llvm-dsymtool name.
- Use a standard constructor for SymbolMapping.
- Change the default input file from '-' to a.out
- Use less indirections in DebugMapObject::print()
- Use ObjectFile::createMachOObjectFile instead of createBinary().
- Do not repeat the llvm::cl namespace over and over.
- Add a description to the oso-prepend-path option.
- Move the high-level interface from classes to free functions.
- Remove useless lazy loading.
- Better error handling style.
- Use sys::path::append()

The free functions in the llvm namespace look a bit strange. Do we have a policy about that? Should I put this into a dsymutil namespace (and thus maybe also the DebugMap class) ?


http://reviews.llvm.org/D6242

Files:
  test/CMakeLists.txt
  test/lit.cfg
  test/tools/dsymutil/Inputs/basic-lto.macho.x86_64
  test/tools/dsymutil/Inputs/basic-lto.macho.x86_64.o
  test/tools/dsymutil/Inputs/basic.macho.x86_64
  test/tools/dsymutil/Inputs/basic1.c
  test/tools/dsymutil/Inputs/basic1.macho.x86_64.o
  test/tools/dsymutil/Inputs/basic2.c
  test/tools/dsymutil/Inputs/basic2.macho.x86_64.o
  test/tools/dsymutil/Inputs/basic3.c
  test/tools/dsymutil/Inputs/basic3.macho.x86_64.o
  test/tools/dsymutil/debug-map-parsing.test
  tools/CMakeLists.txt
  tools/LLVMBuild.txt
  tools/Makefile
  tools/dsymutil/CMakeLists.txt
  tools/dsymutil/DebugMap.cpp
  tools/dsymutil/DebugMap.h
  tools/dsymutil/DwarfLinker.cpp
  tools/dsymutil/LLVMBuild.txt
  tools/dsymutil/MachODebugMapParser.cpp
  tools/dsymutil/Makefile
  tools/dsymutil/dsymutil.cpp
  tools/dsymutil/dsymutil.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6242.17125.patch
Type: text/x-patch
Size: 30846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141211/2204e95c/attachment.bin>


More information about the llvm-commits mailing list