commit | f74ee1940ac8e01c862e90de49eb10982648f6a1 | [log] [tgz] |
---|---|---|
author | Zonr Chang <zonr.net@gmail.com> | Thu Apr 12 15:34:58 2012 +0800 |
committer | Shih-wei Liao <sliao@google.com> | Thu Jul 12 22:13:55 2012 -0700 |
tree | 9cba196766b6ea26a926c314f71fb3790f5f67c7 | |
parent | 0f9cad99f9e3c4db42e9836cc0e316c3a84448f5 [diff] |
Introduce CompilerConfig. CompilerConfig defines the "attributes" of a Compiler. It contains target information, configuration, etc. to setup an instance of Compiler (more specifically, a instance of LLVM TargetMachine used by the compiler.) CompilerConfig together with bcc::init::Initialize() will replace current Compiler::GlobalInitialization(). Change-Id: I879b189632093de9bbef130eaa5e74502536951c