[Lldb-commits] [lldb] r110641 - /lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Jim Ingham
jingham at apple.com
Mon Aug 9 18:36:46 PDT 2010
Author: jingham
Date: Mon Aug 9 20:36:46 2010
New Revision: 110641
URL: http://llvm.org/viewvc/llvm-project?rev=110641&view=rev
Log:
Looks like this is how you identify executables in ELF.
Modified:
lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Modified: lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp?rev=110641&r1=110640&r2=110641&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp Mon Aug 9 20:36:46 2010
@@ -148,8 +148,7 @@
bool
ObjectFileELF::IsExecutable() const
{
- // FIXME: How is this marked in ELF?
- return false;
+ return m_header.e_type == ET_EXEC;
}
ByteOrder
More information about the lldb-commits
mailing list