Turn on hashing by default for split dwarf compile units.
authorEric Christopher <echristo@gmail.com>
Wed, 12 Mar 2014 17:14:43 +0000 (17:14 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 12 Mar 2014 17:14:43 +0000 (17:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203680 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/fission-hash.ll

index a9c31ad7978528e24b0ee62fb32a85b259644e67..e4ec6e7e40e201763f8e75f7c66e85e0933d634c 100644 (file)
@@ -62,7 +62,7 @@ static cl::opt<bool> UnknownLocations(
 
 static cl::opt<bool> GenerateCUHash("generate-cu-hash", cl::Hidden,
                                     cl::desc("Add the CU hash as the dwo_id."),
-                                    cl::init(false));
+                                    cl::init(true));
 
 static cl::opt<bool>
 GenerateGnuPubSections("generate-gnu-dwarf-pub-sections", cl::Hidden,
index ff6cf26db3b146d53ea5a4ddb115b6a4eec7691f..3987faaf9716d22987d7e2cb30fd2b96df923cc9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -split-dwarf=Enable -generate-cu-hash -O0 %s -mtriple=x86_64-unknown-linux-gnu -filetype=obj -o %t
+; RUN: llc -split-dwarf=Enable -O0 %s -mtriple=x86_64-unknown-linux-gnu -filetype=obj -o %t
 ; RUN: llvm-dwarfdump -debug-dump=all %t | FileCheck %s
 
 ; The source is an empty file.