commit | f1d74b3e28f2993f25d39ce19a9f84322206feb2 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Thu May 26 20:33:37 2016 +0000 |
committer | Lang Hames <lhames@gmail.com> | Thu May 26 20:33:37 2016 +0000 |
tree | 2a01b7d41cfd55c9708ee568310f5b07e62b6483 | |
parent | a5cefffc33b695313013a8763ffb67ae0f41b6cb [diff] |
[Orc] Don't create empty globals modules in the CompileOnDemandLayer. Global variables and aliases are emitted eagerly, but there may not be any in the incoming module. In that case, we can save some memory and compile time by not building, emitting and tracking an empty globals module. llvm-svn: 270908