extra module asm directives?
| Bugzilla Link | 10415 |
| Resolution | FIXED |
| Resolved on | Jul 23, 2011 15:04 |
| Version | trunk |
| OS | All |
Extended Description
Seems a bit weird.
For the test case 2006-01-23-FileScopeAsm.c:
[yendi:clang/test/CodeGen] echristo% clang -S -emit-llvm -o - 2006-01-23-FileScopeAsm.c ; ModuleID = '2006-01-23-FileScopeAsm.c' target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-apple-macosx10.7.0"
module asm "foo1" module asm "" module asm "foo2" module asm "" module asm "foo3" module asm "" module asm "foo4" module asm "" module asm "foo5"
[yendi:clang/test/CodeGen] echristo% llvm-gcc -S -emit-llvm -o - 2006-01-23-FileScopeAsm.c ; ModuleID = '2006-01-23-FileScopeAsm.c' target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-apple-darwin11.0"
module asm "foo1" module asm "foo2" module asm "foo3" module asm "foo4" module asm "foo5"
Fixed in r135862, thanks for noticing!