Analysis Groups in Mainline LLVM

Dear All,

What is the appropriate way to create analysis groups when using mainline LLVM? Following the directions in the "Writing an LLVM Pass" doesn't appear to work, and the INITIALIZE_ANALYSIS_GROUP() and INITIALIZE_AG_PASS() macros seem to each call a function defined by the other.

-- John T.