19.01.2015 Views

Build Programming Language Runtime with LLVM

Build Programming Language Runtime with LLVM

Build Programming Language Runtime with LLVM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>LLVM</strong> in Google Android 3.0 SDK<br />

$ ./llvm­rs­cc ­­help<br />

OVERVIEW: RenderScript source compiler<br />

USAGE: llvm­rs­cc [options] <br />

• OPTIONS:<br />

­I Add directory to include search path<br />

­additional­dep­target <br />

Additional targets to show up in dependencies output<br />

­allow­rs­prefix Allow user­defined function prefixed <strong>with</strong> 'rs'<br />

­bitcode­storage <br />

should be 'ar' or 'jc'<br />

­emit­asm<br />

Emit target assembly files<br />

­emit­bc<br />

<strong>Build</strong> ASTs then convert to <strong>LLVM</strong>, emit .bc file<br />

­emit­llvm<br />

<strong>Build</strong> ASTs then convert to <strong>LLVM</strong>, emit .ll file<br />

­emit­nothing<br />

<strong>Build</strong> ASTs then convert to <strong>LLVM</strong>, but emit nothing<br />

­help<br />

Print this help text<br />

­java­reflection­package­name <br />

Specify the package name that reflected Java files belong to<br />

­java­reflection­path­base <br />

Base directory for output reflected Java files<br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!