commit | b6bed0bedd0dc82df5eb53e00446de7da46e3c85 | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Fri May 04 15:03:56 2012 +0800 |
committer | Shih-wei Liao <sliao@google.com> | Fri May 04 02:04:46 2012 -0700 |
tree | 5c0890f2733715c409959f75b2025e2d8f7bd4ad | |
parent | 67ae8ff80555a506f68abe3ad17195553725f2ca [diff] |
Manage llvm::TargetMachine with smart pointer. We should delete llvm::TargetMachine if we don't have to use it anymore; otherwise we will suffer from the memory leak. Change-Id: I776c3447b7e73531f2c99a3b082dfbeebcd4af22