File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -278,8 +278,8 @@ void SymbolTable::scanVersionScript() {
278
278
pat.isExternCpp , /* hasWildCard=*/ false },
279
279
id, ver, /* includeNonDefault=*/ true );
280
280
if (!found && !config->undefinedVersion )
281
- errorOrWarn (" version script assignment of '" + ver + " ' to symbol '" +
282
- pat.name + " ' failed: symbol not defined" );
281
+ warn (" version script assignment of '" + ver + " ' to symbol '" +
282
+ pat.name + " ' failed: symbol not defined" );
283
283
};
284
284
for (SymbolVersion &pat : v.nonLocalPatterns )
285
285
if (!pat.hasWildcard )
Original file line number Diff line number Diff line change 5
5
# RUN: not ld.lld --version-script %t.script -shared %t.o -o /dev/null \
6
6
# RUN: --fatal-warnings 2>&1 | FileCheck -check-prefix=ERR1 %s
7
7
# RUN: ld.lld --version-script %t.script -shared --undefined-version %t.o -o %t.so
8
- # RUN: not ld.lld --version-script %t.script -shared --no-undefined-version \
8
+ # RUN: ld.lld --version-script %t.script -shared --no-undefined-version \
9
9
# RUN: %t.o -o %t.so 2>&1 | FileCheck -check-prefix=ERR1 %s
10
10
# ERR1: version script assignment of 'VERSION_1.0' to symbol 'bar' failed: symbol not defined
11
11
12
12
# RUN: echo "VERSION_1.0 { global: und; };" > %t2.script
13
- # RUN: not ld.lld --version-script %t2.script -shared --no-undefined-version \
13
+ # RUN: ld.lld --version-script %t2.script -shared --no-undefined-version \
14
14
# RUN: %t.o -o %t.so 2>&1 | FileCheck -check-prefix=ERR2 %s
15
15
# ERR2: version script assignment of 'VERSION_1.0' to symbol 'und' failed: symbol not defined
16
16
17
17
# RUN: echo "VERSION_1.0 { local: und; };" > %t3.script
18
- # RUN: not ld.lld --version-script %t3.script -shared --no-undefined-version \
18
+ # RUN: ld.lld --version-script %t3.script -shared --no-undefined-version \
19
19
# RUN: %t.o -o %t.so 2>&1 | FileCheck -check-prefix=ERR3 %s
20
20
# ERR3: version script assignment of 'local' to symbol 'und' failed: symbol not defined
21
21
You can’t perform that action at this time.
0 commit comments