Breakpoint 1, llvm::sys::getHostTriple () at Unix/Host.inc:38 38 std::string sys::getHostTriple() { (gdb) n 43 std::pair ArchSplit = HostTripleString.split('-'); (gdb) 46 std::string Arch = ArchSplit.first; (gdb) 48 std::string Triple(Arch); (gdb) 49 Triple += '-'; (gdb) 50 Triple += ArchSplit.second; (gdb) print Triple $5 = {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7fffd56a94f0 "x86_64-"}} (gdb) print ArchSplit.second $6 = {static npos = 18446744073709551615, Data = 0x7fffd6f28046 "unknown-linux-gnu", Length = 17} (gdb) (gdb) s operator+= (string=..., buffer=...) at /home/alesko/ABS/extra/llvm/src/llvm-3.0.src/include/llvm/ADT/StringRef.h:464 464 return buffer.append(string.data(), string.size()); (gdb) print buffer $10 = (std::string &) @0x7fffffffd840: {static npos = , _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7fffd56a94f0 "x86_64-"}} (gdb) print string $11 = (gdb)