Add flags to toggle preservation of assembly comments
Summary: Add -fpreserve-as-comments and -fno-preserve-as-comments. Reviewers: echristo, rnk Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D22883 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@276907 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Driver/Options.td 3 additions, 0 deletionsinclude/clang/Driver/Options.td
- include/clang/Frontend/CodeGenOptions.def 1 addition, 0 deletionsinclude/clang/Frontend/CodeGenOptions.def
- lib/CodeGen/BackendUtil.cpp 1 addition, 0 deletionslib/CodeGen/BackendUtil.cpp
- lib/Driver/Tools.cpp 4 additions, 0 deletionslib/Driver/Tools.cpp
- lib/Frontend/CompilerInvocation.cpp 1 addition, 0 deletionslib/Frontend/CompilerInvocation.cpp
- test/CodeGen/preserve-as-comments.c 12 additions, 0 deletionstest/CodeGen/preserve-as-comments.c
Loading
Please register or sign in to comment