Skip to content

Commit

Permalink
[SOL] Adjust rust alloc routines declarations for Library Info test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed Oct 29, 2021
1 parent 5687133 commit 57a0303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,9 +592,9 @@ TEST_F(TargetLibraryInfoTest, ValidProto) {
"declare void @__kmpc_free_shared(i8*, i64)\n"

// rust memory management
"declare i8* @__rust_alloc(i64, i64, i8*)\n"
"declare i8* @__rust_alloc(i64, i64)\n"
"declare void @__rust_dealloc(i8*, i64, i64)\n"
"declare i8* @__rust_realloc(i8*, i64, i64, i64, i64, i8*)\n"
"declare i8* @__rust_realloc(i8*, i64, i64, i64)\n"
);

for (unsigned FI = 0; FI != LibFunc::NumLibFuncs; ++FI) {
Expand Down

0 comments on commit 57a0303

Please sign in to comment.