commit | 4ce024bcff99bb154f44a73f4cf6201a0fe75917 | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Wed Apr 25 03:40:50 2012 -0700 |
committer | Shih-wei Liao <sliao@google.com> | Wed Apr 25 03:40:50 2012 -0700 |
tree | 157e41635e70b0275966c2734d268b1fa1ce02fd | |
parent | c09dee62ae85df78e72f77900501a359f4a9fd99 [diff] |
Refactor SourceInfo into Source. A Script object is associated with a Source object (HAS-A relation.) A Source object describes the source code (more specifically, the LLVM module) that is going to be compiled. BCCContext contains the context used in a Source object. BCCContext is now managed by the user not the libbcc itself. That is, user should supply the context object when they create a Source object. Change-Id: Icb8980d6f15cf30aa0415e69e3ae585d990dc156