blob: c8edde7ee2ef020fba7e4ff03a50acb55c514d57 [file] [log] [blame]
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +00001//===-- LLVMSymbolize.cpp -------------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// Implementation for LLVM symbolization library.
11//
12//===----------------------------------------------------------------------===//
13
14#include "LLVMSymbolize.h"
Alexey Samsonov51283a12013-03-19 15:33:18 +000015#include "llvm/ADT/STLExtras.h"
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +000016#include "llvm/Object/MachO.h"
17#include "llvm/Support/Casting.h"
Alexey Samsonov68894832013-08-14 17:09:30 +000018#include "llvm/Support/Compression.h"
19#include "llvm/Support/DataExtractor.h"
Alexey Samsonov888ca962013-06-04 07:57:38 +000020#include "llvm/Support/FileSystem.h"
Alexey Samsonov68894832013-08-14 17:09:30 +000021#include "llvm/Support/MemoryBuffer.h"
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +000022#include "llvm/Support/Path.h"
23
24#include <sstream>
25
26namespace llvm {
27namespace symbolize {
28
Dmitry Vyukovb1819192013-02-14 13:06:18 +000029static bool error(error_code ec) {
Alexey Samsonovc4439c32013-02-15 08:54:47 +000030 if (!ec)
31 return false;
Dmitry Vyukovb1819192013-02-14 13:06:18 +000032 errs() << "LLVMSymbolizer: error reading file: " << ec.message() << ".\n";
33 return true;
34}
35
Alexey Samsonovc4439c32013-02-15 08:54:47 +000036static uint32_t
37getDILineInfoSpecifierFlags(const LLVMSymbolizer::Options &Opts) {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +000038 uint32_t Flags = llvm::DILineInfoSpecifier::FileLineInfo |
39 llvm::DILineInfoSpecifier::AbsoluteFilePath;
40 if (Opts.PrintFunctions)
41 Flags |= llvm::DILineInfoSpecifier::FunctionName;
42 return Flags;
43}
44
45static void patchFunctionNameInDILineInfo(const std::string &NewFunctionName,
46 DILineInfo &LineInfo) {
47 std::string FileName = LineInfo.getFileName();
48 LineInfo = DILineInfo(StringRef(FileName), StringRef(NewFunctionName),
49 LineInfo.getLine(), LineInfo.getColumn());
50}
51
Dmitry Vyukovb1819192013-02-14 13:06:18 +000052ModuleInfo::ModuleInfo(ObjectFile *Obj, DIContext *DICtx)
Alexey Samsonovc4439c32013-02-15 08:54:47 +000053 : Module(Obj), DebugInfoContext(DICtx) {
Dmitry Vyukovb1819192013-02-14 13:06:18 +000054 error_code ec;
Alexey Samsonovc4439c32013-02-15 08:54:47 +000055 for (symbol_iterator si = Module->begin_symbols(), se = Module->end_symbols();
56 si != se; si.increment(ec)) {
Dmitry Vyukovb1819192013-02-14 13:06:18 +000057 if (error(ec))
58 return;
59 SymbolRef::Type SymbolType;
60 if (error(si->getType(SymbolType)))
61 continue;
Alexey Samsonovc4439c32013-02-15 08:54:47 +000062 if (SymbolType != SymbolRef::ST_Function &&
63 SymbolType != SymbolRef::ST_Data)
Dmitry Vyukovb1819192013-02-14 13:06:18 +000064 continue;
65 uint64_t SymbolAddress;
Alexey Samsonovc4439c32013-02-15 08:54:47 +000066 if (error(si->getAddress(SymbolAddress)) ||
67 SymbolAddress == UnknownAddressOrSize)
Dmitry Vyukovb1819192013-02-14 13:06:18 +000068 continue;
69 uint64_t SymbolSize;
Alexey Samsonovb6564642013-06-07 15:25:27 +000070 // Getting symbol size is linear for Mach-O files, so assume that symbol
71 // occupies the memory range up to the following symbol.
Alexey Samsonov888ca962013-06-04 07:57:38 +000072 if (isa<MachOObjectFile>(Obj))
73 SymbolSize = 0;
74 else if (error(si->getSize(SymbolSize)) ||
75 SymbolSize == UnknownAddressOrSize)
Dmitry Vyukovb1819192013-02-14 13:06:18 +000076 continue;
77 StringRef SymbolName;
78 if (error(si->getName(SymbolName)))
79 continue;
Alexey Samsonov8c6e3242013-06-28 14:25:52 +000080 // Mach-O symbol table names have leading underscore, skip it.
81 if (Module->isMachO() && SymbolName.size() > 0 && SymbolName[0] == '_')
82 SymbolName = SymbolName.drop_front();
Dmitry Vyukovb1819192013-02-14 13:06:18 +000083 // FIXME: If a function has alias, there are two entries in symbol table
84 // with same address size. Make sure we choose the correct one.
Alexey Samsonovc4439c32013-02-15 08:54:47 +000085 SymbolMapTy &M = SymbolType == SymbolRef::ST_Function ? Functions : Objects;
Alexey Samsonovb6564642013-06-07 15:25:27 +000086 SymbolDesc SD = { SymbolAddress, SymbolSize };
Dmitry Vyukovb1819192013-02-14 13:06:18 +000087 M.insert(std::make_pair(SD, SymbolName));
88 }
89}
90
91bool ModuleInfo::getNameFromSymbolTable(SymbolRef::Type Type, uint64_t Address,
92 std::string &Name, uint64_t &Addr,
93 uint64_t &Size) const {
Alexey Samsonovc4439c32013-02-15 08:54:47 +000094 const SymbolMapTy &M = Type == SymbolRef::ST_Function ? Functions : Objects;
Alexey Samsonov888ca962013-06-04 07:57:38 +000095 if (M.empty())
Dmitry Vyukovb1819192013-02-14 13:06:18 +000096 return false;
Alexey Samsonov888ca962013-06-04 07:57:38 +000097 SymbolDesc SD = { Address, Address };
98 SymbolMapTy::const_iterator it = M.upper_bound(SD);
Alexey Samsonovb6564642013-06-07 15:25:27 +000099 if (it == M.begin())
100 return false;
Alexey Samsonov888ca962013-06-04 07:57:38 +0000101 --it;
Alexey Samsonovb6564642013-06-07 15:25:27 +0000102 if (it->first.Size != 0 && it->first.Addr + it->first.Size <= Address)
Dmitry Vyukovb1819192013-02-14 13:06:18 +0000103 return false;
104 Name = it->second.str();
105 Addr = it->first.Addr;
Alexey Samsonovb6564642013-06-07 15:25:27 +0000106 Size = it->first.Size;
Dmitry Vyukovb1819192013-02-14 13:06:18 +0000107 return true;
108}
109
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000110DILineInfo ModuleInfo::symbolizeCode(
111 uint64_t ModuleOffset, const LLVMSymbolizer::Options &Opts) const {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000112 DILineInfo LineInfo;
113 if (DebugInfoContext) {
114 LineInfo = DebugInfoContext->getLineInfoForAddress(
115 ModuleOffset, getDILineInfoSpecifierFlags(Opts));
116 }
117 // Override function name from symbol table if necessary.
118 if (Opts.PrintFunctions && Opts.UseSymbolTable) {
119 std::string FunctionName;
120 uint64_t Start, Size;
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000121 if (getNameFromSymbolTable(SymbolRef::ST_Function, ModuleOffset,
122 FunctionName, Start, Size)) {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000123 patchFunctionNameInDILineInfo(FunctionName, LineInfo);
124 }
125 }
126 return LineInfo;
127}
128
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000129DIInliningInfo ModuleInfo::symbolizeInlinedCode(
130 uint64_t ModuleOffset, const LLVMSymbolizer::Options &Opts) const {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000131 DIInliningInfo InlinedContext;
132 if (DebugInfoContext) {
133 InlinedContext = DebugInfoContext->getInliningInfoForAddress(
134 ModuleOffset, getDILineInfoSpecifierFlags(Opts));
135 }
136 // Make sure there is at least one frame in context.
137 if (InlinedContext.getNumberOfFrames() == 0) {
138 InlinedContext.addFrame(DILineInfo());
139 }
140 // Override the function name in lower frame with name from symbol table.
141 if (Opts.PrintFunctions && Opts.UseSymbolTable) {
142 DIInliningInfo PatchedInlinedContext;
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000143 for (uint32_t i = 0, n = InlinedContext.getNumberOfFrames(); i < n; i++) {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000144 DILineInfo LineInfo = InlinedContext.getFrame(i);
145 if (i == n - 1) {
146 std::string FunctionName;
147 uint64_t Start, Size;
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000148 if (getNameFromSymbolTable(SymbolRef::ST_Function, ModuleOffset,
149 FunctionName, Start, Size)) {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000150 patchFunctionNameInDILineInfo(FunctionName, LineInfo);
151 }
152 }
153 PatchedInlinedContext.addFrame(LineInfo);
154 }
155 InlinedContext = PatchedInlinedContext;
156 }
157 return InlinedContext;
158}
159
160bool ModuleInfo::symbolizeData(uint64_t ModuleOffset, std::string &Name,
161 uint64_t &Start, uint64_t &Size) const {
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000162 return getNameFromSymbolTable(SymbolRef::ST_Data, ModuleOffset, Name, Start,
163 Size);
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000164}
165
Alexey Samsonov638c63c2013-02-04 15:55:26 +0000166const char LLVMSymbolizer::kBadString[] = "??";
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000167
168std::string LLVMSymbolizer::symbolizeCode(const std::string &ModuleName,
169 uint64_t ModuleOffset) {
170 ModuleInfo *Info = getOrCreateModuleInfo(ModuleName);
171 if (Info == 0)
172 return printDILineInfo(DILineInfo());
173 if (Opts.PrintInlining) {
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000174 DIInliningInfo InlinedContext =
175 Info->symbolizeInlinedCode(ModuleOffset, Opts);
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000176 uint32_t FramesNum = InlinedContext.getNumberOfFrames();
177 assert(FramesNum > 0);
178 std::string Result;
179 for (uint32_t i = 0; i < FramesNum; i++) {
180 DILineInfo LineInfo = InlinedContext.getFrame(i);
181 Result += printDILineInfo(LineInfo);
182 }
183 return Result;
184 }
185 DILineInfo LineInfo = Info->symbolizeCode(ModuleOffset, Opts);
186 return printDILineInfo(LineInfo);
187}
188
189std::string LLVMSymbolizer::symbolizeData(const std::string &ModuleName,
190 uint64_t ModuleOffset) {
191 std::string Name = kBadString;
192 uint64_t Start = 0;
193 uint64_t Size = 0;
194 if (Opts.UseSymbolTable) {
195 if (ModuleInfo *Info = getOrCreateModuleInfo(ModuleName)) {
Alexey Samsonovc071f892013-06-28 12:06:25 +0000196 if (Info->symbolizeData(ModuleOffset, Name, Start, Size) && Opts.Demangle)
197 Name = DemangleName(Name);
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000198 }
199 }
200 std::stringstream ss;
201 ss << Name << "\n" << Start << " " << Size << "\n";
202 return ss.str();
203}
204
Dmitry Vyukove9e10d12013-03-19 10:24:42 +0000205void LLVMSymbolizer::flush() {
Alexey Samsonov51283a12013-03-19 15:33:18 +0000206 DeleteContainerSeconds(Modules);
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000207 DeleteContainerPointers(ParsedBinariesAndObjects);
Alexey Samsonov0ed872c2013-06-28 15:08:29 +0000208 BinaryForPath.clear();
209 ObjectFileForArch.clear();
Dmitry Vyukove9e10d12013-03-19 10:24:42 +0000210}
211
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000212static std::string getDarwinDWARFResourceForPath(const std::string &Path) {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000213 StringRef Basename = sys::path::filename(Path);
214 const std::string &DSymDirectory = Path + ".dSYM";
215 SmallString<16> ResourceName = StringRef(DSymDirectory);
216 sys::path::append(ResourceName, "Contents", "Resources", "DWARF");
217 sys::path::append(ResourceName, Basename);
218 return ResourceName.str();
219}
220
Alexey Samsonov68894832013-08-14 17:09:30 +0000221static bool checkFileCRC(StringRef Path, uint32_t CRCHash) {
222 OwningPtr<MemoryBuffer> MB;
223 if (MemoryBuffer::getFileOrSTDIN(Path, MB))
224 return false;
225 return !zlib::isAvailable() || CRCHash == zlib::crc32(MB->getBuffer());
226}
227
228static bool findDebugBinary(const std::string &OrigPath,
229 const std::string &DebuglinkName, uint32_t CRCHash,
230 std::string &Result) {
231 SmallString<16> OrigDir(OrigPath);
232 llvm::sys::path::remove_filename(OrigDir);
233 SmallString<16> DebugPath = OrigDir;
234 // Try /path/to/original_binary/debuglink_name
235 llvm::sys::path::append(DebugPath, DebuglinkName);
236 if (checkFileCRC(DebugPath, CRCHash)) {
237 Result = DebugPath.str();
238 return true;
239 }
240 // Try /path/to/original_binary/.debug/debuglink_name
241 DebugPath = OrigPath;
242 llvm::sys::path::append(DebugPath, ".debug", DebuglinkName);
243 if (checkFileCRC(DebugPath, CRCHash)) {
244 Result = DebugPath.str();
245 return true;
246 }
247 // Try /usr/lib/debug/path/to/original_binary/debuglink_name
248 DebugPath = "/usr/lib/debug";
249 llvm::sys::path::append(DebugPath, llvm::sys::path::relative_path(OrigDir),
250 DebuglinkName);
251 if (checkFileCRC(DebugPath, CRCHash)) {
252 Result = DebugPath.str();
253 return true;
254 }
255 return false;
256}
257
258static bool getGNUDebuglinkContents(const Binary *Bin, std::string &DebugName,
259 uint32_t &CRCHash) {
260 const ObjectFile *Obj = dyn_cast<ObjectFile>(Bin);
261 if (!Obj)
262 return false;
263 error_code EC;
264 for (section_iterator I = Obj->begin_sections(), E = Obj->end_sections();
265 I != E; I.increment(EC)) {
266 StringRef Name;
267 I->getName(Name);
268 Name = Name.substr(Name.find_first_not_of("._"));
269 if (Name == "gnu_debuglink") {
270 StringRef Data;
271 I->getContents(Data);
272 DataExtractor DE(Data, Obj->isLittleEndian(), 0);
273 uint32_t Offset = 0;
274 if (const char *DebugNameStr = DE.getCStr(&Offset)) {
275 // 4-byte align the offset.
276 Offset = (Offset + 3) & ~0x3;
277 if (DE.isValidOffsetForDataOfSize(Offset, 4)) {
278 DebugName = DebugNameStr;
279 CRCHash = DE.getU32(&Offset);
280 return true;
281 }
282 }
283 break;
284 }
285 }
286 return false;
287}
288
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000289LLVMSymbolizer::BinaryPair
290LLVMSymbolizer::getOrCreateBinary(const std::string &Path) {
291 BinaryMapTy::iterator I = BinaryForPath.find(Path);
292 if (I != BinaryForPath.end())
293 return I->second;
294 Binary *Bin = 0;
295 Binary *DbgBin = 0;
296 OwningPtr<Binary> ParsedBinary;
297 OwningPtr<Binary> ParsedDbgBinary;
298 if (!error(createBinary(Path, ParsedBinary))) {
299 // Check if it's a universal binary.
300 Bin = ParsedBinary.take();
301 ParsedBinariesAndObjects.push_back(Bin);
302 if (Bin->isMachO() || Bin->isMachOUniversalBinary()) {
303 // On Darwin we may find DWARF in separate object file in
304 // resource directory.
305 const std::string &ResourcePath =
306 getDarwinDWARFResourceForPath(Path);
307 bool ResourceFileExists = false;
308 if (!sys::fs::exists(ResourcePath, ResourceFileExists) &&
309 ResourceFileExists &&
310 !error(createBinary(ResourcePath, ParsedDbgBinary))) {
311 DbgBin = ParsedDbgBinary.take();
312 ParsedBinariesAndObjects.push_back(DbgBin);
313 }
314 }
Alexey Samsonov68894832013-08-14 17:09:30 +0000315 // Try to locate the debug binary using .gnu_debuglink section.
316 if (DbgBin == 0) {
317 std::string DebuglinkName;
318 uint32_t CRCHash;
319 std::string DebugBinaryPath;
320 if (getGNUDebuglinkContents(Bin, DebuglinkName, CRCHash) &&
321 findDebugBinary(Path, DebuglinkName, CRCHash, DebugBinaryPath) &&
322 !error(createBinary(DebugBinaryPath, ParsedDbgBinary))) {
323 DbgBin = ParsedDbgBinary.take();
324 ParsedBinariesAndObjects.push_back(DbgBin);
325 }
326 }
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000327 }
328 if (DbgBin == 0)
329 DbgBin = Bin;
330 BinaryPair Res = std::make_pair(Bin, DbgBin);
331 BinaryForPath[Path] = Res;
332 return Res;
333}
334
335ObjectFile *
336LLVMSymbolizer::getObjectFileFromBinary(Binary *Bin, const std::string &ArchName) {
337 if (Bin == 0)
338 return 0;
339 ObjectFile *Res = 0;
340 if (MachOUniversalBinary *UB = dyn_cast<MachOUniversalBinary>(Bin)) {
341 ObjectFileForArchMapTy::iterator I = ObjectFileForArch.find(
342 std::make_pair(UB, ArchName));
343 if (I != ObjectFileForArch.end())
344 return I->second;
345 OwningPtr<ObjectFile> ParsedObj;
346 if (!UB->getObjectForArch(Triple(ArchName).getArch(), ParsedObj)) {
347 Res = ParsedObj.take();
348 ParsedBinariesAndObjects.push_back(Res);
349 }
350 ObjectFileForArch[std::make_pair(UB, ArchName)] = Res;
351 } else if (Bin->isObject()) {
352 Res = cast<ObjectFile>(Bin);
353 }
354 return Res;
355}
356
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000357ModuleInfo *
358LLVMSymbolizer::getOrCreateModuleInfo(const std::string &ModuleName) {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000359 ModuleMapTy::iterator I = Modules.find(ModuleName);
360 if (I != Modules.end())
361 return I->second;
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000362 std::string BinaryName = ModuleName;
363 std::string ArchName = Opts.DefaultArch;
Alexey Samsonovdf959c72013-07-17 06:45:36 +0000364 size_t ColonPos = ModuleName.find_last_of(':');
365 // Verify that substring after colon form a valid arch name.
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000366 if (ColonPos != std::string::npos) {
Alexey Samsonovdf959c72013-07-17 06:45:36 +0000367 std::string ArchStr = ModuleName.substr(ColonPos + 1);
NAKAMURA Takumi1e65bf22013-07-17 06:53:51 +0000368 if (Triple(ArchStr).getArch() != Triple::UnknownArch) {
Alexey Samsonovdf959c72013-07-17 06:45:36 +0000369 BinaryName = ModuleName.substr(0, ColonPos);
370 ArchName = ArchStr;
371 }
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000372 }
373 BinaryPair Binaries = getOrCreateBinary(BinaryName);
374 ObjectFile *Obj = getObjectFileFromBinary(Binaries.first, ArchName);
375 ObjectFile *DbgObj = getObjectFileFromBinary(Binaries.second, ArchName);
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000376
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000377 if (Obj == 0) {
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000378 // Failed to find valid object file.
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000379 Modules.insert(make_pair(ModuleName, (ModuleInfo *)0));
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000380 return 0;
381 }
Alexey Samsonov8175bc32013-06-28 08:15:40 +0000382 DIContext *Context = DIContext::getDWARFContext(DbgObj);
383 assert(Context);
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000384 ModuleInfo *Info = new ModuleInfo(Obj, Context);
385 Modules.insert(make_pair(ModuleName, Info));
386 return Info;
387}
388
389std::string LLVMSymbolizer::printDILineInfo(DILineInfo LineInfo) const {
390 // By default, DILineInfo contains "<invalid>" for function/filename it
391 // cannot fetch. We replace it to "??" to make our output closer to addr2line.
392 static const std::string kDILineInfoBadString = "<invalid>";
393 std::stringstream Result;
394 if (Opts.PrintFunctions) {
395 std::string FunctionName = LineInfo.getFunctionName();
396 if (FunctionName == kDILineInfoBadString)
397 FunctionName = kBadString;
Alexey Samsonovc071f892013-06-28 12:06:25 +0000398 else if (Opts.Demangle)
399 FunctionName = DemangleName(FunctionName);
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000400 Result << FunctionName << "\n";
401 }
402 std::string Filename = LineInfo.getFileName();
403 if (Filename == kDILineInfoBadString)
404 Filename = kBadString;
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000405 Result << Filename << ":" << LineInfo.getLine() << ":" << LineInfo.getColumn()
406 << "\n";
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000407 return Result.str();
408}
409
410#if !defined(_MSC_VER)
411// Assume that __cxa_demangle is provided by libcxxabi (except for Windows).
412extern "C" char *__cxa_demangle(const char *mangled_name, char *output_buffer,
413 size_t *length, int *status);
414#endif
415
Alexey Samsonovc071f892013-06-28 12:06:25 +0000416std::string LLVMSymbolizer::DemangleName(const std::string &Name) {
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000417#if !defined(_MSC_VER)
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000418 int status = 0;
419 char *DemangledName = __cxa_demangle(Name.c_str(), 0, 0, &status);
420 if (status != 0)
Alexey Samsonovc071f892013-06-28 12:06:25 +0000421 return Name;
422 std::string Result = DemangledName;
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000423 free(DemangledName);
Alexey Samsonovc071f892013-06-28 12:06:25 +0000424 return Result;
425#else
426 return Name;
Alexey Samsonovc4c7ea32013-01-22 14:21:19 +0000427#endif
428}
429
Alexey Samsonovc4439c32013-02-15 08:54:47 +0000430} // namespace symbolize
431} // namespace llvm