diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-02-28 00:13:13 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-02-28 00:13:13 +0000 |
| commit | cd187f033e9cc5b4904be20a47041763fbbc95e8 (patch) | |
| tree | 195f1b0bf38f412fe5778511afb2930773bef02a /llvm/lib/Transforms | |
| parent | b2e16973df700ed1f18c9ab38bd5f8c113801832 (diff) | |
| download | bcm5719-llvm-cd187f033e9cc5b4904be20a47041763fbbc95e8.tar.gz bcm5719-llvm-cd187f033e9cc5b4904be20a47041763fbbc95e8.zip | |
DebugInfo: hoist definition into global context when needed
When generating debug info for a static inline member which is initialized for
the DLLExport storage class, hoist the definition into a non-composite type
context. Otherwise, we would trigger an assertion when generating the DIE for
the associated global value as the debug context has a type association. This
addresses PR22669.
Thanks to David Blakie for help in coming up with a solution to this!
llvm-svn: 230816
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

