[all-commits] [llvm/llvm-project] 4542c1: [ELF] -r: don't parse @ (symbol versioning) for .s...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Jun 24 08:25:58 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4542c18ef295702b269204f83352b673c59e6542
https://github.com/llvm/llvm-project/commit/4542c18ef295702b269204f83352b673c59e6542
Author: Fangrui Song <maskray at google.com>
Date: 2020-06-24 (Wed, 24 Jun 2020)
Changed paths:
M lld/ELF/Driver.cpp
M lld/test/ELF/lto/version-script2.ll
Log Message:
-----------
[ELF] -r: don't parse @ (symbol versioning) for .symver inline asm in bitcode
Fixes PR46420
Similar to D43307 for non-LTO.
Module-level inline assembly can use .symver to create a symbol with `@` in the name.
For relocatable output, @ should be retained in the symbol name. `@ver` should
not be parsed and dropped.
Reviewed By: grimar, psmith
Differential Revision: https://reviews.llvm.org/D82433
More information about the All-commits
mailing list