1. Don't emit .gnu_pubnames when tuning for LLDB. (details)
  2. [RISCV] Add Option for Printing Architectural Register Names (details)
Commit f987f561fadc35fb597ce821b2deeb005f40bd77 by Adrian Prantl
Don't emit .gnu_pubnames when tuning for LLDB.
LLDB reads the various .apple* accelerator tables (and in the near
future: the DWARF 5 accelerator tables) which should make
.gnu_pubnames redundant. This changes the Clang driver to no longer pass
-ggnu-pubnames when tuning for LLDB.
Thanks to David Blaikie for pointing this out!
Differential Revision:
llvm-svn: 371530
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/test/Driver/debug-options.c
Commit 6b877f6aac3d8e569e74953f0310323c2882619c by selliott
[RISCV] Add Option for Printing Architectural Register Names
Summary: This is an option primarily to use during testing. Instead of
always printing registers using their ABI names, this allows a user to
request they are printed with their architectural name.
This is then used in the register constraint tests to ensure the mapping
between architectural and abi names is correct.
Reviewers: asb, luismarques
Reviewed By: asb
Subscribers: pzheng, hiraditya, rbar, johnrusso, simoncook, apazos,
sabuasal, niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng,
edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, rkruppe, PkmX,
jocewei, psnobl, benna, Jim, s.egerton, llvm-commits
Tags: #llvm
Differential Revision:
llvm-svn: 371531
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp
The file was addedllvm/test/MC/RISCV/numeric-reg-names-f.s
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.h
The file was addedllvm/test/MC/RISCV/numeric-reg-names-d.s
The file was addedllvm/test/MC/RISCV/numeric-reg-names.s