summaryrefslogtreecommitdiff
path: root/tools/llc/llc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llc/llc.cpp')
-rw-r--r--tools/llc/llc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 4cb3cf1cb9..be6afec20a 100644
--- a/tools/llc/llc.cpp
+++ b/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() &&