mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
0acac7750e
Microsoft PE/COFF Spec clearly states that the field is of signed interger type. However, in reality, it's unsigned. If cl.exe needs to create a large number of sections for COMDAT sections, it will just create more than 32768 sections. Handling large section number as negative number is not correct. I think this is a spec bug. Differential Revision: http://llvm-reviews.chandlerc.com/D3088 llvm-svn: 203986
15 lines
378 B
ArmAsm
15 lines
378 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | llvm-readobj -t | FileCheck %s
|
|
|
|
"@feat.00" = 123
|
|
.globl @feat.00
|
|
|
|
// CHECK: Symbol {
|
|
// CHECK: Name: @feat.00
|
|
// CHECK: Value: 123
|
|
// CHECK: Section: (65535)
|
|
// CHECK: BaseType: Null (0x0)
|
|
// CHECK: ComplexType: Null (0x0)
|
|
// CHECK: StorageClass: External (0x2)
|
|
// CHECK: AuxSymbolCount: 0
|
|
// CHECK: }
|