commit 63a535b8c10001cc189647804f311f413d0d9f29
Author: Jeffrey Yasskin <jyasskin@google.com>
Date: Sun Mar 21 20:37:19 2010 +0000
Memoize InlineAsms into the LLVMContext and delete them on shutdown.
Fixes PR803.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99143 91177308-0d34-0410-b5e6-96231b3b80d8
commit 700524ca0d62f3c952aaa6834c6a9792076e2dd6
Author: Jeffrey Yasskin <jyasskin@google.com>
Date: Sat Mar 13 01:26:15 2010 +0000
Delete MDNodes when LLVMContext is destroyed. Previous attempts: r97918, r97788.
Tested: clang debug bootstrap, llvm-gcc bootstrap, `make check-lit`
after configuring with --with-llvmgccdir (and this did run the
FrontendC* tests this time)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98410 91177308-0d34-0410-b5e6-96231b3b80d8
commit 8460da1b03c5138a9d5d4185e005e9da6de2bd47
Author: Jeffrey Yasskin <jyasskin@google.com>
Date: Sun Mar 21 21:17:34 2010 +0000
Move the LLVMContextImpl implementation into a .cpp file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99146 91177308-0d34-0410-b5e6-96231b3b80d8
commit 0b20bf7e5e79ec124f03ef11eb88be14b1b69162
Author: Jeffrey Yasskin <jyasskin@google.com>
Date: Sun Mar 21 22:08:41 2010 +0000
Re-add the Metadata.h include to LLVMContextImpl.h so that MDNode is complete
where FoldingSet<MDNode> is instantiated. Clang and MSVC complain; gcc
doesn't.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99147 91177308-0d34-0410-b5e6-96231b3b80d8
commit 77e427769a0c1dce88e3cc147aa00b2c0dd7f8dd
Author: Jeffrey Yasskin <jyasskin@google.com>
Date: Mon Mar 22 05:23:37 2010 +0000
Free all Constants in ~LLVMConstantImpl. We avoid assertion failures
by dropping all references from all constants that can use other
constants before trying to destroy any of them.
I also had to free bugpoint's Module in ~BugDriver().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99160 91177308-0d34-0410-b5e6-96231b3b80d8
commit 6dd22e9c0e8ba4e34a4a21574d66c03c004831bb
Author: Jeffrey Yasskin <jyasskin@google.com>
Date: Sat Mar 13 20:09:55 2010 +0000
Allow types that have been forwarded to to be freed.
Tested: make check-lit && valgrind --dsymutil=yes --leak-check=full unittests/ExecutionEngine/JIT/Debug/JITTests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98447 91177308-0d34-0410-b5e6-96231b3b80d8
* bytecode: (99 commits)
Update to autoconf 2.65, and libtool 2.2.6b.
Disable LLVM's make check for now.
Output trace messages to stderr, to ensure its flushed.
Support for bytecode lines >8k.
Print llvm's version too when printing clambc's.
Fix global initializer bitcasts.
Allow controlling trace level from cmdline.
Refactor trace API, so that trace printing happens in clambc.
Add support for null constant.
Trace formatting fixes.
Add support for tracing (if bytecode compiled with support).
Drop extra {} and "".
Fix compiler version check for C++: autoconf needs [] to be escaped.
change bytecode format to allow structs with more than 16 fields.
Fix after merge: update to fmap API.
Support for scanning files created by bytecode.
read optional debug metadata.
Sync headers with clamav bytecode compiler.
Print better error message when wrong function is called.
Update to new LLVM API.
...
Conflicts:
Makefile.am
Makefile.in
configure
configure.in
libclamav/Makefile.am
libclamav/Makefile.in
libclamav/pe.h
* master: (182 commits)
libclamav/qsort.c: fix CMP1 macro (bb#1769)
handle floating chars
libclamav/readdb.c: make sure static sigs with floating chars go into AC
sigtool: --decode-sigs: handle alternatives
sigtool: --decode-sigs: handle .ldb sigs
inflateinit spam
sigtool: --decode-sigs: handle .ndb sigs
fix sig printing
Set limit to 255 so that warning is shown if maxthreads*maxrec would exceed it.
Enable more than 256 FD support on Solaris (bb #1764).
fix memleaks
sigtool: --decode-sigs; decode .db entries (bb#1246)
fsk sxs, gimme back my dll hell!
Fix Solaris build: cli_hex2ui has to be added to libclamav.map
Don't error on unused functions.
sigtool: basic sig decoding
sigtool/sigtool.c: handle .ign2 files (bb#1625)
libclamav/qsort.c: don't call med3 when using internal cmp
win32: fix globbing
unify DUPMAX def
...
Conflicts:
.gitignore
Makefile.am
configure
libclamav/Makefile.in
libclamav/clamav.h
libclamav/disasm.c
libclamav/libclamav.map
libclamav/matcher.c
libclamav/others.c
libclamav/pe.c
libclamav/pe.h
libclamav/readdb.c