diff options
author | Tim Northover <t.p.northover@gmail.com> | 2013-05-19 15:28:16 +0000 |
---|---|---|
committer | Tim Northover <t.p.northover@gmail.com> | 2013-05-19 15:28:16 +0000 |
commit | 820b147493d6d534f9482f1e7d4ff5af99d095b4 (patch) | |
tree | 4aff1b9fa116a096d343896fd388bb0b3955a63d /test/ExecutionEngine/MCJIT/remote/lit.local.cfg | |
parent | ff9a6b44e003f4abcc0231335824c4fe2b616950 (diff) | |
download | external_llvm-820b147493d6d534f9482f1e7d4ff5af99d095b4.zip external_llvm-820b147493d6d534f9482f1e7d4ff5af99d095b4.tar.gz external_llvm-820b147493d6d534f9482f1e7d4ff5af99d095b4.tar.bz2 |
Invalidate instruction cache when setting memory to be executable.
lli's remote MCJIT code calls setExecutable just prior to running
code. In line with Darwin behaviour this seems to be the place to
invalidate any caches needed so that relocations can take effect
properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/MCJIT/remote/lit.local.cfg')
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/lit.local.cfg | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/ExecutionEngine/MCJIT/remote/lit.local.cfg b/test/ExecutionEngine/MCJIT/remote/lit.local.cfg deleted file mode 100644 index 12fcda0..0000000 --- a/test/ExecutionEngine/MCJIT/remote/lit.local.cfg +++ /dev/null @@ -1,11 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] - -def getRoot(config): - if not config.parent: - return config - return getRoot(config.parent) - -root = getRoot(config) - -if 'arm' in root.target_triple: - config.unsupported = True |