| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
The SectionMemoryManager now supports (and requires) applying section-specific page permissions. Clients using this memory manager must call either MCJIT::finalizeObject() or SectionMemoryManager::applyPermissions() before executing JITed code.
See r168718 for changes from the previous implementation.
llvm-svn: 168721
|
| |
|
|
|
|
| |
This commit is primarily here for the revision history. I'm about to move the SectionMemoryManager into the RuntimeDyld library, but I wanted to check the changes in here so people could see the differences in the updated implementation.
llvm-svn: 168718
|
| |
|
|
|
|
|
|
|
|
| |
The rationale is to get YAML filenames in diagnostics from
yaml::Stream::printError -- currently the filename is hard-coded as
"YAML" because there's no buffer information available.
Patch by Kim Gräsman!
llvm-svn: 168341
|
| |
|
|
|
|
|
|
| |
Instruction* corollary, which may be useful if a user
wishes to transform a ConstantExpr so that one of its operands is no longer constant.
llvm-svn: 168262
|
| |
|
|
| |
llvm-svn: 168253
|
| |
|
|
|
|
|
|
| |
‘{anonymous}::D9’
due to ambiguity' warning.
llvm-svn: 168251
|
| |
|
|
|
|
| |
permissions after an object has been loaded.
llvm-svn: 168114
|
| |
|
|
| |
llvm-svn: 167968
|
| |
|
|
|
|
| |
instead; this appeases the VC++ buildbots
llvm-svn: 167724
|
| |
|
|
| |
llvm-svn: 167720
|
| |
|
|
|
|
|
| |
ICC refuses to compile a class in an anonymous namespace if some functions
aren't defined. Fixes PR13477.
llvm-svn: 167676
|
| |
|
|
|
|
|
|
| |
fmul transform.
This is safe for x87 long doubles and ppc double doubles too.
llvm-svn: 167582
|
| |
|
|
|
|
| |
invalidated before code execution.
llvm-svn: 167146
|
| |
|
|
| |
llvm-svn: 167145
|
| |
|
|
| |
llvm-svn: 167144
|
| |
|
|
|
|
|
|
| |
These tests were all failing since the old JIT doesn't work
for PowerPC (any more), and there are no plans to attempt to
fix it again (instead, work focuses on MCJIT).
llvm-svn: 167133
|
| |
|
|
| |
llvm-svn: 167111
|
| |
|
|
|
|
| |
with different sizes.
llvm-svn: 167018
|
| |
|
|
|
|
|
|
|
|
|
|
| |
treating it as if it were an IEEE floating-point type with 106-bit
mantissa.
This makes compile-time arithmetic on "long double" for PowerPC
in clang (in particular parsing of floating point constants)
work, and fixes all "long double" related failures in the test
suite.
llvm-svn: 166951
|
| |
|
|
|
|
| |
bucket if the number of values was exactly equal to the small capacity. This led to an infinite loop when finding a non-existent element
llvm-svn: 166492
|
| |
|
|
|
|
|
|
|
| |
When building with LTO, the internalize pass is hiding some global symbols
that are necessary for the JIT unittests. It seems like that may be a bug in
LTO to do that by default, but until that gets fixed, this change makes sure
that we export the necessary symbols for the tests to pass.
llvm-svn: 166220
|
| |
|
|
| |
llvm-svn: 166092
|
| |
|
|
|
|
| |
boundary condition for checking if I and E were in the same word were incorrect, and, beyond that, the mask computation was not using a wide enough constant.
llvm-svn: 166015
|
| |
|
|
|
|
| |
setting/resetting of ranges of bits, particularly useful when dealing with very large BitVector's.
llvm-svn: 165984
|
| |
|
|
| |
llvm-svn: 165908
|
| |
|
|
|
|
| |
Add a basic unit test for ImmutableMap. Found by inspection.
llvm-svn: 165907
|
| |
|
|
| |
llvm-svn: 165792
|
| |
|
|
| |
llvm-svn: 165790
|
| |
|
|
| |
llvm-svn: 165781
|
| |
|
|
|
|
| |
of it."
llvm-svn: 165780
|
| |
|
|
| |
llvm-svn: 165777
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additionally, all such cases are handled with no dynamic check.
All `classof()` of the form
class Foo {
[...]
static bool classof(const Bar *) { return true; }
[...]
}
where Foo is an ancestor of Bar are no longer necessary.
Don't write them!
Note: The exact test is `is_base_of<Foo, Bar>`, which is non-strict, so
that Foo is considered an ancestor of itself.
This leads to the following rule of thumb for LLVM-style RTTI:
The argument type of `classof()` should be a strict ancestor.
For more information about implementing LLVM-style RTTI, see
docs/HowToSetUpLLVMStyleRTTI.rst
llvm-svn: 165765
|
| |
|
|
| |
llvm-svn: 165403
|
| |
|
|
|
|
|
|
| |
functionality which is both known to be broken and not expected to be fixed in the old jit. To remove these from the regression test output, I've marked them XFAIL (for lit tests) and ifdef'd them out (unit tests). These modifications remove the last long-standing regression test failures from the buildbots (though updating the triple to reflect new ubuntu configuration has temporarily caused some new failures). Tested on x86-64 and ARM Linux.
Patch by David Tweed!
llvm-svn: 165390
|
| |
|
|
|
|
| |
Patch by Daniel Malea.
llvm-svn: 165246
|
| |
|
|
| |
llvm-svn: 165147
|
| |
|
|
|
|
|
|
| |
not "unsigned long long".
while there add more test cases.
llvm-svn: 165140
|
| |
|
|
|
|
| |
rejected
llvm-svn: 165136
|
| |
|
|
|
|
| |
Patch committed on behalf of Kirill Uhanov
llvm-svn: 164831
|
| |
|
|
|
|
| |
Committed on behalf of Kirill Uhanov
llvm-svn: 164736
|
| |
|
|
|
|
| |
BB->end() returns a sentinel value that is not a legal insert point.
llvm-svn: 164699
|
| |
|
|
|
|
|
|
| |
date, don't rely on it.
Add a couple of unit tests for special floats. Fixes 13929, found by MemorySanitizer.
llvm-svn: 164698
|
| |
|
|
|
|
|
|
| |
and u/srem.
Fixed issue with Release build.
llvm-svn: 164654
|
| |
|
|
| |
llvm-svn: 164627
|
| |
|
|
|
|
| |
and u/srem.
llvm-svn: 164614
|
| |
|
|
|
|
| |
ensure that the code was generated properly. Future work would be finding some way to test the actual result that would be computed.
llvm-svn: 164582
|
| |
|
|
|
|
| |
implement section-specific protection handling in MCJIT.
llvm-svn: 164249
|
| |
|
|
| |
llvm-svn: 163979
|
| |
|
|
| |
llvm-svn: 163950
|
| |
|
|
|
|
|
|
|
| |
- The current_pos function is supposed to return all the written bytes, not the
current position of the underlying stream.
- This caused tell() to be broken whenever the underlying stream had buffered
content.
llvm-svn: 163948
|