summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2015-12-22 15:23:33 +0000
committerTamas Berghammer <tberghammer@google.com>2015-12-22 15:23:33 +0000
commitcfcdbde3ce1ef6ccd97e2fdc45ad074b7f63de0d (patch)
treea226d186ace320295a22e44d60f4080954fe0477
parent76fd1052fd60ef227ad249bc16e714e9b4b7460c (diff)
downloadbcm5719-llvm-cfcdbde3ce1ef6ccd97e2fdc45ad074b7f63de0d.tar.gz
bcm5719-llvm-cfcdbde3ce1ef6ccd97e2fdc45ad074b7f63de0d.zip
Don't pack the structs of the jit debug interface
None of the documentation mentions that the entries are packed structs and also none of the other implementation I found pack them. Differential revision: http://reviews.llvm.org/D15715 llvm-svn: 256244
-rw-r--r--lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp b/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
index a78b57659f6..143e4479405 100644
--- a/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
+++ b/lldb/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp
@@ -90,7 +90,6 @@ typedef enum
JIT_UNREGISTER_FN
} jit_actions_t;
-#pragma pack(push, 4)
template <typename ptr_t>
struct jit_code_entry
{
@@ -107,7 +106,6 @@ struct jit_descriptor
ptr_t relevant_entry; // pointer
ptr_t first_entry; // pointer
};
-#pragma pack(pop)
JITLoaderGDB::JITLoaderGDB (lldb_private::Process *process) :
JITLoader(process),
OpenPOWER on IntegriCloud