]> granicus.if.org Git - clang/commit
Implement GNU asm-label extension support in CodeGen. This fixes
authorDaniel Dunbar <daniel@zuster.org>
Wed, 6 Aug 2008 00:03:29 +0000 (00:03 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 6 Aug 2008 00:03:29 +0000 (00:03 +0000)
commita735ad8be5536a1cd3e9817ec27dfeb2a0c1d5ca
treed9efb169e1fb1120f263c8dd38fff1ce85f59a42
parentfd54ebcaaf9a165846fdfafb32362238458e7f2d
Implement GNU asm-label extension support in CodeGen. This fixes
scimark2 on Darwin.

 - Added Sema support for asm-label on variables, which I forgot before.

 - Update CodeGen to use GlobalDeclMap to determine if static Decls
   require emission (instead of LLVM module name lookup). Important
   since the Decl name and the LLVM module name can differ.

 - <rdar://problem/6116729>

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54388 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
lib/Sema/SemaDecl.cpp
test/CodeGen/2008-07-31-asm-labels.c [new file with mode: 0644]