mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
16fb1d2906
Again, the Microsoft linker does not like empty substreams. We still emit an empty string table if CodeView is enabled, but that doesn't cause problems because it always contains at least one null byte. llvm-svn: 272183
14 lines
502 B
ArmAsm
14 lines
502 B
ArmAsm
# RUN: llvm-mc -filetype=obj -triple i686-pc-win32 < %s | llvm-readobj -codeview - | FileCheck %s
|
|
.text
|
|
.section .debug$S,"dr"
|
|
.p2align 2
|
|
.long 4 # Debug section magic
|
|
.cv_filechecksums # File index to string table offset subsection
|
|
.cv_stringtable # String table
|
|
|
|
# CHECK: CodeViewDebugInfo [
|
|
# CHECK: Section: .debug$S (4)
|
|
# CHECK: Magic: 0x4
|
|
# CHECK-NOT: FileChecksum
|
|
# CHECK: ]
|