diff options
author | Fangrui Song <i@maskray.me> | 2021-03-09 12:14:12 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-03-09 12:14:12 -0800 |
commit | b4948c27d2e40586c0c4fa7cbf20b9c40a9f7584 (patch) | |
tree | 0f66f00d49759d8abd764c299dd31f909022049b /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | df67d3526962ae51446b1390e7c40e045e580ec2 (diff) | |
download | llvm-b4948c27d2e40586c0c4fa7cbf20b9c40a9f7584.zip llvm-b4948c27d2e40586c0c4fa7cbf20b9c40a9f7584.tar.gz llvm-b4948c27d2e40586c0c4fa7cbf20b9c40a9f7584.tar.bz2 |
Revert D97743 "Define __GCC_HAVE_DWARF2_CFI_ASM if applicable"
This reverts commit c11ff4bbada3b5127a1f010e0a97a1e6e46fb61a & df67d3526962ae51446b1390e7c40e045e580ec2.
Trying to make the change to the driver to avoid round-trip issues.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index bd02408..2606e9f 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -4355,11 +4355,6 @@ bool CompilerInvocation::CreateFromArgsImpl( Res.getCodeGenOpts().Argv0 = Argv0; Res.getCodeGenOpts().CommandLineArgs = CommandLineArgs; - if ((T.isOSBinFormatELF() || T.isOSBinFormatMachO()) && - (Res.getLangOpts()->Exceptions || Res.getCodeGenOpts().UnwindTables || - Res.getCodeGenOpts().getDebugInfo() != codegenoptions::NoDebugInfo)) - Res.getPreprocessorOpts().addMacroDef("__GCC_HAVE_DWARF2_CFI_ASM=1"); - Success &= FixupInvocation(Res, Diags, Args, DashX); return Success; |