move getNameWithPrefix and getSymbol to TargetMachine.

Description

move getNameWithPrefix and getSymbol to TargetMachine.

TargetLoweringBase is implemented in CodeGen, so before this patch we had
a dependency fom Target to CodeGen. This would show up as a link failure of
llvm-stress when building with -DBUILD_SHARED_LIBS=ON.

This fixes pr18900.

Details

Committed
rafaelFeb 19 2014, 12:30 PM
Parents
rL201710: Restore the ability of SBFrame::FindValue() to look for file global variables
Branches
Unknown
Tags
Unknown