diff options
| author | Eric Christopher <echristo@gmail.com> | 2014-05-21 00:00:03 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2014-05-21 00:00:03 +0000 |
| commit | 3cdece9233fd40d5506d0b2dc2910ac341cc1663 (patch) | |
| tree | 59231669e43858c6b47cb19182603c056b7a0641 /lib/CodeGen | |
| parent | 18ab7ee396d8ad7119b24ae0b60f77b1207e67b8 (diff) | |
| download | clang-3cdece9233fd40d5506d0b2dc2910ac341cc1663.tar.gz clang-3cdece9233fd40d5506d0b2dc2910ac341cc1663.tar.bz2 clang-3cdece9233fd40d5506d0b2dc2910ac341cc1663.tar.xz | |
Update for paired llvm commit with AsmVerbose.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
| -rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 16a8c0efa4..4e08780ad9 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -370,12 +370,6 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { return 0; } - // FIXME: Expose these capabilities via actual APIs!!!! Aside from just - // being gross, this is also totally broken if we ever care about - // concurrency. - - TargetMachine::setAsmVerbosityDefault(CodeGenOpts.AsmVerbose); - unsigned CodeModel = llvm::StringSwitch<unsigned>(CodeGenOpts.CodeModel) .Case("small", llvm::CodeModel::Small) @@ -495,6 +489,7 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels; Options.MCOptions.MCUseDwarfDirectory = !CodeGenOpts.NoDwarfDirectoryAsm; Options.MCOptions.MCNoExecStack = CodeGenOpts.NoExecStack; + Options.MCOptions.AsmVerbose = CodeGenOpts.AsmVerbose; TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU, FeaturesStr, Options, |
