diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-31 01:06:02 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-31 01:06:02 +0000 |
| commit | aab6169ef69df3344cb30d7e15e4ca3c0c50e73b (patch) | |
| tree | 8d37844c58df36e5a0eceb9eaf7279000bfa2a98 /llvm/tools | |
| parent | 237f5a07fac0895ba77e22d605cd825d9ba6ddd0 (diff) | |
| download | bcm5719-llvm-aab6169ef69df3344cb30d7e15e4ca3c0c50e73b.tar.gz bcm5719-llvm-aab6169ef69df3344cb30d7e15e4ca3c0c50e73b.zip | |
Switch new .file directive emission off by default, change llc's flag for it to
-enable-dwarf-directory.
llvm-svn: 143326
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llc/llc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/tools/llc/llc.cpp b/llvm/tools/llc/llc.cpp index 4cb3cf1cb96..be6afec20a0 100644 --- a/llvm/tools/llc/llc.cpp +++ b/llvm/tools/llc/llc.cpp @@ -133,8 +133,8 @@ cl::opt<bool> DisableDotLoc("disable-dot-loc", cl::Hidden, cl::opt<bool> DisableCFI("disable-cfi", cl::Hidden, cl::desc("Do not use .cfi_* directives")); -cl::opt<bool> DisableDwarfDirectory("disable-dwarf-directory", cl::Hidden, - cl::desc("Do not use file directives with an explicit directory.")); +cl::opt<bool> EnableDwarfDirectory("enable-dwarf-directory", cl::Hidden, + cl::desc("Use .file directives with an explicit directory.")); static cl::opt<bool> DisableRedZone("disable-red-zone", @@ -319,8 +319,8 @@ int main(int argc, char **argv) { if (DisableCFI) Target.setMCUseCFI(false); - if (DisableDwarfDirectory) - Target.setMCUseDwarfDirectory(false); + if (EnableDwarfDirectory) + Target.setMCUseDwarfDirectory(true); // Disable .loc support for older OS X versions. if (TheTriple.isMacOSX() && |

