summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-10-31 01:06:02 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-10-31 01:06:02 +0000
commit4e478fed1b8021150b1f2cec4e670068b6abd135 (patch)
treed49c35643077b1dfe49f8776a38ec63f24a20a9e /tools
parente7b05504faa86a5c0b80a62ddb60cbb0cf163d5d (diff)
downloadllvm-4e478fed1b8021150b1f2cec4e670068b6abd135.tar.gz
llvm-4e478fed1b8021150b1f2cec4e670068b6abd135.tar.bz2
llvm-4e478fed1b8021150b1f2cec4e670068b6abd135.tar.xz
Switch new .file directive emission off by default, change llc's flag for it to
-enable-dwarf-directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-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() &&