| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 85149
|
| |
|
|
|
|
| |
direct inclusion edge from System to Support.
llvm-svn: 85086
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiled.
When functions are compiled, they accumulate references in the JITResolver's
stub maps. This patch removes those references when the functions are
destroyed. It's illegal to destroy a Function when any thread may still try to
call its machine code.
This patch also updates r83987 to use ValueMap instead of explicit CallbackVHs
and fixes a couple "do stuff inside assert()" bugs from r84522.
llvm-svn: 84975
|
| |
|
|
|
|
| |
Evan Cheng.
llvm-svn: 84967
|
| |
|
|
|
|
| |
gcc-4.4.
llvm-svn: 84902
|
| |
|
|
| |
llvm-svn: 84892
|
| |
|
|
|
|
|
|
|
|
|
|
| |
even when keys get RAUWed and deleted during its lifetime. By default the keys
act like WeakVHs, but users can pass a third template parameter to configure
how updates work and whether to do anything beyond updating the map on each
action.
It's also possible to automatically acquire a lock around ValueMap updates
triggered by RAUWs and deletes, to support the ExecutionEngine.
llvm-svn: 84890
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
JITEmitter.
I'm gradually making Functions auto-remove themselves from the JIT when they're
destroyed. In this case, the Function needs to be removed from the JITEmitter,
but the map recording which Functions need to be removed lived behind the
JITMemoryManager interface, which made things difficult.
This patch replaces the deallocateMemForFunction(Function*) method with a pair
of methods deallocateFunctionBody(void *) and deallocateExceptionTable(void *)
corresponding to the two startFoo/endFoo pairs.
llvm-svn: 84651
|
| |
|
|
| |
llvm-svn: 84603
|
| |
|
|
| |
llvm-svn: 84595
|
| |
|
|
| |
llvm-svn: 84482
|
| |
|
|
| |
llvm-svn: 84355
|
| |
|
|
| |
llvm-svn: 84186
|
| |
|
|
| |
llvm-svn: 84128
|
| |
|
|
|
|
| |
4406. Patch by Nick Lewycky!
llvm-svn: 84032
|
| |
|
|
|
|
|
| |
GlobalValue is destroyed. Function destruction still leaks machine code and
can crash on leaked stubs, but this is some progress.
llvm-svn: 83987
|
| |
|
|
|
|
| |
these constants unsigned.
llvm-svn: 83962
|
| |
|
|
| |
llvm-svn: 83932
|
| |
|
|
|
|
| |
same Value without breaking things.
llvm-svn: 83861
|
| |
|
|
|
|
|
| |
mappings, which could cause errors and assert-failures. This patch fixes that,
adds a test, and refactors the global-mapping-removal code into a single place.
llvm-svn: 83678
|
| |
|
|
| |
llvm-svn: 83401
|
| |
|
|
|
|
|
| |
where the element is of a basic builtin type. For example, to get
an i8* use getInt8PtrTy.
llvm-svn: 83379
|
| |
|
|
|
|
| |
check-lit` on both x86-64 Linux and x86-32 Darwin.
llvm-svn: 83353
|
| |
|
|
| |
llvm-svn: 83252
|
| |
|
|
|
|
|
|
|
|
| |
- MingW needs -lpsapi (in ${LIBS}) linked after -lLLVMSystem.
Noticed by Ronald Pijnacker!
- Some parts of the System library must be build with exceptions on windows.
Based on a patch by Jay Foad!
llvm-svn: 83251
|
| |
|
|
|
|
| |
instructions' optimization flags.
llvm-svn: 82934
|
| |
|
|
| |
llvm-svn: 82925
|
| |
|
|
|
|
| |
and makes the API more annoying. Add a Regex::getNumMatches() method.
llvm-svn: 82877
|
| |
|
|
|
|
|
| |
setenv(). This patch just disables the test rather than getting putenv() to
work. Thanks to Sandeep Patel for reporting the problem.
llvm-svn: 82797
|
| |
|
|
|
|
|
|
| |
; CHECK: movl {{%e[a-z][xi]}}, %eax
or whatever.
llvm-svn: 82717
|
| |
|
|
|
|
|
| |
a trivial unittest would have caught. This revision also adds the trivial
unittest.
llvm-svn: 82675
|
| |
|
|
| |
llvm-svn: 82232
|
| |
|
|
| |
llvm-svn: 82148
|
| |
|
|
| |
llvm-svn: 82087
|
| |
|
|
|
|
|
| |
- As best I can tell, we have eliminated all the code which used to require a
larger buffer size.
llvm-svn: 81912
|
| |
|
|
| |
llvm-svn: 81752
|
| |
|
|
|
|
|
| |
- 'make unittests' still builds and tests.
- 'make unitcheck' inside a unittest directory runs the tests in that directory.
llvm-svn: 81725
|
| |
|
|
|
|
|
| |
- This eliminates a race between building the unittests and linking the
UnitTestMain library.
llvm-svn: 81719
|
| |
|
|
| |
llvm-svn: 81692
|
| |
|
|
|
|
|
| |
- 'make unittests' still builds and tests.
- 'make unitcheck' inside a unittest directory runs the tests in that directory.
llvm-svn: 81687
|
| |
|
|
|
|
|
|
| |
TypeBuilder was using a local static variable to cache its result. This made it
ignore changes in its LLVMContext argument and always return a type constructed
from the argument to the first call.
llvm-svn: 81316
|
| |
|
|
| |
llvm-svn: 81142
|
| |
|
|
| |
llvm-svn: 81102
|
| |
|
|
|
|
|
| |
equality. Prefer EXPECT_EQ(foo, Full) over EXPECT_TRUE(foo.isFullSet()) because
the former will print out the contents of the constant range that failed.
llvm-svn: 81094
|
| |
|
|
|
|
|
|
| |
This can break when there are implicit conversions from types raw_ostream
understands but std::ostream doesn't, but it increases the number of cases that
Just Work.
llvm-svn: 81093
|
| |
|
|
| |
llvm-svn: 80965
|
| |
|
|
|
|
|
|
| |
Use CallbackVH, instead of WeakVH, to hold MDNode elements.
Use FoldingSetNode to unique MDNodes in a context.
Use CallbackVH hooks to update context's MDNodeSet appropriately.
llvm-svn: 80868
|
| |
|
|
| |
llvm-svn: 80841
|
| |
|
|
|
|
|
| |
Use FoldingSetNode to unique MDNodes in a context.
Use CallbackVH hooks to update context's MDNodeSet appropriately.
llvm-svn: 80839
|
| |
|
|
| |
llvm-svn: 80741
|