diff options
| author | Kevin Enderby <enderby@apple.com> | 2011-11-01 23:39:05 +0000 |
|---|---|---|
| committer | Kevin Enderby <enderby@apple.com> | 2011-11-01 23:39:05 +0000 |
| commit | 82ed3be1fb92beacc57195fa0e00ccd2ae7f986c (patch) | |
| tree | 1db151eb2f87e6e5c626bb8066fb671753839edf /llvm/lib/MC/MCDisassembler/EDOperand.h | |
| parent | fc89c142d3e53c430558ea18e435813e14ebe8ac (diff) | |
| download | bcm5719-llvm-82ed3be1fb92beacc57195fa0e00ccd2ae7f986c.tar.gz bcm5719-llvm-82ed3be1fb92beacc57195fa0e00ccd2ae7f986c.zip | |
Fixed a bug in the code to create a dwarf file and directory table entires when
it is separating the directory part from the basename of the FileName. Noticed
that this:
.file 1 "dir/foo"
when assembled got the two parts switched. Using the Mac OS X dwarfdump tool
it can be seen easily:
% dwarfdump -a a.out
include_directories[ 1] = 'foo'
Dir Mod Time File Len File Name
---- ---------- ---------- ---------------------------
file_names[ 1] 1 0x00000000 0x00000000 dir
...
Which should be:
...
include_directories[ 1] = 'dir'
Dir Mod Time File Len File Name
---- ---------- ---------- ---------------------------
file_names[ 1] 1 0x00000000 0x00000000 foo
llvm-svn: 143521
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/EDOperand.h')
0 files changed, 0 insertions, 0 deletions

