[Lldb-commits] [PATCH] D16099: Get rid of ARM_ELF_SYM_IS_THUMB flag.
Stephane Sezer via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 11 16:54:47 PST 2016
sas created this revision.
sas added reviewers: tberghammer, clayborg.
sas added subscribers: lldb-commits, fjricci.
Herald added subscribers: rengolin, aemerson.
This was used with the old ARM vs. Thumb detection code but is not
required anymore.
http://reviews.llvm.org/D16099
Files:
source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Index: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
===================================================================
--- source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
+++ source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
@@ -954,9 +954,6 @@
return m_data.GetAddressByteSize();
}
-// Top 16 bits of the `Symbol` flags are available.
-#define ARM_ELF_SYM_IS_THUMB (1 << 16)
-
AddressClass
ObjectFileELF::GetAddressClass (addr_t file_addr)
{
@@ -2190,7 +2187,6 @@
// symbol.st_value to produce the final symbol_value
// that we store in the symtab.
symbol_value_offset = -1;
- additional_flags = ARM_ELF_SYM_IS_THUMB;
m_address_class_map[symbol.st_value^1] = eAddressClassCodeAlternateISA;
}
else
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16099.44583.patch
Type: text/x-patch
Size: 879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160112/63981862/attachment.bin>
More information about the lldb-commits
mailing list