summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRExecutionUnit.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-06-24 22:22:43 +0000
committerGreg Clayton <gclayton@apple.com>2014-06-24 22:22:43 +0000
commit48672afb662f4b23e1934debdb84ad9a20dd9ced (patch)
tree97771c2bbe2d8ef118c19cf9cc36b56aa8c10502 /lldb/source/Expression/IRExecutionUnit.cpp
parent257d48d22cadb5677b1be4a756b5bc74f286139b (diff)
downloadbcm5719-llvm-48672afb662f4b23e1934debdb84ad9a20dd9ced.tar.gz
bcm5719-llvm-48672afb662f4b23e1934debdb84ad9a20dd9ced.zip
Patch from Keno Fischer to enable JITLoaderGDB with mach-o file support.
The patch is as is with the functionality left disabled for apple vendors because of performance regressions. If this is enabled it ends up searching for symbols in all shared libraries that are loadeded. llvm-svn: 211638
Diffstat (limited to 'lldb/source/Expression/IRExecutionUnit.cpp')
-rw-r--r--lldb/source/Expression/IRExecutionUnit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Expression/IRExecutionUnit.cpp b/lldb/source/Expression/IRExecutionUnit.cpp
index 9934a3bb749..90d8d76cd55 100644
--- a/lldb/source/Expression/IRExecutionUnit.cpp
+++ b/lldb/source/Expression/IRExecutionUnit.cpp
@@ -917,6 +917,7 @@ IRExecutionUnit::PopulateSectionList (lldb_private::ObjectFile *obj_file,
record.m_size,
record.m_host_address, // file_offset (which is the host address for the data)
record.m_size, // file_size
+ 0,
record.m_permissions)); // flags
section_list.AddSection (section_sp);
}
OpenPOWER on IntegriCloud