[PATCH] D13041: [llvm-readobj/MachO] Ensure we always have a valid reference to SegmentName
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 19:16:19 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL248239: [llvm-readobj/MachO] Ensure we always have valid CmdName/SegmentName. (authored by davide).
Changed prior to commit:
http://reviews.llvm.org/D13041?vs=35334&id=35337#toc
Repository:
rL LLVM
http://reviews.llvm.org/D13041
Files:
llvm/trunk/tools/llvm-readobj/MachODumper.cpp
Index: llvm/trunk/tools/llvm-readobj/MachODumper.cpp
===================================================================
--- llvm/trunk/tools/llvm-readobj/MachODumper.cpp
+++ llvm/trunk/tools/llvm-readobj/MachODumper.cpp
@@ -267,8 +267,8 @@
};
struct MachOSegment {
- StringRef CmdName;
- StringRef SegName;
+ std::string CmdName;
+ std::string SegName;
uint64_t cmdsize;
uint64_t vmaddr;
uint64_t vmsize;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13041.35337.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150922/35bb8665/attachment.bin>
More information about the llvm-commits
mailing list