summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-05-17 14:46:59 +0000
committerAshok Thirumurthi <ashok.thirumurthi@intel.com>2013-05-17 14:46:59 +0000
commit84cf70ec09c7c9e890fbe71823f6f1b64eddfd98 (patch)
tree6897c2f7357c78f6cea8f5a05a9f9a47edd68f91
parent3285dc1364133caa63f45c5ed8365f0267d3ba1a (diff)
downloadbcm5719-llvm-84cf70ec09c7c9e890fbe71823f6f1b64eddfd98.tar.gz
bcm5719-llvm-84cf70ec09c7c9e890fbe71823f6f1b64eddfd98.zip
Fixed the build to reflect the API name change in r182085.
- Also added a comment as lldb doesn't flush the instruction cache after dy-load. llvm-svn: 182099
-rw-r--r--lldb/include/lldb/Expression/IRExecutionUnit.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/include/lldb/Expression/IRExecutionUnit.h b/lldb/include/lldb/Expression/IRExecutionUnit.h
index 25732ddc35f..885b6516b0c 100644
--- a/lldb/include/lldb/Expression/IRExecutionUnit.h
+++ b/lldb/include/lldb/Expression/IRExecutionUnit.h
@@ -336,7 +336,13 @@ private:
/// @return
/// True in case of failure, false in case of success.
//------------------------------------------------------------------
- bool applyPermissions(std::string *ErrMsg) { return false; }
+ virtual bool finalizeMemory(std::string *ErrMsg) {
+ // TODO: Ensure that the instruction cache is flushed because
+ // relocations are updated by dy-load. See:
+ // sys::Memory::InvalidateInstructionCache
+ // llvm::SectionMemoryManager
+ return false;
+ }
//------------------------------------------------------------------
/// Passthrough interface stub
OpenPOWER on IntegriCloud