diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2020-08-02 22:41:02 +0200 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2020-08-02 22:41:02 +0200 |
commit | e6c2c9a7d15171a57c98024511eaa8885f1bd5fd (patch) | |
tree | 1a00562267120dad544e7995728f8b3e26bb1db5 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 64516ec7c1298a4cb16980db49c2f9466f0f3ab5 (diff) | |
download | llvm-e6c2c9a7d15171a57c98024511eaa8885f1bd5fd.zip llvm-e6c2c9a7d15171a57c98024511eaa8885f1bd5fd.tar.gz llvm-e6c2c9a7d15171a57c98024511eaa8885f1bd5fd.tar.bz2 |
[lldb] [test] Fix DW_TAG_GNU_call_site-DW_AT_low_pc.s relocation
I have made the DW_FORM_ref4 relative. One could also use relocated
DW_FORM_ref_addr instead.
Tested with:
echo 'void f(){}'|clang -o 1.o -c -Wall -g -x c -;./bin/clang -o 1 1.o ../llvm-monorepo/lldb/test/Shell/SymbolFile/DWARF/DW_TAG_GNU_call_site-DW_AT_low_pc.s;./bin/lldb --no-lldbinit ./1 -o r -o 'p p' -o exit
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions