TargetMachine Information in PassManagerBuilder

Hi Everyone,

Is there any way to read TargetMachine Information in PassManagerBuilder? I need the target triple information to disable SROA pass.