diff options
| author | Daniel Jasper <djasper@google.com> | 2013-12-03 20:30:36 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-12-03 20:30:36 +0000 |
| commit | 88d8695ab40326d9fb168ba19ad084542b5dc428 (patch) | |
| tree | 0222202ee246681a868de98db94ccfed87daa79d /llvm/lib/CodeGen/MachineVerifier.cpp | |
| parent | 748fe483a0bdfbc6a584ef55d6281aaa5440bae1 (diff) | |
| download | bcm5719-llvm-88d8695ab40326d9fb168ba19ad084542b5dc428.tar.gz bcm5719-llvm-88d8695ab40326d9fb168ba19ad084542b5dc428.zip | |
Fix corner case in module-based layering warning.
Before, there SourceManager would not return a FileEntry for a
SourceLocation of a macro expansion (if the header name itself is
defined in a macro). We'd then fallback to assume that the module
currently being built is the including module. However, in this case we
are actually interested in the spelling location of the filename loc in
order to derive the including module.
llvm-svn: 196311
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions

