summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-12-02 00:15:29 +0000
committerZachary Turner <zturner@google.com>2017-12-02 00:15:29 +0000
commita6d5464cfe40acd27a8395d3557b6db70068b593 (patch)
treebf1edcf3efb1a1462be0628661c2922103eda471 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent2f1cb7ed82e2e377008de69fc2c6916ce9cac8f3 (diff)
downloadbcm5719-llvm-a6d5464cfe40acd27a8395d3557b6db70068b593.tar.gz
bcm5719-llvm-a6d5464cfe40acd27a8395d3557b6db70068b593.zip
Add a symbols subcommand to lldb-test.
Differential Revision: https://reviews.llvm.org/D40745 llvm-svn: 319599
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp8
1 files changed, 8 insertions, 0 deletions
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 {
OpenPOWER on IntegriCloud