llvm-project/llvm/lib
Teresa Johnson 5fe40050bd [IRMover] Don't copy personality, etc unless creating def
Function::copyAttributesFrom will copy the personality function, prefix
data and prolog data from the source function to the new function, and
is invoked when the IRMover copies the function prototype. This puts a
reference to a constant in the source module on a function in the dest
module, which causes an error when deleting the source module after
importing, since the personality function in the source module still has
uses (this would presumably also be an issue for the prologue and prefix
data). Remove the copies added to the dest copy when creating the new
prototype, as they are mapped properly when/if we link the function body.

llvm-svn: 257420
2016-01-12 00:24:24 +00:00
..
Analysis getParent()->getParent() == getFunction() and clang-format ; NFC 2016-01-11 22:24:35 +00:00
AsmParser Implemented Support of IA interrupt and exception handlers: 2015-12-21 14:07:14 +00:00
Bitcode Bitcode: Fix reading and writing of ConstantDataVectors of halfs 2016-01-06 22:31:32 +00:00
CodeGen [NFC] Fix whitespace. 2016-01-11 19:17:36 +00:00
DebugInfo fixing type. 2016-01-09 00:31:56 +00:00
ExecutionEngine [LLI] Replace the LLI remote-JIT support with the new ORC remote-JIT components. 2016-01-11 16:35:55 +00:00
Fuzzer [libFuzzer] debug prints in tracing 2016-01-09 03:46:08 +00:00
IR Split resolveCycles(bool AllowTemps) into two interfaces and document 2016-01-11 21:37:41 +00:00
IRReader [ThinLTO] Metadata linking for imported functions 2015-12-17 17:14:09 +00:00
LTO [attrs] Split the late-revisit pattern for deducing norecurse in 2016-01-08 10:55:52 +00:00
LibDriver [Option] Use an ArrayRef to store the Option Infos in OptTable. NFC 2015-10-21 16:30:42 +00:00
LineEditor
Linker [IRMover] Don't copy personality, etc unless creating def 2016-01-12 00:24:24 +00:00
MC [WebAssembly] Define WebAssembly-specific relocation codes. 2016-01-11 23:38:05 +00:00
Object Handle archives with paths in the names. 2015-12-18 16:07:17 +00:00
Option Convert Arg, ArgList, and Option to dump() to dbgs() rather than errs(). 2015-12-18 18:55:26 +00:00
Passes [attrs] Extract the pure inference of function attributes into 2015-12-27 08:41:34 +00:00
ProfileData Move coveragemap_error enum into coverage namespace and InstrProf.h /NFC 2016-01-10 21:56:33 +00:00
Support Avoid the deprecated GetVersionEx API 2016-01-11 23:33:03 +00:00
TableGen [TableGen] Use some free space in Init to store the opcode for UnOpInit/BinOpInit/TernOpInit allowing those types to be a little smaller. NFC 2016-01-04 06:28:49 +00:00
Target CXX_FAST_TLS calling convention: Add support for ARM on Darwin. 2016-01-11 23:50:43 +00:00
Transforms [LibCallSimplifier] use instruction-level fast-math-flags to transform log calls 2016-01-11 23:31:48 +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