This is an archive of the discontinued LLVM Phabricator instance.

Added support for building against Android API-9 SDK
ClosedPublic

Authored by vharron on May 3 2015, 9:23 PM.

Diff Detail

Event Timeline

vharron updated this revision to Diff 24871.May 3 2015, 9:23 PM
vharron retitled this revision from to Added support for building against Android API-9 SDK.
vharron updated this object.
vharron edited the test plan for this revision. (Show Details)
vharron added a reviewer: chandlerc.
vharron updated this revision to Diff 24872.May 3 2015, 9:26 PM

fixed comment

Should I submit this as is or create a

lib/Support/Math.h
lib/Support/Math.cpp

That just wraps log2 on most platforms and does the right thing on Android.

include/llvm/Support/Math.h

vharron added a subscriber: Unknown Object (MLST).May 5 2015, 4:44 PM
vharron updated this revision to Diff 25091.May 6 2015, 2:50 PM

created an abstraction for log2

Added llvm::Log2 in Support/MathExtras.h

Hid Android problems inside of it

vharron updated this object.May 6 2015, 5:07 PM
This revision was automatically updated to reflect the committed changes.