From a6d5464cfe40acd27a8395d3557b6db70068b593 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Sat, 2 Dec 2017 00:15:29 +0000 Subject: Add a symbols subcommand to lldb-test. Differential Revision: https://reviews.llvm.org/D40745 llvm-svn: 319599 --- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp') diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp index 597d80d3694..fc42dde8284 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -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 { -- cgit v1.2.3