diff options
author | Pavel Labath <pavel@labath.sk> | 2019-05-29 11:28:35 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-05-29 11:28:35 +0000 |
commit | 377c1cfe9495810f8416c626103708340e2a0038 (patch) | |
tree | 390293819220d0251c3a1ffe5e90446674a04418 /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 72e05d0aa4ff192c75e5e0137aec377ae5cd2a9b (diff) | |
download | llvm-377c1cfe9495810f8416c626103708340e2a0038.zip llvm-377c1cfe9495810f8416c626103708340e2a0038.tar.gz llvm-377c1cfe9495810f8416c626103708340e2a0038.tar.bz2 |
Revert "D11003: Tolerate DWARF compile unit without filename."
Summary:
This code is modifying a support file list after it has been created.
This makes it hard to share the file list between type units and
compile units in DWARF. It's not a total showstopper, but supporting
this while also sharing the lists would make things more complicated.
Given that this was added to support a project which never fully
materialised, and that even back then there were some concerns about the
correctness of this approach (according to D11003#200772 the compile
unit name is not guaranteed to be the first one in the support file
list), I think we should just delete this workaround.
Reviewers: clayborg, tberghammer, dsrbecky
Subscribers: aprantl, lldb-commits
Differential Revision: https://reviews.llvm.org/D62517
llvm-svn: 361948
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions