diff options
author | Chris Lattner <sabre@nondot.org> | 2008-06-26 05:17:18 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-06-26 05:17:18 +0000 |
commit | 652154918809b9aabeb90775fe58ecb91b1fa176 (patch) | |
tree | 787fc1b1c8da253b9f2e082c3926e64f18b4696e /lib/Target/CBackend/CBackend.cpp | |
parent | aefacb597298b31f8459970e1b13ef985bfc7a2b (diff) |
"An improved Mach-O file type detection for sys::IdentifyFileType()
This patch add supports for single architecture mach-o files (the current implementation only support Universal Binary), and solve the signature conflict between java class and Universal Binary magics.
Note that this function will always returned dynamic library for Universal Binaries (like the current implementation) because the binary type is not include in the file header."
Patch by Jean-Daniel Dupas!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
0 files changed, 0 insertions, 0 deletions