elf-core: Remove SetTriple workaround
authorEd Maste <emaste@freebsd.org>
Mon, 22 Jul 2013 20:01:34 +0000 (20:01 +0000)
committerEd Maste <emaste@freebsd.org>
Mon, 22 Jul 2013 20:01:34 +0000 (20:01 +0000)
commit40315fea3c99c6726a9d9bf128f84fc520b5c976
tree391f99daa945e97d6d2890c061bc4654849241ec
parent4d2ea3c69683b97cacaaafc3156a33827de5f66d
elf-core: Remove SetTriple workaround

On FreeBSD I see that Arch, Vendor, OS, and Environment are unchanged
after this call (for x86_64, at least), and core debugging works without
it.

If we need to restore it we should be able to switch on
arch.GetTriple.getOS() instead of a compile-time #ifdef.

Thanks to Daniel Malea for testing on Linux.

llvm-svn: 186862
lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp