diff options
| author | Yunzhong Gao <Yunzhong.Gao@sony.com> | 2016-07-18 18:44:51 +0000 |
|---|---|---|
| committer | Yunzhong Gao <Yunzhong.Gao@sony.com> | 2016-07-18 18:44:51 +0000 |
| commit | cfabff3f46367c29b7e5f3ef592369c90bbc3247 (patch) | |
| tree | 1734c0c2603a6b068843b9609490cfae695acb1d /lib/Serialization/ModuleFileExtension.cpp | |
| parent | 05b45f1569b5545e98340247c53095134e266be3 (diff) | |
| download | clang-cfabff3f46367c29b7e5f3ef592369c90bbc3247.tar.gz | |
Support -masm= flag for x86 assembly targets.
For assembly files without .intel_syntax or .att_syntax directives, allow the
-masm= flag to supply a default assembly dialect. For example,
C:\TMP> type intel.s
.text
mov al,0
C:\TMP> clang -masm=intel -c intel.s
Without this patch, one would need to pass an "-mllvm -x86-asm-syntax=" flag
directly to the backend.
C:\TMP> clang -mllvm --x86-asm-syntax=intel -c intel.s
Differentials Review: http://reviews.llvm.org/D22285
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275877 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions
