commit | 6a64bbf41006e1184315b6593d7ec9d81c1c4654 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Wed Sep 21 03:57:31 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Wed Sep 21 03:57:31 2011 +0000 |
tree | 0e62170ee2b12386773ef68ef5cc452903919922 | |
parent | 03c8ee5aeafcd6c43f10002a4f8096af01780f86 [diff] |
The first part of a fix for being able to select an architecture slice from a file when the target has a triple with an unknown vendor and/or OS and the slice of the file itself has a valid vendor and/or OS. The Module now adopts the ObjectFile's architecture after a valid architecture has been loaded to make sure the module matches the object file. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140236 91177308-0d34-0410-b5e6-96231b3b80d8