1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/lib/Transforms
Keno Fischer 2e799f5e5e [Cloning] Clone every Function's Debug Info
Summary:
Export the CloneDebugInfoMetadata utility, which clones all debug info
associated with a function into the first module. Also use this function
in CloneModule on each function we clone (the CloneFunction entrypoint
already does this).

Without this, cloning a module will lead to DI quality regressions,
especially since r252219 reversed the Function <-> DISubprogram edge
(before we could get lucky and have this edge preserved if the
DISubprogram itself was, e.g. due to location metadata).

This was verified to fix missing debug information in julia and
a unittest to verify the new behavior is included.

Patch by Yichao Yu! Thanks!

Reviewers: loladiro, pcc
Differential Revision: http://reviews.llvm.org/D17165

llvm-svn: 260791
2016-02-13 02:04:29 +00:00
..
Hello Remove autoconf support 2016-01-26 21:29:08 +00:00
InstCombine [InstCombine] Don't aggressively replace xor with icmp 2016-02-12 18:12:38 +00:00
Instrumentation [msan] Put msan constructor in a comdat. 2016-02-12 00:37:52 +00:00
IPO [attrs] Simplify the convergent removal to directly use the pre-built 2016-02-12 09:47:49 +00:00
ObjCARC Add support for objc_unsafeClaimAutoreleasedReturnValue to the 2016-01-27 19:05:08 +00:00
Scalar [LIR] Allow merging of memsets in negatively strided loops. 2016-02-12 21:03:23 +00:00
Utils [Cloning] Clone every Function's Debug Info 2016-02-13 02:04:29 +00:00
Vectorize [SLP] Add debug output for extract cost (NFC) 2016-02-11 23:06:40 +00:00
CMakeLists.txt
LLVMBuild.txt