Add a symbols subcommand to lldb-test.

Differential Revision: https://reviews.llvm.org/D40745

llvm-svn: 319599
This commit is contained in:
Zachary Turner
2017-12-02 00:15:29 +00:00
parent 2f1cb7ed82
commit a6d5464cfe
2 changed files with 36 additions and 1 deletions

View File

@@ -2764,6 +2764,14 @@ unsigned ObjectFileELF::ApplyRelocations(
case R_386_32:
case R_386_PC32:
default:
// FIXME: This asserts with this input:
//
// foo.cpp
// int main(int argc, char **argv) { return 0; }
//
// clang++.exe --target=i686-unknown-linux-gnu -g -c foo.cpp -o foo.o
//
// and running this on the foo.o module.
assert(false && "unexpected relocation type");
}
} else {