llvm-project/llvm/lib
Diego Novillo 7732ae4a4f Fix memory leak in sample profile pass.
The problem here were the function analyses invoked by the function pass
manager from the new IPO pass. I looked at other IPO passes needing
dominance information and the only one that requires it (partial
inliner) does not use the standard dependency mechanism.

This patch mimics what the partial inliner does to compute dominance,
post-dominance and loop info. One thing I like about this approach is
that I can delay the computation of all this until I actually need it.

This should bring the ASAN buildbot back to green. If there's a better
way to fix this, I'll do it in a follow-up patch.

llvm-svn: 246066
2015-08-26 20:00:27 +00:00
..
Analysis [WinEH] Require token linkage in EH pad/ret signatures 2015-08-23 00:26:33 +00:00
AsmParser [WinEH] Require token linkage in EH pad/ret signatures 2015-08-23 00:26:33 +00:00
Bitcode [IR] Cleanup EH instructions a little bit 2015-08-23 19:22:31 +00:00
CodeGen FastISel: Factor out common code; NFC intended 2015-08-26 01:38:00 +00:00
DebugInfo [dwarfdump] Do not apply relocations in mach-o files if there is no LoadedObjectInfo. 2015-08-23 04:44:21 +00:00
ExecutionEngine [RuntimeDyld] Make sure code-sections aren't under-aligned. 2015-08-14 06:26:42 +00:00
Fuzzer Fix missing space in libfuzzer's help text. 2015-08-12 20:00:10 +00:00
IR fix typos; NFC 2015-08-24 23:20:16 +00:00
IRReader Return a unique_ptr from getLazyBitcodeModule and parseBitcodeFile. NFC. 2015-06-16 22:27:55 +00:00
LTO LTO: Simplify merged module ownership. 2015-08-24 22:22:53 +00:00
LibDriver There is only one saver of strings. 2015-08-13 01:07:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker Linker: Remove empty destructor. 2015-08-21 04:51:24 +00:00
MC [MC] Split the layout part of MCAssembler::finish() into its own method. NFC. 2015-08-26 05:09:49 +00:00
Object [MachO] Move trivial accessors to header. 2015-08-25 18:27:59 +00:00
Option Add an ArgList::AddAllArgs that accepts a vector of OptSpecifier. 2015-07-29 17:34:41 +00:00
Passes [PM/AA] Remove the last relics of the separate IPA library from LLVM, 2015-08-18 17:51:53 +00:00
ProfileData Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
Support Expose more properties of llvm::fltSemantics 2015-08-26 02:32:45 +00:00
TableGen TableGen: Support folding casts from bits to int 2015-07-31 01:12:06 +00:00
Target Revert "Fix LLVM C API for DataLayout" 2015-08-26 19:24:59 +00:00
Transforms Fix memory leak in sample profile pass. 2015-08-26 20:00:27 +00:00
CMakeLists.txt LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00
LLVMBuild.txt Wrap some long lines in LLVMBuild files. NFC 2015-06-12 18:44:57 +00:00
Makefile LibDriver, llvm-lib: introduce. 2015-06-09 21:50:22 +00:00