diff options
author | Rui Ueyama <ruiu@google.com> | 2014-10-22 00:05:30 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-10-22 00:05:30 +0000 |
commit | 875301b2c457dab401bd89dc01a734e1985373a9 (patch) | |
tree | 7cf4a3a288917137584fec2f8a538134ee20f9fb /lld/test/pecoff/Inputs/export.obj.yaml | |
parent | 0b39fc0d16013404f86c9a026ff5535aac18c057 (diff) | |
download | bcm5719-llvm-875301b2c457dab401bd89dc01a734e1985373a9.tar.gz bcm5719-llvm-875301b2c457dab401bd89dc01a734e1985373a9.zip |
[PECOFF] Do not write duplicate directives to .def file.
This is a follow-up patch for r220333. r220333 renames exported symbols.
That raised another issue; if we have both decorated and undecorated names
for the same symbol, we'll end up have two duplicate exported symbol
entries.
This is a fix for that issue by removing duplciate entries.
llvm-svn: 220350
Diffstat (limited to 'lld/test/pecoff/Inputs/export.obj.yaml')
-rw-r--r-- | lld/test/pecoff/Inputs/export.obj.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/pecoff/Inputs/export.obj.yaml b/lld/test/pecoff/Inputs/export.obj.yaml index 5959906322f..fa92cd09bee 100644 --- a/lld/test/pecoff/Inputs/export.obj.yaml +++ b/lld/test/pecoff/Inputs/export.obj.yaml @@ -10,7 +10,7 @@ sections: - Name: .drectve Characteristics: [ IMAGE_SCN_LNK_INFO, IMAGE_SCN_LNK_REMOVE ] Alignment: 2147483648 - SectionData: 2f6578706f72743a6578706f7274666e334032353600 # /export:exportfn3@256 + SectionData: 2f6578706f72743a5f6578706f7274666e334032353600 # /export:_exportfn3@256 symbols: - Name: .text Value: 0 @@ -42,7 +42,7 @@ symbols: SimpleType: IMAGE_SYM_TYPE_NULL ComplexType: IMAGE_SYM_DTYPE_NULL StorageClass: IMAGE_SYM_CLASS_EXTERNAL - - Name: exportfn3@256 + - Name: _exportfn3@256 Value: 16 SectionNumber: 1 SimpleType: IMAGE_SYM_TYPE_NULL |