aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-02-17 20:02:32 +0000
committerEric Christopher <echristo@gmail.com>2015-02-17 20:02:32 +0000
commita49d68e0784c46c42b8668e7b7def4caa7cf0778 (patch)
tree2b9c8cf3c04261534d4a25b6b48e99f9cc75ccfe /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentffc5ff32d1c008c629f4cc585e61b1b111f50b83 (diff)
downloadllvm-a49d68e0784c46c42b8668e7b7def4caa7cf0778.zip
llvm-a49d68e0784c46c42b8668e7b7def4caa7cf0778.tar.gz
llvm-a49d68e0784c46c42b8668e7b7def4caa7cf0778.tar.bz2
Make the ARM AsmPrinter independent of global subtarget
initialization. Initialize the subtarget once per function and migrate Emit{Start|End}OfAsmFile to either use attributes on the TargetMachine or get information from the subtarget we'd use for assembling. One bit (getISAEncoding) touched the general AsmPrinter and the debug output. Handle this one by passing the function for the subprogram down and updating all callers and users. The top-level-ness of the ARM attribute output for assembly is, by nature, contrary to how we'd want to do this for an LTO situation where we have multiple cpu architectures so this solution is good enough for now. llvm-svn: 229528
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions