diff options
author | Tom Roeder <tmroeder@google.com> | 2014-03-31 16:59:13 +0000 |
---|---|---|
committer | Tom Roeder <tmroeder@google.com> | 2014-03-31 16:59:13 +0000 |
commit | ed0e88c31ab2a57b5540b93621637b86903ee101 (patch) | |
tree | 1ec4009c3513b3d11643051540f2b25b420fb939 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 9e135ddd1daadd152f738ecaf3ad89e4fc629604 (diff) | |
download | llvm-ed0e88c31ab2a57b5540b93621637b86903ee101.zip llvm-ed0e88c31ab2a57b5540b93621637b86903ee101.tar.gz llvm-ed0e88c31ab2a57b5540b93621637b86903ee101.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions