Skip to content
Commit ed0e88c3 authored by Tom Roeder's avatar Tom Roeder
Browse files

This patch fixes LTO's RecordStreamer so that it records symbols in the MCExpr

part of an asm .symver directive as being used. This prevents referenced
functions from being internalized and deleted.

Without the patch to LTOModule.cpp, the test case will produce the error:

LLVM ERROR: A @@ version cannot be undefined.

llvm-svn: 205221
parent 9e135ddd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment